This business object is used to create and optionally post GL journals for Accounts Payable payment transactions, when Accounts Payable is integrated to General Ledger in detail or summary.
Detailed Description
When Accounts Payable is integrated to General Ledger in detail or summary (Setup | General Setup | GL Integration | General Ledger tab), any Accounts Payable payment registers generated by processing supplier payments must be posted to the General Ledger.
This business object creates the GL journals from the payment registers and if the General Ledger Integration option: Post GL journal is selected also attempts to post the journals in the General Ledger.
The business object can create (and post) the GL journals for all payment registers that have not yet been posted to the General Ledger, or for a specific year, month and register or all registers for a single year and period or range of years and periods.
The journal entries from the GL journals can be printed on the AP Invoice Disbursement Distribution report once this business object has been run.
The following files/tables are accessed by this business object. The files/tables that are updated are shown in bold:
Table Name C-ISAM File
ApControl APSCTL
ApGlDisburse APSDDI
ApPayRunHdr APSPRH
GenControl GENCTL
GenMaster GENMST
Related Business Objects and their relationships
This business object invokes the business object GENTJL (GL Journal Posting) to create and post the GL journal. The status of the journal and any error messages returned by GENTJL can be viewed against the Job Logging Details for the program (Setup | Job Logging | Zoom). If applicable the following Electronic Signatures transactions are checked by the business object IMPTRO (Process Electronic Signatures):
GL Create journal from sub module
GL Create and post journal from sub module
The Accounts Payable module must be installed to run this business object. The AP Primary Posting functional area must be licensed.
An error is returned if Accounts Payable is not integrated to General Ledger (Setup | General Setup | GL Integration | General Ledger tab).
The check number (where applicable) is stored against the register when the Payment Register program is run. Therefore, if this business object is run before the Payment Register program, the check number(s) is not yet stored against the register and if the parameter IgnoreWarnings is set to N, an error message is displayed.
If the parameter IgnoreWarnings is set to Y or W, the GL journal is created and, if setup to do so, posted but without the check number(s). If the GL journal is not automatically posted, there is an opportunity before posting the journal to update it with the check numbers by running the Payment Register program.A message is shown against the Job Logging Details for this program (Setup | Job Logging | Zoom) if any of the following conditions exist against the register:The ledger code is blank.The ledger year is zero.The ledger period is zero.Refer to APSTGP.XSD and APSTGP.XML for the parameters schema and an instance of an XML document for this business object.Refer to APSTGPDOC.XSD and APSTGPDOC.XML for the schema and an instance of an XML document for this business object.
Refer to APSTGPOUT.XML for a sample of the XML returned by this business object.