物料主数据 描述、名称
SELECT i.ITEMID, i.DATAAREAID, ISNULL(ept.DESCRIPTION, N'') AS ItemDescription, ISNULL(ept.NAME, N'') AS ItemName FROM INVENTTABLE AS i LEFT OUTER JOIN ECORESPRODUCT AS ep ON i.ITEMID = ep.DISPLAYPRODUCTNUMBER LEFT OUTER JOIN ECORESPRODUCTTRANSLATION AS ept ON ep.RECID = ept.PRODUCT WHERE (i.DATAAREAID IN ('tpsz', 'tpwj')) AND (ISNULL(ept.LANGUAGEID, N'en-us') = 'en-us')
留言评论
暂无留言