XLA_ACCOUNTING_PUB_PKG.ACCOUNTING_PROGRAM_DOCUMENT Does Not Work In Offline Mode (Doc ID 1573227.1)

Last updated on MARCH 31, 2017

Applies to:

Oracle Receivables - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

There is a requirement to process the accounting events in synchronus mode.

Using API XLA_ACCOUNTING_PUB_PKG.ACCOUNTING_PROGRAM_DOCUMENT with parameter P_OFFLINE_FLAG ='N'.

The API submits programs 'Create Accounting', 'Journal Import' and 'Posting: Single Ledger'. This has an impact on overall performance of the interface program.

The expected behaviour is that this API will create accounting, transfer to GL and port in the same data base session and it will not submit the concurrent programs 'Create Accounting', 'Journal Import' and 'Posting: Single Ledger'.

Below are parameters passed to this API :
XLA_ACCOUNTING_PUB_PKG.ACCOUNTING_PROGRAM_DOCUMENT
(P_EVENT_SOURCE_INFO => NULL
,P_APPLICATION_ID => PV_FAH_APPL_ID
,P_ENTITY_ID => L_ENTITY_ID
,P_ACCOUNTING_FLAG => 'Y'
,P_ACCOUNTING_MODE => 'F'
,P_TRANSFER_FLAG => 'Y'
,P_GL_POSTING_FLAG => 'N'
,P_OFFLINE_FLAG => 'N'
,P_ACCOUNTING_BATCH_ID => L_BATCH_ID
,P_ERRBUF => L_ERRBUF
,P_RETCODE => L_RETCODE
,p_request_id => l_req_id );

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms