EAR9.2: AR_UPDATE2 Abended At Step AR_REV_EST.CADST_AB.CA_DSTAB (SQL) -- RC = 805 When Contract is Having 1 Line, 1 Billing Plan, 1 Revenue Plan but 2 Distribution Lines. (Doc ID 2082687.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

PeopleSoft Enterprise FIN Receivables - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.

Symptoms

On : 9.2 version, AR Update - Posting

When attempting to run ARUPDATE for a billing transaction from contracts where contract is having 1 line, 1 billing plan, 1 revenue plan but two distribution lines, the following error occurs.

ERROR
-----------------------
File: e:\pt85410b-retail\peopletools\src\psappeng\aedebug.hSQL error. Stmt #: 1703 Error Position: 0 Return: 805 - ORA-00001: unique constraint (SYSADM.PS_RE_BI_DST_TAO4) violated Failed SQL stmt: INSERT INTO PS_RE_BI_DST_TAO4 (BUSINESS_UNIT, CUST_ID, ITEM, ITEM_LINE, PROCESS_INS TANCE, LINE_SEQ_NUM, AR_SEQ_NUM, BUSINESS_UNIT_BI, INVOICE, ACCOUNTING_DT_BI, ACCT_ENTRY_TYPE, DISC_ SUR_LVL, DISC_SUR_ID, DST_SEQ_NUM, TAX_AUTHORITY_CD, AR_LVL, BUDGET_HDR_STATUS, BILL_TO_CUST_ID, LED GER_GROUP, LEDGER, BUSINESS_UNIT_GL, ACCOUNT, ALTACCT, DEPTID, OPERATING_UNIT, PRODUCT, FUND_CODE, C LASS_FLD, PROGRAM_CODE, BUDGET_REF, AFFILIATE, AFFILIATE_INTRA1, AFFILIATE_INTRA2, CHARTFIELD1, CHAR TFIELD2, CHARTFIELD3, BUSINESS_UNIT_PC, PROJECT_ID, ACTIVITY_ID, RESOURCE_TYPE, RESOURCE_CATEGORY, R ESOURCE_SUB_CAT, ANALYSIS_TYPE, STATISTICS_CODE, MONETARY_AMOUNT, STATISTIC_AMOUNT, ACCOUNTING_DT, R

Process 787080 ABENDED at Step AR_REV_EST.CADST_AB.CA_DSTAB (SQL) -- RC = 805


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

  1. Enable commitment control for General Ledger and Receivables.
  2. In Billing - Integration Options make sure GL Level = BI Creates GL Acct Entries, AR Level = Header is AR Open Item and AR Option = Use Line for Distribution.
  3. In Ledgers For A Unit enable Commitment Control for revenue budget.
  4. Create and post a budget journal to create revenue budget.
  5. Navigate to Customer Contracts > Create and Amend > General Information and create a customer contract.
  6. Add 1 contract line. Enter Total Billing 1500, Fixed Billing 1500 and Billing Amount 1500.
  7. Enter PC Business Unit, Project and Activity.
  8. Enter 2 distribution lines with different chartfield for department.
  9. Assign Billing Plan. Make sure Pre-Approved in enabled and add event.
  10. Assign revenue plan.
  11. Enter legal entity, change contract status to ACTIVE and save.
  12. Run Process Fixed Amount Revenue (process CA_LOAD_GL1). PS_CA_ACCTG_LINE is populated.
  13. Run process other billing methods (process CA_BI_INTFC).
  14. Run process billing interface (process BIIF0001).
  15. Open bill. Change status to RDY and save.
  16. Run Finalize and Print Invoices (process BIIVC000).
  17. Run Create Accounting Entries (job BIJOB06).
  18. Run Load Invoices to AR (process BILDAR01).
  19. Run ARUPDATE to post item.
  20. Create a regular deposit.
  21. Build payment worksheet. Select item for payment. Change posting action to batch Standard.
  22. ARUPDATE is running to No Success.


BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot post payment.

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