MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Technical Library > Distribution > Synchro > Programs > INVOIC Message Extraction - Purpose

INVOIC Message Extraction - Purpose

GA240E

The INVOIC Message Extraction program (GA240E) generates an electronic version of an invoice for transmittal to the customer.  For the EDI standard, GALIA, the invoice message is called INVOIC.  INVOIC messages can be generated online or by submitting a batch job as demonstrated below:

1.   When the monitor is started, messages are generated immediately because the CL-program GAASYNCMON checks the message queue GAASYNMSGQ for requests (posted through the Immediate Request program GA320E) from the Synchro Menu (option "Re-emission Of INVOIC").

2.   When the shipping/billing monitor is started, the CL-program MPMONMENU submits an online job called GAIITMON to call GA240E through its CL-program GA240CLP.  All records from INVOIC Transmit Request file (GA235AP) created by the shipping/billing program (GA270E) are processed.

3.   Message creation can also be requested by submitting a batch job on the Synchro Processing Menu (calling CL-program GAPROCMENU).

In the first two examples, GA240E is called to generate the INVOIC message workfile (GA240AP), which is processed by a translation package to send the invoice to the customer.  On the shipping list header, information that an INVOIC message has been created is stored in order to avoid duplicate billing.  If transmission problems occur, the INVOIC message can be re-transmitted on the Synchro Menu.