Home » Categories » Solutions by Business Process » E-Business » XML

Constants File - Other XML Associated Files

Datafile Software

Constants File - Other XML Associated Files


The constants file is intended to be compatible with EDI applications, and few of the fields may be required by XML applications or templates. Some of them are used by the XML ProFiler applications distributed with the XML module.

Item Name Type Size Description

1 TODAY D 8 Only if just used by an XML ProFiler application
2 USER X 6 …ditto
3 PERIOD N 4 …ditto
4 PRD-START E 10 …ditto
5 PRD-END E 10 …ditto
10 RANGE-FR X 10 )
11 RANGE-TO X 10 ) These are for use in ProFiler applications. Typically
12 DATE-FROM E 10 ) a ProFiler screen option can precede an XML function
13 DATE-TO E 10 ) to allow values to be entered here that subsequently can
14 CUSTOMER X 10 ) be used by the XML processor
15 FIRST X 10 )
16 LAST X 10 )
17 INV-UPTO E 10 )
18 PURGE-UPTO E 10 )
20 MESSAGE-TYPE X 6 )
21 MAIN-PATH X 40 Better to use XML template filename and pathname
22 SCND-PATH X 40 commands (these data items used by EDI)
23 LAST-FILE-NO Y 6
24 PRINT? ? 1
25 SCND-PRINT? ? 1
26 TEST? ? 1
27 FLGN N 4
28 FLVN N 4
29 FLGN-CHK X 1
30 REPRINT-FLGN N 4
31 FSEQ-OUT N 4
40 COMPANY X 40 )
41 CO-ADDR1 X 35 )
42 CO-ADDR2 X 35 ) Maintained by Maintain Constants File option
43 CO-ADDR3 X 35 )
44 CO-ADDR4 X 35 )
45 CO-PCODE X 8 )
46 VAT-CODE X 9 )
47 EAN-CODE X 14 )
50 BLANK X 1
51 ONE N 4
52 YES X 1
53 NO X 1
54 DUMMY-LOCK ? 1
55 FOR-CURR? ? 1
56 MULT-LOCN? ? 1

Item Name Type Size Description

57 DEF-STK-LOCN X 10
58 MULT-COMPY? ? 1
61 COUNT-1 N 4
62 COUNT-2 N 4
63 COUNT-3 N 4
64 COUNT-4 N 4
65 COUNT-5 N 4
66 COUNT-6 N 4
67 COUNT-7 N 4
68 COUNT-8 N 4
69 COUNT-9 N 4
70 SPARE-? ? 1
71 SPARE-N N 4
72 SPARE-K K 10
73 SPARE-X X 15
100 VAT-CODE-S X 1 ) These hold the Datafile VAT codes to match to the
101 VAT-CODE-Z X 1 ) published HMRC VAT codes. VAT-CODE-X can be
102 VAT-CODE-E X 1 ) made whatever code is required (currently there is an
103 VAT-CODE-X X 1 ) HMRC F-fuel and L-lower rates available). A fifth VAT
code couldbe added to this table too.
105 VAT-RATE-S K 10 )
106 VAT-RATE-Z K 10 ) The VAT rates that equate to the VAT codes above.
107 VAT-RATE-E K 10 )
108 VAT-RATE-X K 10 )
140 ERROR-1 N 4 )
141 ERROR-2 N 4 ) These must hold the numeric values shown. They are
142 ERROR-4 N 4 ) used internally in ProFiler validation and error reports
143 ERROR-8 N 4 ) distributed with the XML module
144 ERROR-16 N 4 )
145 ERROR-32 N 4 )
Custom Fields
  • Release ID: Standard
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
XML File Transfer
Viewed 3471 times since Thu, Jul 5, 2012
Typical XML Sales Order Cycle
Viewed 1982 times since Thu, Jul 5, 2012
Supplier Codes
Viewed 1589 times since Tue, Jul 10, 2012
Template Wizard
Viewed 1706 times since Mon, Jul 9, 2012
Template Configuration Notes
Viewed 4016 times since Mon, Jul 9, 2012
Send XML Acknowledgements, Send XML Delivery Notifications
Viewed 1698 times since Thu, Jul 5, 2012
Document Batch Processing Call
Viewed 1544 times since Tue, Jul 10, 2012
Trading Partners from S/L
Viewed 1548 times since Thu, Jul 5, 2012
Print Invoices Processed
Viewed 3375 times since Mon, Jul 9, 2012
Sales Order Details (SOD)
Viewed 1686 times since Tue, Jul 10, 2012