Sie sind auf Seite 1von 3

7/24/2019 Document 2290821.

1
Copyright (c) 2019, Oracle. All rights reserved. Oracle Confidential.

How to Unpack Inner LPN From Outer LPN / Pack(Consolidate) LPN Into Another LPN Using MTI
? (Doc ID 2290821.1)

In this Document

Goal
Solution
References

APPLIES TO:

Oracle Warehouse Management - Version 12.2.6 and later


Information in this document applies to any platform.

GOAL

1. How to Unpack Inner LPN From Outer LPN Using MTI ?

2. How to Pack(Consolidate) LPN Into Another LPN Using MTI ?

SOLUTION

1. How to Unpack Inner LPN From Outer LPN Using MTI ?


Apply Patch 24843833:R12.INV.C

Below Error occurs if the patch is not applied.


Error: Inventory item ID is invalid or does not have the flags enabled correctly to be processed by
material processor

The issue is resolved by upgrading to file <INVTXGGB.pls> and version <120.129.12020000.31> or higher.
The following bug outlines this solution:
Bug 24843833 - PACK LPN INTO ANOTHER LPN USING MTI FAILS

2. How to Pack(Consolidate) LPN Into Another LPN Using MTI ?


Apply Patch 26243784:R12.INV.C

Below Error occurs if the patch is not applied.


Error: Inventory item ID is invalid or does not have the flags enabled correctly to be processed by
material processor

The issue is resolved by upgrading to file <INVTXGGB.pls> and version <120.129.12020000.35> or higher.
The following bug outlines this solution:
Bug 26243784 - PACK LPN INTO ANOTHER LPN USING MTI FAILS

3. Sample script
----------------------------------------------------------------------------------------------------
-- unpack an inner LPN from the outer LPN
INSERT INTO MTL_TRANSACTIONS_INTERFACE(
TRANSACTION_UOM,
TRANSACTION_DATE,

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=6a4ln2s3k_85&id=2290821.1 1/3
7/24/2019 Document 2290821.1

SOURCE_CODE,
SOURCE_LINE_ID,
SOURCE_HEADER_ID,
PROCESS_FLAG ,
TRANSACTION_MODE ,
LOCK_FLAG ,
LOCATOR_ID ,
LAST_UPDATE_DATE ,
LAST_UPDATED_BY ,
CREATION_DATE ,
CREATED_BY ,
INVENTORY_ITEM_ID ,
SUBINVENTORY_CODE,
ORGANIZATION_ID,
TRANSACTION_QUANTITY ,
PRIMARY_QUANTITY ,
TRANSACTION_TYPE_ID ,
CONTENT_LPN_ID,
LPN_ID
)
VALUES (
'EA', --TRANSACTION UOM
SYSDATE, --TRANSACTION DATE
'CONTAINER UNPACK', --SOURCE CODE
99, --SOURCE LINE ID
99, --SOURCE HEADER ID
1, --PROCESS FLAG
3 , --TRANSACTION MODE
2 , --LOCK FLAG
1291 , --LOCATOR ID
SYSDATE,--LAST UPDATE DATE
0, --LAST UPDATED BY
SYSDATE , --CREATION DATE
0, --CREATED BY
-1, --INVENTORY ITEM ID
'FGI', --FROM SUBINVENTORY CODE
1884, --ORGANIZATION ID
-1, --TRANSACTION QUANTITY
-1, --PRIMARY QUANTITY
88, --TRANSACTION TYPE ID: CONTAINER UNPACK
2251, -- CONTENT_LPN_ID
2252 -- LPN_ID
);
COMMIT;

----------------------------------------------------------------------------------------------------
-- pack an inner LPN into the outer LPN
INSERT INTO MTL_TRANSACTIONS_INTERFACE(
TRANSACTION_UOM,
TRANSACTION_DATE,
SOURCE_CODE,
SOURCE_LINE_ID,
SOURCE_HEADER_ID,
PROCESS_FLAG ,
TRANSACTION_MODE ,
LOCK_FLAG ,
LOCATOR_ID ,
LAST_UPDATE_DATE ,
LAST_UPDATED_BY ,
CREATION_DATE ,
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=6a4ln2s3k_85&id=2290821.1 2/3
7/24/2019 Document 2290821.1

CREATED_BY ,
INVENTORY_ITEM_ID ,
SUBINVENTORY_CODE,
ORGANIZATION_ID,
TRANSACTION_QUANTITY ,
PRIMARY_QUANTITY ,
TRANSACTION_TYPE_ID ,
CONTENT_LPN_ID,
TRANSFER_LPN_ID
)
VALUES (
'EA', --TRANSACTION UOM
SYSDATE, --TRANSACTION DATE
'CONTAINER PACK', --SOURCE CODE
99, --SOURCE LINE ID
99, --SOURCE HEADER ID
1, --PROCESS FLAG
3 , --TRANSACTION MODE
2 , --LOCK FLAG
1291 , --LOCATOR ID
SYSDATE, --LAST UPDATE DATE
0, --LAST UPDATED BY
SYSDATE , --CREATION DATE
0, --CREATED BY
-1, --INVENTORY ITEM ID
'FGI', --FROM SUBINVENTORY CODE
1884, --ORGANIZATION ID
-1, --TRANSACTION QUANTITY
-1, --PRIMARY QUANTITY
87, --TRANSACTION TYPE ID: CONTAINER PACK
2251, -- CONTENT_LPN_ID
2252 -- TRANSFER_LPN_ID
);
COMMIT;

----------------------------------------------------------------------------------------------------

REFERENCES

BUG:26243784 - PACK LPN INTO ANOTHER LPN USING MTI FAILS


BUG:24843833 - CONTAINER UNPACK TRANSACTION USING MTI FAILS
NOTE:357535.1 - Sample WMS Open Interface Insert Scripts -- How To Insert Into Transaction Open Interface
MTL_TRANSACTIONS_INTERFACE Table
Didn't find what you are looking for?

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=6a4ln2s3k_85&id=2290821.1 3/3