Documentation >
MAC-PAC Technical Library >
Financial >
Accounts Receivable >
Programs >
Dunning Open Item Process - Purpose >
Dunning Open Item Process - Calculations
Dunning Open Item Process - Calculations
AR420E
A. Housekeeping
1. Parameter lists and key lists needed by the program are defined. program variables and work fields are defined and initialized.
2. Reference file data is retrieved.
B. Mainline
1. A priming read is performed to retrieve the initial data from the Open Items file (AROPNL12).
2. Customer data is retrieved from the Customer Master file (ARCUSTL1).
3. The dunning environment is retrieved from Reference File category 336. The possibilities are:
a. Run customer statements only - Extended Dunning option (1).
b. Run dunning letters only - Extended Dunning option (2).
c. Run both customer statements and dunning letters - Extended Dunning option(3).
The finance change flag is also retrieved. If it is Y and the extended dunning option is 3, the finance charges will be generated as open items in the customer statements and printed on dunning letters as open items. If the finance charge flag is N and the extended dunning option is 3, finance charges will not be generated. A separate finance charge and dunning fee will be written on the dunning letter but not created as an open item. If the extended dunning option is 2 the finance charge flag is automatically set to Y. If the finance charge flag is N, only the report finance charges are generated using the charge rate and dunning fee from Reference File category 352.
4. Once data is retrieved, dunning is processed only if the following conditions are met:
a. The dunning hold flag = N.
b. The co/loc match.
c. The open item amount is greater that zero.
d. The open item header record status is open.
e. The document type code is equal to the code on the Open Item Header. Reference File category 328 will be used to default the finance charge document type.
f. The due date + grace period days is less than the AS-OF-DATE. Note this condition exists the compare date flag (ZCMPDF) will be set to Y.
5. Once the dunning is processed the dunning level is incremented. If the dunning level = 9 or it is greater than the maximum dunning level set in the dunning class Reference File category 351, the maximum dunning level flag is set on.
6. The customer master and open item files are updated with the generated information if a post run.