一分*最可靠的平台邀请码55519996

导师29313607官方码25888888王纸hct97点comSELECT P.T_PROJECT_NUM, P.Phd_ProjectName, P.M_PRODUCT_NUM, P.M_PRODUCT_DESC, P.T_INVENTORY_ITEM_CODE
, P.T_ITEM_DESCRIPTION, P.T_PRIMARY_UNIT_OF_MEASURE, SUM(P.T_PRIMARY_QUANTITY) AS MaterialCount
FROM (
SELECT T_PROJECT_NUM, Phd_ProjectName, M_PRODUCT_NUM, M_PRODUCT_DESC, T_INVENTORY_ITEM_CODE
, T_ITEM_DESCRIPTION, T_PRIMARY_UNIT_OF_MEASURE, T_PRIMARY_QUANTITY
FROM ERP_INV_InquiryMtlTransaction
LEFT JOIN BP_MDM_Material ON T_INVENTORY_ITEM_CODE = M_MATERIAL_CODE
LEFT JOIN T_ProjectHisDoc
ON (Phd_ProjectNumber = T_PROJECT_NUM
OR Phd_ProjectNumber15 = T_PROJECT_NUM)
) P
GROUP BY P.T_PROJECT_NUM, P.Phd_ProjectName, P.M_PRODUCT_NUM, P.M_PRODUCT_DESC, P.T_INVENTORY_ITEM_CODE, P.T_ITEM_DESCRIPTION, P.T_PRIMARY_UNIT_OF_MEASURE

上一篇:一分*全网*注册邀请码55519996


下一篇:一分*全网通用最安全的邀请码55519996