Query to get Lot , Sublot information for Sales Order in Oracle Fusion SCM
select MAX(CASE WHEN seq =1 THEN parent_lot_number END) parentlot1, MAX(CASE WHEN seq =2 THEN parent_lot_number END) parentlot2, MAX(CASE WHEN seq =3 THEN parent_lot_number END) parentlot3, [...]