My Oracle Support Banner

Performance Issue Running Create Intercompany AR Invoice (Doc ID 1671152.1)

Last updated on NOVEMBER 28, 2017

Applies to:

Oracle Inventory Management - Version 12.1.1 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR

Running Create Intercompany AR Invoice takes too long.

With the profile option "INV:Intercompany Invoice for Internal Orders" = "Yes",
running the "Create Intercompany AR Invoices" concurrent request takes at least 20 hours.
The request is stuck on trying to update the MTL_MATERIAL_TRANSACTION table with the following statement:

update /*+ index(mmt MTL_MATERIAL_TRANSACTIONS_N24) +*/ mtl_material_transactions mmt set invoiced_flag=null where ((invoiced_flag='N' and transaction_source_type_id in (2, 8)) and transaction_action_id in (28, 3))

When running a select statement on the table there are a large number of rows:

SQL> select count(1) from inv.mtl_material_transactions where ((invoiced_flag='N' and transaction_source_type_id in (2, 8)) and transaction_action_id in (28, 3));

(in this particular case the output was more than 8 million rows)

None of the records will result in an intercompany AR invoice.

EXPECTED BEHAVIOR

System should not include ineligible rows in the underlying query, as this causes unnecessary delay in processing.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.