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
Application Considerations - Back-to-Back Order Systems
Viewed 3316 times since Tue, Jul 10, 2012
Example of XML Document
Viewed 2399 times since Tue, Jul 10, 2012
dfd
Viewed 2169 times since Mon, Jul 9, 2012
Output XML File Questions
Viewed 2076 times since Mon, Jul 9, 2012
Print CrNotes Processed
Viewed 3839 times since Mon, Jul 9, 2012
System Status
Viewed 1710 times since Mon, Jul 9, 2012
Update EAN/Products from Stock
Viewed 2021 times since Thu, Jul 5, 2012
Purchase Order Cycle
Viewed 1790 times since Tue, Jul 10, 2012
Typical XML Purchase Order Cycle
Viewed 1752 times since Mon, Jul 9, 2012
“Escaped” Data Characters
Viewed 3480 times since Mon, Jul 9, 2012