Systems Constants File - EDI Order Processing


Datafile Software

Systems Constants File - EDI Order Processing

This single-record file holds various constant or intermediate information needed by various processes during the EDI order processing interface.

Item Name Type Size Description

1 TODAY D 8 Today’s date

2 USER X 6 User name currently signed-on.

3 PERIOD N 4 Accounting application period. Not used at present.

4 PRD-START E 10 ) Accounting period start and end dates, not currently used.

5 PRD-END E 10 )

6 BLANK X 1 This item must be a blank character, used in global processes.

7 ONE N 4 This item contains the value 1, used in global processes.

8 STDS X 4 From start of transmission segment data item STDS

9 RECONCILE = 1 Holds value of "A” if STDS has value ANAA, meaning that the reconciliation RSGRSG message is used in this EDI file.

10 FROM X 14 EAN code of the trading partner sending the EDI message

11 FROM:NAME X 35 Name of above if present in the EDI file

12 UNTO X 14 EAN code of intended recipient of EDI message.

13 UNTO:NAME X 35 Name of above if present in the EDI file.

14 TRDT D 8 Date of transmission of message being processed.

15 TRDT:TIME X 6 Time of transmission of message being processed.

16 SNRF X 14 Sender’s transmission reference for EDI file.

17 RCRF X 14 Recipient’s transmission reference (not used at present).

18 APRF X 6 Application reference (see ANA code values list 16)

19 PRCD X 1 Transmission prioity code (see ANN code values list 1)

20 NMST N 4 Number of messages in this EDI file.

21 INPUT-DUMP X 35 A deconstruction dumping ground for unwanted data items.

22 INPUT-DIRY X 40 Directory pathname for EDI message files received.

23 INPUT-FILE X 40 Filename (including "*” wildcards) of input EDI files.

24 PRINT? ? 1 Y if full EDI message print of input messages needed. Set to Y during testing and initial live message processing. Set to N once process is running.

25 CIDN X 13 Customer EAN from ORDHDR message, held here to be copied to all ORDERS records as deconstructed.

26 CIDN:CODE X 17 Customer non-EAN code, if present, also copied as above.

27 INT-SEQ K 10 Internal sequence number for multiple message elements.

28 TCDE X 4 Transaction code for ORDHDR message (see ANA code values list 2).

29 SIDN X 13 Supplier EAN from ORDHDR message, held here to be copied to all ORDERS records as deconstructed.

30 SIDN:SCODE X 17 Supplier non-EAN code, if present, also copied as above.

31 FLGN N 4 Message file generation number.

32 FLVN N 4 Message file version number.

33 LORD N 4 Number of order lines in this order.

34 PRINT-DNA N 4 "0” if DNA segment details not to be printed on orders, but "1” if you want to print the DNA segment details on orders.

35 PRINT-DNB N 4 "0” if DNB segment details not to be printed on orders, but "1” if you want to print the DNB segment details on orders.

38 RANGE-FR X 6 ) Holds start and end values for selection criteria in certain

39 RANGE-TO X 6 ) queued menu operations.

40 MESSAGE-TYPE X 6 Type of message (TYPE data item).

41 COUNT-1 N 4 )

42 COUNT-2 N 4 )

43 COUNT-3 N 4 ) Used internally within report definitions.

44 COUNT-4 N 4 )

45 COUNT-5 N 4 )

99 ** X 2 Must hold the value "**”

100 C5 X 1 Holds the value "5”.

101 C6 X 1 Holds the value "6”.

102 C7 X 1 Holds the value "7”.

103 C8 X 1 Holds the value "8”


Custom Fields

Article ID: 1751
Created On: Thu, Jul 5, 2012 at 12:02 PM
Last Updated On: Mon, Jun 19, 2023 at 10:53 PM

Online URL: https://kb.datafile.co.uk/article/systems-constants-file-edi-order-processing-1751.html