MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Technical Library > Financial > Draft Management > Programs > Automatic Draft Application - Purpose

Automatic Draft Application - Purpose

DM150E

The Automatic Draft Application program (DM150E) is a batch program that processes a draft application request from the Automatic Draft Application Confirmation program (DM140E).  DM150E is the first half of the automatic draft application batch stream, which includes DM150E and the Batch Payment Entry and Application program (AR125E).  DM150E pairs drafts that the system automatically creates with the invoices they were created for and downloads them into payment input files for payment processing.

DM150E reads a join logical file based on a query of the Draft Master file (DMDRFP) and the Open Item file (AROPENP).  The CL program for DM150E selects records for the join logical file base on the following criteria:

·     The draft status equals "submitted" (DMRECS = "S").

·     The draft type equals "automatic" (DMDFTY = "A").

·     The open item amount is not zero.

After DM150E reads the join logical file, it selects records from the file with a pre-accepted payment type (draft payment type in category 344 with a pre-accepted flag equal to "Yes").  The program writes input records that fulfill the selection criteria to the Data Entry file (AR125AP1) and the Detail Data Entry file (AR125AP2).  AR125E processes these files and applies payments to customer invoices and debit/credit memos.

DM150E prints valid transactions on the Draft Application report (DM150A).  Erroneous transactions are printed on the Exception report (DM150B).

DM150E Program Menu