Vous êtes sur la page 1sur 1

Program analysis – QEX400

Input -

uk roi
QEL.COSTDELS.QE105.SORTED QEL.COSTDELS.QE105.SORTED.ROI

Output -

UK ROI
QEL.IQ.RETURNS.QE400 QEL.IQ.RETURNS.QE400.ROI
RETURN NOTES MATCHING REPORT

Validations in program

Program validates the header record and also checks for empty input file

Logic in program

 For every new supplier record read from direct delivery costed file the program gets the supplier
name and VP account number from QSLV.SUPPFILE.QS070 file.
 If product type is ‘B’ OR ‘R’ it changes to ‘k’
 Since the supplier/branch/document number in the input file may not be unique program
ensures writing out unique record to the output file by incrementing the document number
when meeting below condition
i. supplier and branch number of current record are same as previous record
ii. document number same as previous record OR document number of current record is less
than equal to previous document number

Vous aimerez peut-être aussi