SELECT distinct ooha.order_type_id, ott.NAME "Order Type Name"
FROM oe_transaction_types_tl ott,
oe_order_headers_all ooha
WHERE ooha.order_type_id = ott.transaction_type_id ;
OUTPUT :
1162 Delivery - On Account APO
1166 MM APO Charitable Donation
1170 MM APO Trade Shows
1241 MM US Samples - Apollo
1261 MM US Samples - Langley
1143 Will Call - Cash
1384 E-commerce Parcel
1101 Internal Order MT
1168 MM APO Return
1092 Will Call - On Account APO
FROM oe_transaction_types_tl ott,
oe_order_headers_all ooha
WHERE ooha.order_type_id = ott.transaction_type_id ;
OUTPUT :
1162 Delivery - On Account APO
1166 MM APO Charitable Donation
1170 MM APO Trade Shows
1241 MM US Samples - Apollo
1261 MM US Samples - Langley
1143 Will Call - Cash
1384 E-commerce Parcel
1101 Internal Order MT
1168 MM APO Return
1092 Will Call - On Account APO
No comments:
Post a Comment