Show TOC

Background documentationPurchase Order File (SSSSSSQQQQ.ORD)

 

Note Note

Where: SSSSSS is the Store number and QQQQ is always 0001.

End of the note.
Header Record

Field

Columns

Size

Values

1 Record Type

1

1

H

2 Transaction No.

2 - 5

4 a/n

nnnn

3 Store No.

6 - 9

4 n

4 Order Date

10 - 17

8 n

YYYYMMDD

5 Expected Delivery

18 - 25

8 n

YYYYMMDD

6 P.O. No.

26 - 45

20 a/n

7 Vendor/Supplier No.

46 - 54

9 n

8 Order Type

55 - 56

2 a/n

9 Cashier No.

57 - 64

8 n

Previously is Entered By

10 Extended Store No.

65 - 68

4 n

High order digits for Store ID Extension with leading zeros.

Total bytes: 68

Detail Record

Field

Columns

Size

Values

1 Record Type

1

1

D

2 Transaction No.

2 - 5

4 a/n

nnnn

3 Store No.

6 - 9

4 n

4 PLU/SKU

10 – 27

18 a/n

5 Quantity 1

28 – 33

3.3

Quantity i.e. 012000 (currently not used).

6 Positive Flag

34 – 34

1 a/n

' ' ' - '

7 Price

35 – 40

4.2

i.e.12 will be 001200

8 Quantity 2

41 - 47

4.3

Same as field 5 except that this field accommodates quantities up to 9,999.999.

9 Vendor/SKU

48 – 65

18 a/n

10 Ordering Number

66 – 83

18 a/n

11 Quantity 3

84 – 92

6.3

Same as field 5 except that this field accommodates quantities up to 999,999.999.

12 Extended Store No.

93 – 96

4 n

High order digits for Store ID Extension with leading zeros.

Total bytes: 96