生产入库生成凭证时报下面的错误:
parse error. detail message is :
Error: expect token
source sql is :
Select
t0.FID AS fid , t1.FENTRYID AS fentity_fentryid , t0.FDATE AS fdate , t0.FPRDORGID AS fprdorgid , t1.FAMOUNT AS famount , t011_L.FNAME AS fworkshopid_fname , t1.FWORKSHOPID AS fworkshopid1 , t0.FBILLNO AS fbillno , t130_O.FNAME AS fmaterialid_fcategoryid
,KSQL_SEQ FAutoIdentity
Into tmp8a7b7d46b4c311e393266eae8b7
From
T_PRD_INSTOCK t0 LEFT JOIN T_PRD_INSTOCKENTRY t1
ON (t0.FID = t1.FID ) LEFT JOIN
T_BD_DEPARTMENT_L t011_L ON (t0.=t011_L.FDEPTID AND t011_L.FLocaleId=2052) LEFT JOIN
T_BD_MATERIAL t11 ON (t1.FMATERIALID=t11.FMATERIALID) LEFT JOIN
注意:红色部分没有字段
推荐阅读