System Codes


In the section, all codes should be typed in the Note field. Each line is delimited by a carriage return. A second section, at the bottom of this page, lists codes that use other fields than just the Note field. For each code, a GENRE tag can be used to customize program operations and reporting layouts. These tags usually have long list of explanations and are thus placed in a separate page.

Code

Exemplary Tag Values

Explanations

ASSETCLASS01 Short name: 其他 01-89. You can define: 其他, 房屋, 工廠, 家具, 車輪, 土地, 等等.
ASSETCLASS90 Short name: 土地 Reserve 90-99 for lands, which have no depreciations.
GL5-COMMON-SOURCES 10 = Invoice
12 = Debit note
14 = S/C
20 = R/D
22 = Credit note
24 = P/O
99 = Other
 
GL5-VOUCHER-NO Up to 15 characters. In short name field. Serial voucher no. - general
GL5-VOUCHER-NO-AR Up to 15 characters. In short name field. Serial voucher no. - accounts payable
GL5-VOUCHER-NO-AP Up to 15 characters. In short name field. Serial voucher no. - accounts receivable
GL5-VOUCHER-NO-NOTE Up to 15 characters. In short name field. Serial voucher no. - notes payable/receivable
GL5-VOUCHER-NO-DEPOSIT Up to 15 characters. In short name field. Serial voucher no. - deposits/withdrawals
GL5-VOUCHER-NO-PAYROLL Up to 15 characters. In short name field. Serial voucher no. - payroll
GL5-VOUCHER-NO-INVENTORY Up to 15 characters. In short name field. Serial voucher no. - inventory
GL5GL10-GENRE ACCOUNT-CLASS-01 = 100-139-DR-11410
ACCOUNT-CLASS-02 = 140-179-DR-11412
ACCOUNT-CLASS-03 = 180-199-DR-11414
ACCOUNT-CLASS-04 = 200-239-CR-11416
ACCOUNT-CLASS-05 = 240-279-CR-11418
ACCOUNT-CLASS-06 = 280-299-CR-11420
ACCOUNT-CLASS-07 = 300-399-CR-11422
ACCOUNT-CLASS-08 = 400-449-CR-11310
ACCOUNT-CLASS-09 = 450-459-DR-11312
ACCOUNT-CLASS-10 = 500-599-DR-11314
ACCOUNT-CLASS-11 = 600-699-DR-11316
ACCOUNT-CLASS-12 = 700-799-CR-11318
ACCOUNT-CLASS-13 = 800-899-DR-11320
ACCOUNT-CLASS-CASH = 100-1019-DR-11330
DESC-TEMPLATE-COMMON = %1%: %7% %8% (%5%). %21%. %9%
DESC-TEMPLATE-DEPOSIT = 帳戶編號 %6%: %7% %8% (%1%). %21%. %9%
DESC-TEMPLATE-DRCRNOTE = %1%: %6% %7% %8% %21
DESC-TEMPLATE-FIXEDASSET = 資產編號: %5% %7%. %16%. %17%. 年限: %19%. 廠商: %20%.
DESC-TEMPLATE-NP =
DESC-TEMPLATE-NR =
DESC-TEMPLATE-SETTLEMENT = 傳票號碼: %13% 附註: %12%
Current assets
Fixed assets
Other assets
Current liabilities
Long-term debts
Other liabilities
Shareholders' equity
Sales
Sales discount
Cost of goods sold
Operating expenses
Other income
Other expenses
Cash (for cash-flow statements)
For AR, AP, PR, PP, PE, AR, TP, TC, PFO, CFO:

%0%: Company No.
%1%: Company short name
%2%: Amount in original currency
%3%: Original currency
%4%: Exchange rate of original currency
%5%: Entry date
%6%: Due date
%7%: Source
%8%: Document No.
%9%: Note
%10%: Voucher No.
%11%: A/C No.
%20%: Company No. + company short name
%21%: Original currency + original amount + original exchange rate
COMMON setting is used when specific setting is unavailable.
Settlement default: %1%: %7% %8% %3%%2% %10% %9%
NR (Notes receivable) and NP (notes payable): (Settlements use original descriptions plus setting in DESC-TEMPLATE-SETTLEMENT)
%0%: Company No.
%1%: Company short name
%2%: Amount in original currency
%3%: Original currency
%4%: Exchange rate of original currency
%5%: Entry date
%6%: Issuing date
%7%: Paying date
%8%: Cashing date
%9%: Note No.
%10%: Paying bank name
%11%: Bank account no.
%12%: Note
%13%: Voucher no.
%15%: Deposit code
%16%: Collection date
%20%: Company No. + company short name
%21%: Original currency + original amount + original exchange rate
DRCRNOTE (debit/credit notes):
%0%: Company No.
%1%: Company short name
%2%: Amount in original currency
%3%: Original currency
%4%: Exchange rate of original currency
%5%: Note date
%6%: Nature (debit note or credit note)
%7%: Note no.
%8%: VAT (nothing if not)
%20%: Company No. + company short name
%21%: Original currency + original amount + original exchange rate
DEPOSIT (deposits):
%0%: Company No.
%1%: Company short name
%2%: Amount in original currency
%3%: Original currency
%4%: Exchange rate of original currency
%5%: Entry date
%6%: Deposit account
%7%: Source
%8%: Document no.
%9%: Note
%10%: Bank name: account no.
%13%: Voucher no.
%20%: Company no. + company short name
%21%: Original currency + original amount + original exchange rate
FIXEDASSET (fixed assets):
%0%: Supplier No.
%1%: Supplier short name
%2%: Cost in original currency
%3%: Original currency
%4%: Exchange rate of original currency
%5%: Asset No.
%6%: Got date
%7%: Asset name
%11%: Quantity
%12%: Note
%13%: Voucher No.
%14%: Staff name
%15%: Statur (狀態)
%16%: Depaartment
%17%: Location
%18%: Location 2
%19%: Depreciation period (折舊年限)
%20%: Supplier No. + supplier short name
%21%: Original currency + original cost + (@original exchange rate)
GL5GL11-GENRE COLUMNS-BALANCESHEET = 0, 6, 155, 185
COLUMNS-BALANCESHEET2 =  0, 6, 110, 135, 160, 195
COLUMNS-CHARTOFACCOUNTS = 0, 25, 90, 95, 120, 185
COLUMNS-INCOMESTATEMENT = 0, 6, 115, 140, 150, 175, 185
COLUMNS-INCOMESTATEMENT2 = 0, 6, 145, 170, 185, 210, 225, 250, 265
COLUMNS-JOURNALREGISTER = 0, 20, 60, 120, 210, 245, 265
COLUMNS-TRIALBALANCE = 0, 25, 135, 160, 185
COLUMNS-TRIALBALANCE2 = 0, 25, 135, 160, 175, 200, 215, 240, 265
COLUMNS-VOUCHER = 0, 25, 65, 140, 165, 190
COLUMNS-VOUCHERENTRYLISTING = 0, 50, 70, 95, 135, 210, 235, 260
COLUMNS-VOUCHERENTRYSUMMARY = 0, 25, 95, 120, 140, 165, 185
Balance sheet: Column positions, no previoud period.
Balance sheet 2: Column positions, with previous period.
Chart of accounts: Column positions.
Income statement: Column positions, no previous period.
Income statement 2: Column positions, with previous period.
Journal register: Column positions.
Trial balance: Column positions, portrait.
Trial balance 2: Column positions, landscape
Voucher: Column positions.
Voucher entry listing: Column positions.
Voucher entry summary: Column positions.
GL5GL20-GENRE COLUMNS-ACCOUNTCASHPOSITION = 0, 20, 70, 120, 140, 190, 215, 240, 265, 315
COLUMNS-ACCOUNTCASHPOSITION2 = 0, 20, 35, 75, 125, 145, 190, 210, 245, 265, 315
COLUMNS-DEPOSITACCOUNTTRANS = 0, 20, 65, 110, 135, 160, 185, 235
COLUMNS-NOTESPAYABLE = 0, 50, 70, 90, 120, 170, 185, 200, 265
COLUMNS-NOTESRECEIVABLE = 0, 20, 40, 85, 115, 165, 185, 200, 265
DESC-TEMPLATE-SETTLEMENT = 傳票號碼: %13% 附註: %12%
Notes cashing. (Original payable or receivable descriptions used, followed by settings below.)
%12%: Note
%13%: Voucher no.
GL5GL30-GENRE    
LEAVEMANAGEMENT-DATASOURCES 0 = Annual (import)
2 = Bonus
4 = Marriage
6 = Funeral
...
100 = Other
Once used, settings should not be altered.  Add new ones at proper positions when needed.
LEAVEMANAGEMENT-GENRE HOURSPERDAY = 8.0 The conversion factor from 1 day to hours when calculating paid leave times.
LEAVEMANAGEMENT-LEAVEREASONS 0 = 特休
2 = 病假
4 = 事假
6 = 結婚
8 = 喪事
...
Once used, settings should not be altered.  Add new ones at proper positions when needed.
LEAVEMANAGEMENT-LEAVETYPES 0 = 特休
2 = 病假
4 = 事假
0 is reserved for paid leave. Once used, settings should not be altered.  Add new ones at proper positions when needed.
LEAVEREPORTS-GENRE COLUMNS-LEAVERECORDS =  0, 35, 95, 115, 135, 150, 165, 180, 195, 265
COLUMNS-LEAVESHEETS =  0, 35, 95, 115, 135, 150, 165, 180, 195, 210, 265
COLUMNS-PAIDLEAVES =  0, 35, 95, 110, 140, 155, 170, 185, 197, 209, 265
 
MENU7-GENRE URLS=www.aaa.com; www.bbb.com; ...
MEDIA-PLAYER = No
Pre-defined URLs for Web browser, delineated by semi-colons, or commas.
MYNOTES-GENRE MARGINS-X =
MARGINS-Y =
Arrays of job margins separated by commas. These values, if any, overwrite MARGIN-X setting in SYSTEM-GENRE.
SCHEDULE-CHANGE-DELDATE-EN See right. The following are items of which delivery dates were changed during the period from %BEGIN_DATE% to %END_DATE%.
SCHEDULE-CHANGE-SHIPDATE-EN See right. The following are items of which shipping dates were changed during the period from %BEGIN_DATE% to %END_DATE%.
SCHEDULE-CHANGE-SHIPDATE-TC    
SECMAN7-GENRE     
SOCIAL-NETWORKS 0 =
10 = Facebook
20 = Twitter
30 = Line
0 = is mandatory. Since the list is ordered by ordinal numbers, new entities can be inserted in between existing numbers to get proper places.
SQLTABLE-GENRE COLUMNS-SQLTABLE = 0, 25, 140, 160, 190
MARGINS-X = 5, 5, 5, 5
MARGINS-Y = 5, 5, 5, 5
In mm.
STAFF7-GENRE     
SYSMAIN7-GENRE     
SYSTEM-GENRE CURR-STD = 01
CURR-USE = 02
DEFAULT-UNIT-CUBE = CBM (CU.FT.)
DEFAULT-UNIT-LWH = CM (INCH)
DEFAULT-UNIT-WEIGHT = KG (LB)
DOCUMENT-NO-USE = 0
DOC-STATUS-DEFAULT = x (9, 5, 0)
GENRE = xxxxxxxxxxyyyyyyyyyyxxxxxxxxxx...
HR-MAIL-ADDRESS = hr@xyz.com
HR-MAIL-DISPLAYNAME = Human Resources
IMAGE-DIR = q:\torus7\images\
LETTERHEAD-BOTTOM = 254
MAIL-SERVER = msa.hinet.net,N,100
MAIL-SERVERS = msa.hinet.net,N,250;mail.xxx.com,Y,0
MANUAL-PAGE = http://www.torus.com.tw/product/et70/manual/
MARGIN-X = 5
MARGIN-Y = 5
MISSING-IMAGE = missing.png
OFFICE-DIR = q:\torus7\office\
OTHERCODE-LEFT = 10
PREVIOUS-NEXT-LIMIT = 50
SYSTEM-DIR = q:\torus7\system\
TEMPLATE-DIR = q:\torus7\templates\
WEB-SERVER = www.torus.com.tw


  • Usually, each company has its own set of document numbers. But you can use just the first set for all companies, if any.
  • Document aurhorization status: x: 9 = unauthorized, 5 = authorized, 0 = closed. Default is used during document creation. 9 will be used if default is unavailable.
  • HR-MAIL-PASSWORD is needed if mail server requires credential to replay mails.
  • IMAGE-DIR: Folder storing image files. Default is the folder "images" below torus7 folder.
  • For two-part letterhead, LETTERHEAD-BOTTOM stands for position from paper top margin, in mm.
  • Default file extension for letterheads is PNG.
  • MAIL-SERVERS: mail server, needs credential, delay. Separate additional servers by semi-colons.
  • For online operations manual. What's shown here is the default value.
  • Margins are for printing. These two values will replace the default 5, 5 and apply on all printing pages, unless further replaced by respective program settings.
  • MISSING-IMAGE is the image to show in shipping marks when the originally specified images are not available. Without this setting, unavailable images will be skipped from showing.
  • OTHERCODE-LEFT is used in compact format for grouing items. 10 means the left 10 characters from other code values.
  • PREVIOUS-NEXT-LIMIT: Records to retrieve when either previous or next button is pressed. This applies to data where access permission is required, in order to avoid searching while tables. That is, if there is no accessible record in the 50 records, then no data available will be declared.

 

 

SYSTEM-LANGUAGE-UPDATE 50 = Item No.
...
To change part of the default English vocabulary, put the entries here. Enter only those that you want changed. For a list of the default English vocabulary, look here.
SYSTEM-LANGUAGE-x   x refers to language order no. Establish the vocabulary of a language other than English here. All entries should be entered. For a complete list of English vocabulary, look here.
TORUSHOST-GENRE BACKUP-FOLDER = d:\torus7\sqlbackup\weekday
BACKUP-WEEKDAY-0 = hh:mm
BACKUP-WEEKDAY-1 = hh:mm
...
BACKUP-WEEKDAY-6 = hh:mm
BACKUP7-WEEKDAY-0 = xxx.bak, hh:mm
...
BACKUP7-WEEKDAY-6 = xxx.bak, hh:mm
SYSTEM-DIR = d;\torus7\
BACKUP: Weekday 0 is Sunday. hh:mm is the time to start backup.  All registered databases will be backed up to d:\torus7\sqlbackup\weekday0 through d:\torus\sqlbackup\weekday7 folders. The drive depends on where torus7 folder is located.
BACKUP7: Uses Backup Manager to copy static files based on settings in .bak files.
SYSTEM-DIR: Note that TORUSHOST runs on the server. The drive should be local, instead of network.
TORUS7W-SYSTEM-GENRE IMAGE-DIR = /torus7/images/
SYSTEM-DIR = /torus/system/
CURR-USE = 02
CURR-STD = 01
Folder for images. Default is a relative folder at images/, right below where Torus 7.0 Web programs are stored. You can set up a virtual directory 'torus7' and customize the folder position as shown left.
The currency used for product price. Default is 02, usually the U.S. Dollar.
TORUS7-HOST-GENRE    
WEB-GENRE IMAGE-DIR = /torus7/images/ Folder that stores images for ET7.0 Web.


Codes that use fields other than just the Note are listed below:

Code Field Value Explanations
       
       
       


Last modified: August 2020