Previous Topic: 7.1.1 File OrganizationNext Topic: 7.2 Ledger File (ACTLGR)


7.1.2 Usage Considerations


Note the following special considerations or techniques
related to using an accounting journal file (ACTJxx):

1.  Normally the AJFCHG variable is computed by multiplying
    AJFQNT by AJFRAT (AJFCHG = AJFQNT * AJFRAT).  Exceptions
    to this algorithm are the AJFQNT variables for the
    priority and zone computation codes, JPRI and ZDIF.  For
    these two computation codes, AJFCHG is computed by the
    algorithm AJFCHG = (AJFQNT * AJFRAT) - fffWCOST, where
    fffWCOST contains the total charge for the job before
    application of priority and zone charges.

2.  AJFQNT also contains the base total charge.  For a job
    whose base charge is $100.00 and to which a priority
    factor of 2.0 applies, the computation would be as
    follows:

       AJFCHG = ($100.00 * 2.0) - $100.00

    This results in a JPRI charge of $100.00, which is added
    to the base charge of $100.00, making the total job
    charge equal $200.00.