--WO2405090020

SELECT t0.FBILLNO,t0.FBILLTYPE,t0e.FSEQ,t0e.FMATERIALID,t0e0.FNUMBER
	,t1e.FLOT,t1e.FLOT_TEXT
	,t1e0.FMATERIALID,t1e0.FNUMBER
FROM T_PRD_MO t0
	INNER JOIN T_PRD_MOENTRY t0e on t0.FID = t0e.FID
	INNER JOIN T_BD_MATERIAL t0e0 on t0e0.FMATERIALID = t0e.FMATERIALID
	LEFT JOIN T_PRD_PICKMTRLDATA t1e on t1e.FMOENTRYID = t0e.FENTRYID
	INNER JOIN T_BD_MATERIAL t1e0 on t1e.FMATERIALID = t1e0.FMATERIALID

--SELECT * FROM T_PRD_PICKMTRLDATA