RAW Material Traceability
Hi All,
Working IN OPM Version 12.2.10
trying write a query for Lot Genealogy in R12, need help to drill down till purchase order
needs to go into drill down mode and find out if any consumed lot is produced, if yes, then display all its ingredients??
Please need help
select ood.organization_code ORG_CODE, gbh.batch_no, gbh.batch_id, gmd.line_no,
gmd.material_detail_id, gmd.line_type
,(select mtln.lot_number from mtl_transaction_lot_numbers mtln
where mmt.transaction_id = mtln.transaction_id
and mmt.organization_id = mtln.organization_id
) lot_number
,(select mtln.transaction_id from mtl_transaction_lot_numbers mtln