| In Items Form INVIDITM, LOV Does Not Include "No Control" For Lot Expiration (Shelf Life) Control Attribute (文档 ID 2081458.1) |
转到底部
|
|
|
In this Document
APPLIES TO:Oracle Inventory Management - Version 11.5.10.1 and laterOracle Item Master - Version 12.1.3 to 12.1.3 [Release 12.1] Information in this document applies to any platform. Cannot update SHELF_LIFE_CODE to "No Control" INVIDITM.fmb, LOV value "No Control" is missing for Lot Expiration (Shelf Life) Control Attribute INCOIN: INV_LOT_QOH_CANNOT_UPDATE when trying to update SHELF_LIFE_CODE SYMPTOMS
NOTE:
When attempting to update the same attribute (SHELF_LIFE_CODE) via Import Items, the error is returned: COLUMN NAME : SHELF_LIFE_CODE MESSAGE NAME : INV_LOT_QOH_CANNOT_UPDATE ERROR MESSAGE : You cannot update this field when 1) there is on-hand quantity OR 2) transactions exist OR 3) lots exist.
CHANGES
CAUSE
There is On-hand, or there are Pending Transactions for this Item.
SOLUTION
To implement the solution, please execute the following steps:
SELECT ATTRIBUTE_NAME, USER_ATTRIBUTE_NAME_GUI,
DECODE(CONTROL_LEVEL,1,'MASTER',2,'ORGANIZATION',3,'VIEW ONLY') CTL_LVL FROM MTL_ITEM_ATTRIBUTES WHERE ATTRIBUTE_NAME LIKE 'MTL_SYSTEM_ITEMS.%SHELF_LIFE_CODE%'; 2. Determine the ORGANIZATION_ID and INVENTORY_ITEM_ID associated with the item with the issue:
SELECT INVENTORY_ITEM_ID, ORGANIZATION_ID, SEGMENT1, LOT_CONTROL_CODE
FROM MTL_SYSTEM_ITEMS_B WHERE SEGMENT1 = '&ITEMNAME'; (If the attribute being changed is master controlled, you will need to obtain the MASTER_ORGANIZATION_ID)
SELECT ORGANIZATION_ID, ORGANIZATION_CODE
FROM MTL_PARAMETERS WHERE ORGANIZATION_CODE IN ('&ORGCODE', '&MASTER_ORG_CODE');
3. Check files for pending Inventory transactions:
SELECT *
FROM MTL_MATERIAL_TRANSACTIONS WHERE INVENTORY_ITEM_ID = &ITEM_ID AND ORGANIZATION_ID = &ORG_ID -- comment this line if attribute master controlled -- AND (ORGANIZATION_ID IN (SELECT ORGANIZATION_ID FROM MTL_PARAMETERS WHERE MASTER_ORGANIZATION_ID = &MASTERORGID)) -- uncomment the previous line if attribute is master controlled AND COSTED_FLAG IS NOT NULL;
SELECT *
FROM MTL_MATERIAL_TRANSACTIONS_TEMP WHERE INVENTORY_ITEM_ID = &ITEM_ID AND ORGANIZATION_ID = &ORG_ID -- comment this line if attribute master controlled -- AND (ORGANIZATION_ID IN (SELECT ORGANIZATION_ID FROM MTL_PARAMETERS WHERE MASTER_ORGANIZATION_ID = &MASTERORGID)) -- uncomment the previous line if attribute is master controlled ;
SELECT *
FROM MTL_TRANSACTIONS_INTERFACE WHERE INVENTORY_ITEM_ID = &ITEM_ID AND ORGANIZATION_ID = &ORG_ID -- comment this line if attribute master controlled -- AND (ORGANIZATION_ID IN (SELECT ORGANIZATION_ID FROM MTL_PARAMETERS WHERE MASTER_ORGANIZATION_ID = &MASTERORGID)) -- uncomment the previous line if attribute is master controlled ;
RESOLUTION: Correct and process any transactions returned.
SELECT * FROM MTL_ONHAND_QUANTITIES_DETAIL
WHERE INVENTORY_ITEM_ID = &ITEM_ID AND ORGANIZATION_ID = &ORG_ID -- comment this line if attribute master controlled -- AND (ORGANIZATION_ID IN (SELECT ORGANIZATION_ID FROM MTL_PARAMETERS WHERE MASTER_ORGANIZATION_ID = &MASTERORGID)) -- uncomment the previous line if attribute is master controlled ;
RESOLUTION: Issue associated quantities out-of-stores before trying to update the item.
SELECT *
FROM MTL_SUPPLY WHERE ITEM_ID = &ITEM_ID AND (TO_ORGANIZATION_ID = &ORG_ID OR FROM_ORGANIZATION_ID = &ORG_ID) -- comment line if attribute master controlled -- AND((TO_ORGANIZATION_ID IN (SELECT ORGANIZATION_ID FROM MTL_PARAMETERS WHERE MASTER_ORGANIZATION_ID = &MASTERORGID)) -- OR (FROM_ORGANIZATION_ID IN (SELECT ORGANIZATION_ID FROM MTL_PARAMETERS WHERE MASTER_ORGANIZATION_ID = &MASTERORGID))) -- uncomment the previous lines if attribute is master controlled ;
RESOLUTION:
SELECT *
FROM MTL_DEMAND WHERE INVENTORY_ITEM_ID = &ITEM_ID AND ORGANIZATION_ID = &ORG_ID -- comment this line if attribute master controlled -- AND (ORGANIZATION_ID IN (SELECT ORGANIZATION_ID FROM MTL_PARAMETERS WHERE MASTER_ORGANIZATION_ID = &MASTERORG_ID)) -- uncomment the previous line if attribute is master controlled ;
RESOLUTION: Process or Cancel associated Sales or Internal Orders. Log a service request with Order Management if you need help clearing these records.
SELECT MTRL.LINE_ID, MTRH.HEADER_ID, MTRH.REQUEST_NUMBER, MTRL.ORGANIZATION_ID, FU.USER_NAME
FROM MTL_TXN_REQUEST_LINES MTRL, MTL_TXN_REQUEST_HEADERS MTRH, FND_USER FU WHERE MTRL.INVENTORY_ITEM_ID = &ITEM_ID AND ORGANIZATION_ID = &ORG_ID -- comment this line if attribute master controlled -- AND (ORGANIZATION_ID IN (SELECT ORGANIZATION_ID FROM MTL_PARAMETERS WHERE MASTER_ORGANIZATION_ID = &MASTERORGID)) -- uncomment the previous line if attribute is master controlled AND MTRL.LINE_STATUS = 7 --- PREAPPROVED STATUS AND MTRL.HEADER_ID = MTRH.HEADER_ID AND MTRL.CREATED_BY = FU.USER_ID;
REFERENCESNOTE:866906.1 - The Lot Expiration Control Flag Cannot Be Updated For Item Without Stock NOTE:402245.1 - Receiving Transactions Data Collection Script (rcv11i_sa.sql) NOTE:1069492.1 - Resolving Period Close Pending Transaction R12 |
