SELECT
FU.description
创建者,
MSD.CREATION_DATE
创建日期,
MSD.SCHEDULE_DESIGNATOR
计划名称,
MSD.SCHEDULE_DATE
计划日期,
MSI.SEGMENT1
物料编码,
MSI.DESCRIPTION 描述,
MSD.ORIGINAL_SCHEDULE_QUANTITY
计划初始数,
MSD.SCHEDULE_QUANTITY
计划当前数
FROM MRP.MRP_SCHEDULE_DATES
MSD,
INV.MTL_SYSTEM_ITEMS_B
MSI,
applsys.fnd_user
FU
WHERE MSD.ORGANIZATION_ID=X
AND
FU.USER_ID=MSD.CREATED_BY
AND
MSI.ORGANIZATION_ID=MSD.ORGANIZATION_ID
AND
MSI.INVENTORY_ITEM_ID=MSD.INVENTORY_ITEM_ID
AND
(MSD.CREATION_DATE BETWEEN ‘01/01/20** 00:00:00‘ AND ‘01/31/20**
23:59:59‘)
Oracle EBS-SQL (MRP-2):检查期间主计划录入记录数.sql,布布扣,bubuko.com
Oracle EBS-SQL (MRP-2):检查期间主计划录入记录数.sql
原文地址:http://www.cnblogs.com/st-sun/p/3778475.html