My Oracle Support Banner

Trying to Change Item Status To Inactive Gives Error, "This field can not be updated as there are either Open Sales Order lines, Pending Delivery transactions or Incoming Supply transaction" (Doc ID 2210250.1)

Last updated on FEBRUARY 01, 2019

Applies to:

Oracle Process Manufacturing Process Execution - Version 12.2 and later
Oracle Item Master - Version 12.2.4 to 12.2.4 [Release 12.2]
Oracle Inventory Management - Version 12.2 and later
Information in this document applies to any platform.

Symptoms

When users try to set the item status for an item in an OPM org to "Inactive" the following error message displays:

"This field can not be updated as there are either Open Sales Order lines, Pending Delivery transactions or Incoming Supply transaction"

Queries from the standard notes, along with item diagnostics, confirm there is no Open Sales Order lines, Pending Delivery transactions or Incoming Supply transactions.

However, trace files show the item in question is still in use in an unposted OPM batch. The trace shows the following:

SELECT COUNT(1)
FROM
GME_MATERIAL_DETAILS D, GME_BATCH_HEADER H WHERE D.INVENTORY_ITEM_ID = :B2
 AND D.ORGANIZATION_ID = :B1 AND D.BATCH_ID = H.BATCH_ID AND
 (NVL(H.GL_POSTED_IND, 0) = 0 AND H.BATCH_STATUS IN (1, 2, 3, 4)) AND ROWNUM
 = 1


call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 0 0.00 0.00 0 0 0 0
Execute 3 0.00 0.00 0 0 0 0
Fetch 3 0.00 0.00 0 120 0 3
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 6 0.00 0.00 0 120 0 3

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
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.