You are on page 1of 50

Oracle Inventory

Transactions

08/19/20
Oracle Inventory

Transactions Troubleshooting Overview

Transaction Types & Purposes


Transaction Flow Overview
Transaction Tables
Troubleshooting
Common problems

08/19/20
Oracle Inventory
Transaction Types

08/19/20
Oracle Inventory

• Transaction Types for Inventory are the combination of


the transaction source type and the transaction action.

• Transaction Types must be specified when processing transaction


records in order to keep historical information. This information can
be used for reporting, monitoring and managing business.

• Transaction Source Type + Transaction Action = Transaction Type

08/19/20
Oracle Inventory

Transaction Action:Indicates the type of exchange or action for a


particular transaction.

Transaction Source Type: Entity against which Inventory will charge a


Transaction.

Transaction Type: Identifies a Transaction. See Oracle Inventory


User Guide for complete list of supported
transaction types.

08/19/20
Oracle Inventory
Transaction Types

 Query MTL_TRANSACTION_TYPES to find all transactions defined:

SELECT
TRANSACTION_TYPE_ID "Txn_Type_ID",
TRANSACTION_TYPE_NAME "Txn_Name",
Substr (DESCRIPTION, 1,30) "Description",
TRANSACTION_ACTION_ID "Action_ID",
TRANSACTION_SOURCE_TYPE_ID "Source_ID"
FROM
MTL_TRANSACTION_TYPES;

08/19/20
Oracle Inventory
Transaction Flow Overview

08/19/20
Oracle Inventory
Desktop Transaction Flow Overview
IN V E N T O R Y M A T E R IA L T R A N S A C T IO N S

D A T A F R O M IN V E N T O R Y , W IP
D A T A F R O M O E /W IP M O D U L E
A N D R E C E IV IN G T R A N S A C T IO N
O R LEG A C Y S Y S TE M S
FO R M S M O N IT O R IN V E N T O R Y I/F M A N A G E R S
C o n c u r r e n t \ M a n a g e r \ A d m in is t e r &
C o n c u rr e n t\R e q u e s ts
M T L _ T R A N S A C T IO N S _ IN T E R F A C E M T L _ M A T E R IA L _ T R A N S A C T IO N S _ T E M P
( I n t e r f a c e b e t w e e n N o n - I N V a p p lic a t io n s & I N V t x n m o d u le ) ( G a t e w a y f o r A L L M a t e r ia l T r a n s a c t io n s ) N O T E : T o s e e M a te r ia l C o s t W o r k e r
( C a n n o t p o p u la t e t h is t a b le t h r o u g h I N V f o r m s ) r e q u e s t s . U s e S y s A d m in - d o q u e r y in
P R O C E S S _ F L A G = 'Y ' C o n c u r r e n t R e q u e s ts S u m m a r y f o r m u s in g
P R O C E S S _FLA G = 1 L O C K _ F L A G = 'N ' % o s t % a s c r it e r ia .
LO C K _FLA G = 2 S T E P 1 : V A L ID A T IO N T R A N S A C T IO N _ M O D E = 3
T R A N S A C T IO N _ M O D E = 3 E R R O R _C O D E = N U LL
S T A R T IN T E R F A C E M A N A G E R S
E R R O R _C O D E = N U LL IN C T C M N a v \S e tu p \T x n .\In te r f a c e M g r
(M a t.T x n I/F M G R ) ER R O R S : C H EC K
ER R O R S : C HEC K P R O C E S S _FLA G
M a te r ia l tr a n s a c tio n ( IN C T C M )
P R O C E S S _FLA G LO C K _FLA G
D e m a n d R e s e r v a tio n ( IN C D C M ) ( 1 0 .7 )
LO C K _FLA G E R R O R _C O D E
M o v e t r a n s a c t io n ( W I P )
E R R O R _C O D E E R R O R _ E X P L A N A T IO N
R e s o u r c e / M a t e r ia l C o s t ( C M C T C M ) *
E R R O R _ E X P L A N A T IO N
T R A N S A C T IO N _ T Y P E _ ID R e l 1 0 .7 * * P R O C E S S F L A G = 4 D A T A F R O M O E P IC K
R E LE A S E P R O C E S S , D O N O T A LT E R R O W S .
R e l 1 0 .7 * * P R O C E S S F L A G = 9 D A T A F R O M O E S H IP C O N F IR M
TXN EXE C U C ATAB LE S
O P E N IN T E R F A C E , D O N O T A L T E R R O W S .
in lt e v - V a lid a t e t r x n I / F r o w s
E R R O R C H E C K IN G T H R O U G H T H E F O R M : in lt v u - V a lid a t e t r x n I / F r o w s
V IE W P E N D IN G IN T E R F A C E A C T IV IT Y - ( C H A R ) : M M T T , M T I in lt w v - V a lid a t e t r x n I / F r o w s ( w ip t x n s )
T A B LE S IN L T U Q in lt u q - U p d a t e s m t l_ o n - h a n d _ q t y t a b le
P E N D IN G T R A N S A C T IO N S - ( G U I) : M M T T T A B L E in lt p u - M a in t a in t r x n in f o r m a t io n
T R A N S A C T IO N S O P E N IN T E R F A C E - ( G U I) : M T I T A B L E in ld q c - c a lc u la t e s a v a il q t y / r e s e r v e
M T L _ M A T E R IA L _ T R A N S A C T IO N S in la d r - r e lie v e s r e s e r v a t io n s
( S to r e s R e c o r d o f A L L m a te r ia l t r x n & c o s t u p d a t e s ) in lt c p - c o s t s m a t e r ia l t r a n s a c t io n s
M T L _ O N H A N D _ Q U A N T IT IE S ( M O H Q ) in lt g l - g l t r a n s f e r
R e c o r d s a r e in s e r t e d / u p d a t e d t h r o u g h I / F m a n a g e r s
( S t o r e s q u a n t it y O n - H a n d b y C o n t r o l L e v e l & L o c a t io n ) in lt g p - g e t s o p e n p e r io d in f o f o r t x n .
C O S T E D _ F L A G = 'N ' in lt is - g e n e r a t e s s e r ia l n u m b e r s
T R A N S A C T IO N _ G R O U P _ ID = N U L L

O R G _G L_B A T C H E S N O TES :
C o s t e d _ F la g = 'N ' ( T o B e P r o c e s s e d )
( S to r e s r o w f o r e v e r y b a tc h o f tr a n s a c tio n s th a t h a v e b e e n T O C H E C K M O D U L E V E R S IO N S :
C o s t e d _ F la g = 'E ' ( P r o c e s s e d I n E r r o r )
in te r f a c e d t o G L _ In te r f a c e ) $ c d $ IN V _ T O P /lib
C o s t e d _ F la g = N U L L ( P r o c e s s e d S u c c e s s f u lly )
C h e c k C M C M C W , C M C A C W , C M C L C W r e q u e s t lo g f o r $ s t r in g s - a i n c t c m . o | g r e p - i '$ h e a d e r : '
e rro rs .
C M C T C M /C S T W K R /IN L T C P V ie w A c c o u n t,C u r r e n c y ,L o c a tio n & T r a n s a c tio n t y p e
G L _ IN T E R F A C E M A T E R I A L D I S T R I B U T I O N S - ( G U I ) : M T A t a b le
( S t o r e s a ll r o w s r e a d y t o b e im p o r t e d in t o G L ) V IE W T R A N S A C T IO N D IS T R I B U T IO N S - ( C H A R ) : M T A ta b le

M T L _ T R A N S A C T IO N _ A C C O U N T S
R u n J o u r n a l Im p o r t ( H o ld s A c c o u n t in g in fo f o r E A C H m a te r ia l t x n in M M T )
P E R IO D C L O S E P R O C E S S :
G L T R A N S F E R (IN C T G L /IN L T G L ) G L _ B A T C H _ ID = -1
G E N E R A L LE D G E R P E R IO D C L O S E ( IN C T P C )

P A G E 1

08/19/20
Oracle Inventory
Desktop Transaction Flow Overview

IN V E N T O R Y M A T E R IA L T R A N S A C T IO N S

D a ta fr o m O E / W IP In v e n to ry fo rm s

IN C T C M
IN U T P U P r o c e s s O v e r v ie w
A ll in v e n t o r y t r a n s a c t io n f o r m s c a ll I N C T C W ( t h e w o r k e r ) d ir e c t ly .
M T L _ T R A N S A C T IO N _ L O T _ IN T E R F A C E (M T L I) 1 . M t l_ m a t e r ia l_ t r a n s a c t io n _ t e m p t a b le is f ir s t c h e c k e d f o r a n y r o w s .
M T L _ T R A N S A C T IO N _ L O T _ T E M P (M T L T )
( S to r e s lo t n u m b e r in f o r m a tio n f o r t r a n s a c t io n s in 2 . A s s ig n t r a n s a c t io n _ h e a d e r _ id u s in g m t l_ m a t e r ia l_ t r a n s a c t io n _ s .
( S t o r e s lo t n u m b e r in f o r m a t io n f o r t r a n s a c t io n s in
M T L _ T R A N S A C T IO N S _ IN T E R F A C E ) 3 . P r o c e s s r o w s in m m tt ta b le .
M T L _ M A T E R IA L _ T R A N S A C T IO N S _ T E M P )
4 . M tl_ t r a n s a c tio n s _ in te r f a c e ta b le is c h e c k e d f o r a n y r o w s .
T r a n s a c t io n _ in t e r f a c e _ id jo in s to IN C T C M 5 . A s s ig n t r a n s a c t io n _ h e a d e r _ id u s in g m t l_ m a t e r ia l_ t r a n s a c t io n _ s .
T r a n s a c t io n _ t e m p _ id jo in s t o T r a n s a c t io n _ t e m p _ id in
T r a n s a c t io n _ in t e r f a c e _ id in M T I & M S N I t a b le s . 6 . P r o c e s s r o w s in m ti ta b le ( r e f . M T I to M M T T p r o c e s s b e lo w . )
M M T T ta b le .

IN C T C M
IN U T P U

M T I to M M T T p ro c e s s
M T L _ T R A N S A C T IO N _ L O T _ N U M B E R (M T L N ) P h a s e 1 - D e r iv e s d a t a f o r t h e s e c o lu m n s :
( S t o r e s lo t n u m b e r in f o r m a t io n f o r t r a n s a c t io n s in A c c t_ P e r io d _ id
M T L _ M A T E R IA L _ T R A N S A C T IO N S ) P r im a r y _ Q t y
I n v e n to r y _ Ite m _ id ( W IP )
O p e r a tio n _ S e q _ n u m ( W IP )
T r a n s a c t io n s _ S o u r c e _ id ( f r o m f le x f ie ld s e g m e n t v a lu e s in M T I )
I n v e n t o r y _ I t e m _ id ( f r o m f le x f ie ld s e g m e n t v a lu e s in M T I )
D a ta fr o m O E / W IP In v e n to ry fo rm s D is t r ib u tio n _ A c c o u n t _ id ( f r o m f le x f ie ld s e g m e n t v a lu e s in M T I )
T r a n s a f e r _ L o c a to r ( f r o m f le x f ie ld s e g m e n t v a lu e s in M T I)
L o c a t o r _ id ( f r o m f le x f ie ld s e g m e n t v a lu e s in M T I )

M T L _ S E R IA L _ N U M B E R S _ T E M P (M S N T ) P h a s e 2 - D e t a ile d V a lid a t io n ( v a lid a t io n _ r e q = 1 )


M T L _ S E R IA L _ N U M B E R S _ IN T E R F A C E ( M S N I) ( S to r e s s e r ia l n u m b e r in f o r m a tio n f o r tr a n s a c tio n s in V a lid a t e s t h e d a t a in m t i t a b le a g a in s t d a t a in t a b le s
( S t o r e s s e r ia l n u m b e r in f o r m a t io n f o r t r a n s a c t io n s in M T L _ M A T E R IA L _ T R A N S A C T IO N S _ T E M P ) W IP e n titie s , M tl_ S a le s _ O r d e r s .
M T L _ T R A N S A C T IO N S _ IN T E R F A C E )
IN C T C M T r a n s a c t io n _ t e m p _ id jo in s t o T r a n s a c t io n _ t e m p _ id in P h a s e 3 - C h e c k M t l_ O n h a n d _ Q u a n t it ie s t o s e e if
T r a n s a c t io n _ in t e r f a c e _ id jo in s t o M M T T t a b le if u n d e r S / N c o n t r o l. I f u n d e r lo t c o n t r o l d r iv in g q t y n e g a t iv e .
T r a n s a c tio n _ in t e r f a c e _ id in M T I & M T L I t a b le s . th e n jo in s t o
M t l_ t r a n s a c t io n _ lo t s _ t e m p : S e r ia l_ t r a n s a c t io n _ t e m p P h a s e 4 - R e lie v e d e m a n d

IN C T C M P h a s e 5 - M o v e r o w s f r o m m t l_ t r a n s a c t io n s _ in t e r f a c e
IN U T P U t a b le t o m t l_ m a t e r ia l_ t r a n s a c t io n s _ t e m p t a b le

M T L _ U N IT _ T R A N S A C T IO N S ( M U T )
( S to r e s s e r ia l n u m b e r in f o r m a tio n f o r tr a n s a c tio n s in
M T L _ M A T E R IA L _ T R A N S A C T IO N S )

T r a n s a c t io n _ id jo in s t o T r a n s a c t io n _ _ id in M M T

P A G E 2

08/19/20
Oracle Inventory
Mobile Transaction Flow Overview

N e w J a v a In v e n to ry T r a n s a c tio n M a n a g e r

   S u b s titu te s in lte v /in ltu v


M O V E R E C O R D S
F R O M M T I T O M M T T
V A L ID A T E _ G R O U P S
IN V T X M G S /B .p ls

  IN V _ T X N _ M A N
P ro c e s s _ tra n
s u b s titu t e s IN
A G E R _ A P I
s a c tio n ( )
C T C W ()
V A L ID T E _ L IN E S
P o s t T e m p V a lid a t io n s
R e lie v e r e s e r v a tio n s if a n y

  P R O C E S S _ L P N _ T R X

 
A s s ig n C o s t G r o u p s
IN V _ C O S T _ G R O U P _ P V T .A S S IG N _ C O S T _ G R O U P

C h e c k is C o n te n t L P N is p o p u la te d
E x p lo d e L P N c o n t e n ts a n d in s e r t n e w r o w s in to M M T T

 
 
C a ll O ld T M
if P r o c e s s _ lp n _ tr x
C a ll J a v a T M ? N o
c a lle d f r o m
in ltp u .p p c

Y e s

  C a ll J a v a T M
IN V _ T R X _ M G R .P R O
C E S S _ T R X _ B A T C H
(P L /S Q L w ra p p e r to
th e J a v a s to re d
p ro c e d u re )

08/19/20
Oracle Inventory
Mobile Transaction Flow Overview

  
C H E C K T R A N S A C T IO N T Y P E

 
 
IN V /A C C /A L IA S /P H Y C N T /R M A /S T D C S T W IP IN T R E Q IN T O R D P O S O M O

  G e t A ll T r a n s a c tio n A t t r ib u t e s

U O M C o n v e r s io n s

R a t e C o n v e r s io n s

P a c k / U n p a c k / S p lit ? N o P r o c e s s C o s t in g D e t a ils

P r o c e s s L o t s a n d S e r ia ls

P r o c e s s P r o je c t D e t a ils

  Y e s U p d a te M T L T a b le s

P r o c e s s L o t s a n d S e r ia ls

 
U p d a te M T L T a b le s

O E D R O P
IN S E R T IN R C V IN T E R F A C E U p d a te M T L _ K A N B A N _ C A R D S F in a liz e P ic k C o n f ir m
S H IP M E N T

08/19/20
Oracle Inventory
Transaction Tables

08/19/20
Oracle Inventory
MTL_TRANSACTIONS_INTERFACE (MTI)

•3rd party modules


•Order Management/WIP
•Cannot be populated via Application but some fields are
updateable from the form
•Troubleshooting columns to verify:
PROCESS_FLAG = 1
LOCK_FLAG = 2
TRANSACTION_MODE = 3
ERROR_CODE & ERROR_EXPLANATION = NULL
•Reference
•Rel 11i: Oracle Manufacturing API’s and Open
Interfaces Manual
08/19/20
Oracle Inventory
MTL_TRANSACTIONS_INTERFACE (MTI)
MTL_TRANSACTION_LOTS_INTERFACE
•Stores lot information for transactions in
MTL_TRANSACTIONS_INTERFACE
•Join to MTI using TRANSACTION_INTERFACE_ID
MTL_SERIAL_NUMBERS_INTERFACE
•Stores serial information for transactions in
MTL_TRANSACTIONS_INTERFACE
•Join to MTI using TRANSACTION_INTERFACE_ID

Module
•INCTCM – Material Transaction Manager
Form
•Inv>Transactions>Transactions Open Interface
08/19/20 •INVTVPTX
Oracle Inventory
MTL_TRANSACTIONS_INTERFACE (MTI)

08/19/20
Oracle Inventory
MTL_MATERIAL_TRANSACTIONS_TEMP (MMTT)

•Transactions written directly to Temp bypassing MTI


All Inventory originated transactions
Purchasing, WIP Discrete/Repetitive, Move Orders
•All Transaction passed from MTI must validate in MMTT

•Troubleshooting columns to verify:


PROCESS_FLAG = Y
LOCK_FLAG = N
TRANSACTION_MODE = 3
ERROR_CODE & ERROR_EXPLANATION = NULL

08/19/20
Oracle Inventory
MTL_MATERIAL_TRANSACTIONS_TEMP (MMTT)

•MTL_TRANSACTION_LOTS_TEMP
Stores lot information for transactions in
MTL_MATERIAL_TRANSACTIONS_TEMP
Join to MMTT using TRANSACTION_TEMP_ID

•MTL_SERIAL_NUMBERS_TEMP
Stores serial information for transactions in
MTL_MATERIAL_TRANSACTIONS_TEMP
Join to MMTT using TRANSACTION_TEMP_ID

08/19/20
Oracle Inventory
MTL_MATERIAL_TRANSACTIONS_TEMP (MMTT)

•No fields are updateable via the Application

•Modules:
INCTCM: Material Txn Mgr: Background
Processing
INCTM: Remote Procedure Mgr:
Online Processing
INLTPU: Maintains Transaction Info
•Form
Inv>Transactions>Pending Transactions
INVTVTMP

08/19/20
Oracle Inventory
MTL_MATERIAL_TRANSACTIONS_TEMP (MMTT)

08/19/20
Oracle Inventory
MTL_MATERIAL_TRANSACTIONS (MMT)
•Historical table of all material transactions
•Cost Manager polls table for transactions to cost
•Troubleshooting columns to verify:
COSTED_FLAG = N
TRANSACTION_GROUP_ID = NULL
Unique TRANSACTION_ID for each row
Other columns dependent upon Transaction Type
•Errors in Cost Worker log viewable from Sys Admin
•Release 11 & below records must be re-submitted for
costing via SQL*Plus
•Release 11i allows records to be re-submitted through the
Cost Mgmt Responsibility via the Application although
08/19/20 function is difficult.
Oracle Inventory
MTL_MATERIAL_TRANSACTIONS (MMT)

•Transactions MUST appear chronologically and be costed


chronologically for any Costing methods of Avg, LIFO,
FIFO
•Records must exist in CST_ITEM_COSTS &
CST_ITEM_COST_DETAILS
•Standard costing does not require transaction be
processed chronologically.
• Modules
CMCTCM: Cost Manager
CMCACW Actual Cost Worker – Avg Cost
CMCLCW Layer Cost Worker - LIFO/FIFO
CMCMCW Cost Worker – Std Cost
08/19/20
Oracle Inventory
MTL_MATERIAL_TRANSACTIONS (MMT)

•Form
Inv>Transactions>Material Transactions
Reason/Reference Tab: Costed Y/N
INVTVTXN

08/19/20
Oracle Inventory
MTL_MATERIAL_TRANSACTIONS (MMT)

Valid Costed Values = Yes, No, Error


08/19/20
Oracle Inventory
MTL_TRANSACTION_ACCOUNTS(MTA)

•Holds the accounting information for each material


transaction in MMT
•In most cases, each costed row in MMT should have at least 2 or
more rows in MTA to represent the transaction Debit and Credit
•Join to MMT by TRANSACTION_ID
•Troubleshooting columns to verify:
GL_BATCH_ID = -1
REFERENCE_ACCOUNT = NOT NULL

08/19/20
Oracle Inventory
MTL_TRANSACTION_ACCOUNTS(MTA)

•Module
INLTGL: Transfer to GL
•Form
Inv>Transactions>Material Distributions
CSTFQITD

08/19/20
Oracle Inventory
MTL_TRANSACTION_ACCOUNTS(MTA)

08/19/20
Oracle Inventory
ORG_GL_BATCHES (OGB)
•Stores row for each batch of transactions interfaced to
GL_INTERFACES
•Troubleshooting columns to verify:
OGB.GL_BATCH_ID = MTA.GL_BATCH_ID
ACCOUNT_PERIOD_ID
ORGANIZATION_ID
•Module
INLTGL: Transfer to GL
•Form
Inv>Accounting Close Cycle>View General Ledger
Transfers

08/19/20
INVTTGGL
Oracle Inventory
Transfer to GL

08/19/20
Oracle Inventory
ORG_GL_BATCHES (OGB)

08/19/20
Oracle Inventory
GL_INTERFACE (GLI)
•Stores row for each batch of transactions interfaced to
GL_INTERFACES
•Troubleshooting columns to verify:
REFERENCE1 = MTA.GL_BATCH_ID /
ORGANIZATION_ID
REFERENCE21 = MTA.GL_BATCH_ID
REFERENCE22 = MTA.ORGANIZATION_ID
•Run Import to GL > GL Vision Ops (USA) Responsibility
Designate Source (i.e. Inventory) and Optionally
Group ID
Journals>Import>Run

08/19/20
Oracle Inventory
GL_INTERFACE (GLI)

08/19/20
Oracle Inventory
GL_INTERFACE (GLI)
•Inquiry on Batch
Inquiry>Journal
Source = Inventory
Period = <Period to Query>

08/19/20
Oracle Inventory
GL_INTERFACE (GLI)

08/19/20
Oracle Inventory
Transaction Troubleshooting

08/19/20
Oracle Inventory
Troubleshooting – Ensure Managers Are Up

•Concurrent Managers Up
Sys Admin>Concurrent>Managers>Administer
Managers
Inventory Manager
Inventory Remote Procedure Manager
Standard Manager (Cost)
•Transaction & Cost Interface Managers Up
Inv>Setup>Transactions>Interface Managers
Check Scheduling

08/19/20
Oracle Inventory
Concurrent Managers

08/19/20 Actual & Target columns should be equal


Oracle Inventory
Launching Interface Managers

08/19/20
Oracle Inventory
Scheduling Interface Managers

08/19/20
Oracle Inventory
Cost Worker Log File

Example: Material cost transaction worker


08/19/20
Oracle Inventory
Troubleshooting

•Profile Options
INV:
INV: Debug file – Must have read/write privileges
INV: Debug Trace – ‘Yes’
INV: Debug Level – Set to ‘9’
MRP:
MRP: Debug Mode – ‘Yes’
MRP: Trace Mode – ‘Yes’

08/19/20
Oracle Inventory
Troubleshooting – Useful Query
MTL_TRANSACTIONS_INTERFACE

select
substr(transaction_interface_id,1,7) "Txn Id",
substr(inventory_item_id,1,12) "Item Id",
substr(organization_id,1,4) "Org Id",
substr(subinventory_code,1,12) "Subinv",
substr(decode(locator_id,NULL, 'No Loc',locator_id),1,9) "Loc Id",
substr(decode(revision,NULL, 'No Rev',revision),1,7) "Rev",
substr(transaction_quantity,1,9) "Txn Qty",
substr(transaction_date,1,9) "Txn Date",
substr(transaction_type_id,1,7) "Type",
cost_group_id “Cost Grp”,
substr(decode(transaction_source_id,NULL, 'Not Source Id',transaction_source_id),1,15) "Src Id",
substr(decode(transfer_subinventory,NULL, 'Not a Transfer', transfer_subinventory),1,15) "XFR Subinv",
substr(decode(transfer_locator,NULL, 'Not a Transfer', transfer_locator),1,15) "XFR Loc",
substr(decode(trx_source_line_id,NULL,'Not Source Line',trx_source_line_Id),1,15) "Src Line",
substr(process_flag,1,7) "PFlag",
substr(lock_flag,1,7) "LFlag",
substr(transaction_mode,1,5) "Mode",
substr(error_explanation,1,15) "Explanation",
substr(error_code,1,9) "E Code"
from mtl_transactions_interface
where inventory_item_id =&item_id
and organization_id = &Org_id
and transaction_interface_id = &Txn_id
order08/19/20
by transaction_source_id, trx_source_line_id;
Oracle Inventory
Troubleshooting – Useful Query

MTL_MATERIAL_TRANSACTIONS_TEMP
select
substr(transaction_temp_id,1,7) "Txn Id",
substr(inventory_item_id,1,12) "Item Id",
substr(organization_id,1,4) "Org Id",
substr(subinventory_code,1,12) "Subinv",
substr(decode(locator_id,NULL, 'No Loc',locator_id),1,9) "Loc Id",
substr(decode(revision,NULL, 'No Rev',revision),1,7) "Rev",
substr(transaction_quantity,1,9) "Txn Qty",
substr(transaction_date,1,9) "Txn Date",
substr(transaction_type_id,1,7) "Type",
cost_group_id “Cost Grp”,
substr(decode(transaction_source_id,NULL, 'Not Source Id',transaction_source_id),1,15) "Src Id",
substr(decode(transfer_subinventory,NULL, 'Not a Transfer', transfer_subinventory),1,15) "XFR Subinv",
substr(decode(transfer_to_location,NULL, 'Not a Transfer', transfer_to_location),1,15) "XFR Loc",
substr(decode(trx_source_line_id,NULL,'Not Source Line',trx_source_line_Id),1,15) "Src Line",
substr(process_flag,1,7) "PFlag",
substr(lock_flag,1,7) "LFlag",
substr(transaction_mode,1,5) "Mode",
substr(error_explanation,1,15) "Explanation",
substr(error_code,1,9) "E Code"
from mtl_material_transactions_temp
where inventory_item_id =&item_id
and organization_id = &Org_id
and transaction_temp_id = &Txn_id
order by transaction_source_id, trx_source_line_id
08/19/20
Oracle Inventory
Troubleshooting – Useful Query
MTL_MATERIAL_TRANSACTIONS
select
substr(transaction_id,1,7) "Txn Id",
substr(inventory_item_id,1,12) "Item Id",
substr(organization_id,1,4) "Org Id",
substr(subinventory_code,1,12) "Subinv",
substr(decode(locator_id,NULL, 'No Loc',locator_id),1,9) "Loc Id",
substr(decode(revision,NULL, 'No Rev',revision),1,7) "Rev",
substr(transaction_quantity,1,9) "Txn Qty",
substr(transaction_date,1,9) "Txn Date",
substr(transaction_type_id,1,7) "Type",
cost_group_id “Cost Grp”,
substr(decode(transaction_source_id,NULL, 'No Source Id',transaction_source_id),1,15) "Src Id",
substr(decode(transfer_subinventory,NULL, 'Not a Transfer', transfer_subinventory),1,15) "XFR Subinv",
substr(decode(transfer_locator_id,NULL, 'Not a Transfer', transfer_locator_id),1,15) "XFR Loc",
substr(decode(trx_source_line_id,NULL,'No Source Line',trx_source_line_Id),1,15) "Src Line",
substr(error_explanation,1,15) "Explanation",
substr(error_code,1,9) "E Code"
from mtl_material_transactions
where inventory_item_id =&item_id
and organization_id = &Org_id
and transaction_id = &Txn_id
order by transaction_source_id, trx_source_line_id;
08/19/20
Oracle Inventory
Common Issues

08/19/20
Oracle Inventory
Common Issues

• WIP
 Rows missing in WPB = INV_NO_UPDATE message
 Transactions without transaction_source_id
 Difference in decimal precision from INV to WIP
 Transactions without required data (I.e. locator, subinventory info)
 WIP allows job to be closed without checking if all transactions are
completely costed.
 Error in “inltpu” message

08/19/20
Oracle Inventory
Common Issues

• Order Management
 OM allows transactions in a closed INV period
 OM not enforcing Inventory controls
 OM does not check if Internal Req open before processing Internal
Sales Order
 Closing Sales Order in OM does not always relieve demand /
reservations
 Onhand quantity related issues

08/19/20
Oracle Inventory
Common Issues

• Purchasing
 Cryptical error messages “rvtii 060 or 150”
 Error in “inltpu” message

08/19/20
Oracle Inventory
Common Issues

• Cost
 Cost mgr not up or not scheduled
 Costing fails with no messages (usually due to missing required data)
 Cost transactions out of sequence (not chronologically processed)

08/19/20
Oracle Inventory
Common Issues

• Inventory
 Interface Mgrs not up or not scheduled
 Serial number issues (current_status = 6)
 Bugs with inltpu module

08/19/20
Oracle Inventory

Q&A

08/19/20

You might also like