← Back to Cases
AR Customer Transaction Line Rule Start Date and Duration Incorrect
Case Number00055778
Oracle ModuleAccounts Receivable (AR)
EBS VersionR12
Functional AreaInvoice/Transaction Processing / Accounting Rules / Revenue Recognition
Related PatchesNone

Symptoms

Root Cause

When a credit memo or adjustment transaction was created against an original invoice, the RULE_START_DATE and ACCOUNTING_RULE_DURATION were not correctly populated on the new transaction lines from the originating transaction lines. The PREVIOUS_CUSTOMER_TRX_LINE_ID link exists, but the rule attributes on the credit memo lines were left incorrect or NULL, preventing proper revenue recognition scheduling.

Resolution

Step 1 – Create backup table

Run data_fix.sql. A backup of the affected RA_CUSTOMER_TRX_LINES_ALL rows is created for the affected transaction.

Step 2 – Update rule start date and accounting rule duration

Update RA_CUSTOMER_TRX_LINES_ALL for the affected transaction to copy RULE_START_DATE and ACCOUNTING_RULE_DURATION from the originating transaction lines, using the PREVIOUS_CUSTOMER_TRX_LINE_ID relationship as the join key.

Step 3 – Commit and validate

Issue COMMIT. Re-run the revenue recognition process for the affected transaction and confirm the schedules generate correctly.


Script Inventory

FileDescription
data_fix.sqlCreates backup of RA_CUSTOMER_TRX_LINES_ALL for the affected transaction; updates RULE_START_DATE and ACCOUNTING_RULE_DURATION by joining to the originating transaction line via PREVIOUS_CUSTOMER_TRX_LINE_ID.

Key Tables Affected

TableAction
RA_CUSTOMER_TRX_LINES_ALLUpdate RULE_START_DATE and ACCOUNTING_RULE_DURATION from originating transaction line