Sie sind auf Seite 1von 7

Delivery costing Page header

fields Data Type Length Comments


DIR-COSTED-DOC-KEY

REC-TYPE-CODE char 1 defaulted to 0

DOC-TYPE char 1
SUPPLIER-NO numeric 5
Defaulted to spaces for Header
BRANCH-NO numeric 5 record
DN-NO numeric 5
RECEIPT-NOTE-NO char 7
STOCK-TAKE-IND char 1
TESCO-YEAR-WK-GRP
Tesco-YR numeric 4 Value moved from Delivery
TESCO-WKNUM numeric 2 note costing file
Delivery costing Page DETAIL
fields Data Type Length
QECB-DIR-COSTED-DOC-KEY
REC-TYPE-CODE char 1
DOC-TYPE char 1
SUPPLIER-NO numeric 5
BRANCH-NO numeric 5
DN-NO numeric 5
RECEIPT-NOTE-NO char 7
STOCK-TAKE-IND char 1
DIR-CSTD-DOC-PAGE-REC2
NO-OF-LINES NUMERIC 3
CSTD-DNOTE-LN-DET-GRP
TRADTPN NUMERIC 8
CONSUMER-UNIT-TPN numeric 8
PRICE-MARK-VAL numeric (6,2)
TRADED-CONSUMER-IND CHAR 1
DUMMY-LINE-IND CHAR 1
LINE-NO numeric 3
POS-NUMBER numeric 5
TRADED-UNIT-TYPE char 1
RET-DEL-NOTE-IND char 1
DEAL-LOCATION char 5
DEAL-SELL-LOCN char 5
FXD-VAR-WEIGHT-IND char 1
UNIT-SIZE numeric (7,2)
VATB char 2
VAT-RATE numeric (5,3)
QUANTITY numeric (7,2)
NET-COST numeric (9,4)
INVSCOST numeric (9,4)
CHGD-SELL-PRICE numeric (9,4)
COST-SOURCE-CODE char 1
Delivery costing Page DETAIL
Comments

Defaulted as 1

Value retrieved from costed delivery note file

Value retrieved from costed delivery note file

Value retrieved from costed delivery note file


Delivery costing Page Total
fields Data Type Length
DIR-COSTED-DOC-KEY
REC-TYPE-CODE char 1
DOC-TYPE char 1
SUPPLIER-NO numeric 5
BRANCH-NO numeric 5
DN-NO numeric 5
RECEIPT-NOTE-NO char 7
STOCK-TAKE-IND char 1
LEDGER CHAR 1
SHORT-SUPP-NO CHAR 10
PROD-TYPE CHAR 1
BRANCH-DEPARTMENT-CODE CHAR 1
DOCUMENT-INPUT-ID CHAR 4
MERGED-DELIVERY-NOTE-NUMBER CHAR 1
RECONCILED-QTY-CODE CHAR 1
COSTING-DATE NUMERIC 8
PRICING-DATE numeric 8
CLAIM-NO numeric 6
NO OF QUANTITIES numeric 5

ACCUMULATED-UNIT-QTY numeric (9,2)

NET-VALUE numeric (9,2)

INVOICE-VALUE numeric (9,2)

CHARGED-SELLING-VALUE numeric (9,2)

PAKING-NET-VALUE numeric (9,2)

ACCUMULATED-NET-VAT-VALUE numeric (9,2)

DOC-TOT-CHARGED-SELL-VAT-VALUE numeric (9,2)


PAKING-NET-VAT-VALUE numeric (9,2)
Delivery costing Page Total
Comments

DEFAULTED TO 2

value retrieved from costed delivery note file


AREA-CD from merged delivert note file
retrieved from QS extract file

value retrieved from merged delivery note file


user-id from Merged delivery note file
DeFAULTED TO spaces

value retrieved from merged delivery note file


Number of lines from costed delivery note file

Accumulates the quantity for all delivery lines associated with a delivery note
from costed delivery note file

Accumulates Net value as Net cost * quantity of costed delivery note file
Accumulates Invoice value as Invoice cost * Quantity of costed delivery note
file
Accumulates Charged selling value as Charged selling price * quantity * unit
size of costed delivery note file
If Traded unit type of costed delivery note file is 'P'
packing net value = previously calculated net value

Accumulated net vat value = Accumulates net cost *


quantity * vat rate from costed delivery note file/ 100

for all delivery lines associated with a delivery note

Doc-Total-charged-sell-Vat = previously calculated charged selling value * Vat


rate of costed delivery note file)/
(Vat rate of costed delivery note file + 100)
If Traded unit type of costed delivery note file is 'P'
packing net vat value = Previously calculated net vat value

Das könnte Ihnen auch gefallen