|
|

楼主 |
发表于 2010/8/26 13:59:27
|
显示全部楼层
本帖最后由 tchen 于 2010/8/26 14:03 编辑
这个是VO2的, 虽然基于EO,但是QUERY 有点改变, 如下红色部分
SELECT SeaoeMsaShipLines.SHIP_HEADER_ID,
SeaoeMsaShipLines.SHIP_LINE_ID,
SeaoeMsaShipLines.PART_NUMBER,
(SELECT DESCRIPTION
FROM APPS.MTL_SYSTEM_ITEMS_B
WHERE SeaoeMsaShipLines.PART_NUMBER = SEGMENT1
AND ROWNUM = 1) PART_DESC,
SeaoeMsaShipLines.UNIT_OF_MEASURE,
SeaoeMsaShipLines.ADDITIONAL_PART_DESC,
SeaoeMsaShipLines.QUANTITY,
SeaoeMsaShipLines.UNIT_PRICE,
SeaoeMsaShipLines.COUNTRY_OF_ORIGIN,
SeaoeMsaShipLines.CREDIT_ACCOUNT_NUMBER,
SeaoeMsaShipLines.PURCHASE_ORDER_NUMBER,
SeaoeMsaShipLines.RMA_NUMBER,
SeaoeMsaShipLines.REUSED_PACKAGING_MATERIALS,
SeaoeMsaShipLines.USED_EQUIP_OR_SPARE_PARTS,
SeaoeMsaShipLines.HAZARDOUS_MATERIAL,
SeaoeMsaShipLines.EXTENDED_AMOUNT,
'N' SELECT_FLAG,
'Ok_Delete' Delete_Flag,
0 Viewline
FROM SEAMSA_MSA_SHIP_LINES SeaoeMsaShipLines
WHERE SeaoeMsaShipLines.SHIP_HEADER_ID = :1 |
|