Name/Path Formats

Accounts and reports are identified by name, to be backward compatible with the method used by the original NewViews for DOS IMPORT procedure.

A modern NewViews database is likely sub-foldered (i.e. reports have sub-reports, accounts have sub-accounts, and journals have sub-journals). These objects must be identified by a full path. Three examples are:

/REPORT/FS/BS is the path of a Balance Sheet in the Financial Statements folder of the root report.
/ACCOUNT/BANK/CANADA/CIBC
/JOURNAL/GENERAL/IMPORTS/RENT

Example Report Folder Hierarchy

@HOMEHOME(ASCII):REPT,SEC,DESC
"/REPORT/111","","Report 111"
"/REPORT/222","","Report 222",""
"/REPORT/111/333","","Report 333"
"/REPORT/111/444","","Report 444"
"/REPORT/111/333/555","","Report 555"
"/REPORT/111/444/666","","Report 666"

Example Account Folder Hierarchy

@REPTSETP(ASCII):REPT,DESC,COL,UL,ACCT,NB,TOTTO1,TOTTO2,FOLDER
"AR_TREE","Total All Receivables",3,"","/ACCOUNT/AR/TAR","D","","1200","folder"
"AR_TREE","Total Retail Receivables",2,"","/ACCOUNT/AR/TAR/TR-AR","D","","","folder"
"AR_TREE","Total Government Receivables",2,"","/ACCOUNT/AR/TAR/TG-AR","D","","","folder"
"AR_TREE","Ahead Computer Consultants",1,"","/ACCOUNT/AR/TAR/TR-AR/AHEAD","D","","",""
"AR_TREE","K-Nine Emporium",1,"","/ACCOUNT/AR/TAR/TR-AR/KNINE","D","","",""
"AR_TREE","Linear Electronics",1,"","/ACCOUNT/AR/TAR/TR-AR/LINEAR","D","","",""
"AR_TREE","Olson Valley Conservation Grp",1,"","/ACCOUNT/AR/TAR/TG-AR/OLSON","D","","",""
"AR_TREE","Provincial Waste Management",1,"","/ACCOUNT/AR/TAR/TG-AR/PWM","D","","",""
"AR_TREE","Tex Oil Corporation",1,"","/ACCOUNT/AR/TAR/TG-AR/TEX","D","","",""

Example Report and Account Folder Hierarchies

@REPTSETP(ASCII):REPT,DESC,COL,UL,ACCT,NB,TOTTO1,TOTTO2,FOLDER
"/REPORT/222","Total All Receivables",3,"","/ACCOUNT/AR/TAR","D","","1200","folder"
"/REPORT/222","Total Retail Receivables",2,"","/ACCOUNT/AR/TAR/TR-AR","D","","","folder"
"/REPORT/222","Total Government Receivables",2,"","/ACCOUNT/AR/TAR/TG-AR","D","","","folder"
"/REPORT/111/333/555","Ahead Computer Consultants",1,"","/ACCOUNT/AR/TAR/TR-AR/AHEAD","D","","",""
"/REPORT/111/333/555","K-Nine Emporium",1,"","/ACCOUNT/AR/TAR/TR-AR/KNINE","D","","",""
"/REPORT/111/333/555","Linear Electronics",1,"","/ACCOUNT/AR/TAR/TR-AR/LINEAR","D","","",""
"/REPORT/111/444/666","Olson Valley Conservation Grp",1,"","/ACCOUNT/AR/TAR/TG-AR/OLSON","D","","",""
"/REPORT/111/444/666","Provincial Waste Management",1,"","/ACCOUNT/AR/TAR/TG-AR/PWM","D","","",""
"/REPORT/111/444/666","Tex Oil Corporation",1,"","/ACCOUNT/AR/TAR/TG-AR/TEX","D","","",""

Example Transaction with Journal Path and Account Paths

@ACCTLEDG(ASCII):JOURNAL,ACCT,DATE(-1),REF,DESC,AMT,XACCT,REC,XDESC,DNOTE,KEY
"/JOURNAL/GENERAL/IMPORTS/RENT","/ACCOUNT/AR/AHEAD",26012004," 1115","Invoice",6825.00,"/ACCOUNT/SALES/SALES-CA/CRENT","04-0221","Monthly lease fees","","0"
"/JOURNAL/GENERAL/IMPORTS/RENT","/ACCOUNT/AR/AHEAD",26012004," 1115","Invoice",936.40,"/ACCOUNT/GENERAL/PST","04-0221","8%","","0"
"/JOURNAL/GENERAL/IMPORTS/RENT","/ACCOUNT/AR/AHEAD",26012004," 1115","Invoice",819.35,"/ACCOUNT/GENERAL/GST","04-0221","7%","","0"


Copyright (c) 2003-2025 Q.W.Page Associates Inc., All Rights Reserved.