Material Transactions Flow :
SELECT mmt.transaction_id,
mmt.subinventory_code,
mtt.transaction_type_name,
mtt.description,
mtst.transaction_source_type_name,
(SELECT meaning
FROM MFG_LOOKUPS
WHERE LOOKUP_TYPE = 'MTL_TRANSACTION_ACTION'
AND lookup_code = mmt.transaction_action_id)
transaction_action,
mmt.transaction_quantity,
mmt.*
FROM mtl_material_transactions mmt,
mtl_transaction_types mtt,
mtl_txn_source_types mtst
WHERE mmt.transaction_id >= 10836018
AND mmt.transaction_type_id = mtt.transaction_type_id
AND mmt.transaction_source_type_id = mtst.transaction_source_type_id
SELECT mmt.transaction_id,
mmt.subinventory_code,
mtt.transaction_type_name,
mtt.description,
mtst.transaction_source_type_name,
(SELECT meaning
FROM MFG_LOOKUPS
WHERE LOOKUP_TYPE = 'MTL_TRANSACTION_ACTION'
AND lookup_code = mmt.transaction_action_id)
transaction_action,
mmt.transaction_quantity,
mmt.*
FROM mtl_material_transactions mmt,
mtl_transaction_types mtt,
mtl_txn_source_types mtst
WHERE mmt.transaction_id >= 10836018
AND mmt.transaction_type_id = mtt.transaction_type_id
AND mmt.transaction_source_type_id = mtst.transaction_source_type_id
No comments:
Post a Comment