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 MARCH 08, 2017

Applies to:

Oracle Process Manufacturing Process Execution - Version 12.2 and later
Oracle Inventory Management - Version 12.2 and later
Oracle Item Master - Version 12.2.4 to 12.2.4 [Release 12.2]
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

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