Previous Topic: Sample CAJREARL  (CAKRINV1) Member for Invoice Example 1

Next Topic: Invoice Example 2: Summary Charges by Group


Invoice Example 1: Detail by ORD/Element/Qualifier/Modifier (Paged by Group)

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

A.

ORDID:

The ORD type for which charges are calculated.

B.

ELEMENT:

The charge element used to calculate the charge.

C.

QUALIFIER:

Tells you whether the default rate was used or if a rate qualifier was applied during the calculation of the charge element.

D.

MODIFIER:

Tells you whether a modifier was applied to the charge element.

E.

COUNT:

Displays the number of records that met the conditions in order to calculate the charge.

F.

UNITS:

Displays the unit value used in the calculation.

G.

RATE:

Displays the rate used to calculate the charge.

H.

CHARGE:

Displays the calculated charge for the ORD type and charge element listed in columns A and B.

I.

Total:

Displays the total charges. Charge element listed in columns A and B.