This example uses CAJREARL member CAKRINV1 to generate a invoice using only data from the CCCTAB.
CA PMA Chargeback INVOICE EXAMPLE 1 22/01/91 DETAIL BY ORD/ELEMENT/QUALIFER/MODIFIER, PAGE BY GROUP PAGE 1 VERSION= TESTCHAR PERIOD= 1 DIVISION= C MICRO DEPARTMENT= E ORDERING GROUP= A DALLAS ----------------------------------------------------------------------------------------------------------------------------------- A.RDID ELEMENT QUALIFIER MODIFIER COUNT UNITS RATE CHAR B. C. D. E. F. G. ----------------------------------------------------------------------------------------------------------------------------------- MBJ @SPEC-CHARGE @SHIFT1 __ 3 654.16 $100.00 $65,415.60 MBJ @SPEC-CHARGE 3 654.16 $65,415.60 DEFAULT __ 3 498.96 $0.28 $138.60 MBJ CPU-CHARGE 3 498.96 $138.60 DEFAULT __ 3 9.38 $9.00 $84.43 MBJ DISK-CHARGE 3 9.38 $84.43 DEFAULT __ 3 $2.00 MBJ PRINT-CHARGE 3 DEFAULT __ 3 $5.00 MBJ TAPE-CHARGE 3 MBJ I. $65,638.63 $65,638.63
ORDID:
The ORD type for which charges are calculated.
ELEMENT:
The charge element used to calculate the charge.
QUALIFIER:
Tells you whether the default rate was used or if a rate qualifier was applied during the calculation of the charge element.
MODIFIER:
Tells you whether a modifier was applied to the charge element.
COUNT:
Displays the number of records that met the conditions in order to calculate the charge.
UNITS:
Displays the unit value used in the calculation.
RATE:
Displays the rate used to calculate the charge.
CHARGE:
Displays the calculated charge for the ORD type and charge element listed in columns A and B.
Total:
Displays the total charges. Charge element listed in columns A and B.
| Copyright © 2012 CA. All rights reserved. |
|