
-- 余额减少
DELETE FROM T_PLAT_DYMACCDS WHERE FID = 944854513800635392;
INSERT INTO T_PLAT_DYMACCDS(FID,FSRCBILL,FCREATETIME,FMODIFIERID,FENABLE,FUPDATETYPE,FMODIFYTIME,FDYMACC,FISINIT,FRUNCONDITIONDESC,FRUNCONDITION,FCREATORID) VALUES (944854513800635392,'im_disassemblebill',{ts'2020-07-27  15:34:21'},546346682883868672,'1','SUB',{ts'2020-07-29  16:33:48'},544603717274490880,'0',' ',' ',1); 

-- 余额增加
DELETE FROM T_PLAT_DYMACCDS WHERE FID = 944853050491855872;
INSERT INTO T_PLAT_DYMACCDS(FID,FSRCBILL,FCREATETIME,FMODIFIERID,FENABLE,FUPDATETYPE,FMODIFYTIME,FDYMACC,FISINIT,FRUNCONDITIONDESC,FRUNCONDITION,FCREATORID) VALUES (944853050491855872,'im_disassemblebill',{ts'2020-07-27  15:28:19'},546346682883868672,'1','ADD',{ts'2020-07-29  16:34:53'},544603717274490880,'0',' ',' ',1); 

-- 余额减少
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634381;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.unit','拆卸前物料明细.计量单位',944854513800634381,'库存单位','unit',' ',14,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634382;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.unit2nd','拆卸前物料明细.辅助单位',944854513800634382,'辅助单位','unit2nd',' ',15,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634383;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ',' ',' ',944854513800634383,'次辅单位','unit3rd',' ',16,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634384;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.producedate','拆卸前物料明细.生产日期',944854513800634384,'生产日期','producedate',' ',17,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634385;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.expirydate','拆卸前物料明细.到期日期',944854513800634385,'有效期至','expirydate',' ',18,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634386;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ',' ',' ',944854513800634386,'物料名称','materialname',' ',19,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634387;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.invtype','拆卸前物料明细.出库库存类型',944854513800634387,'库存类型','invtype',' ',20,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634388;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.project','拆卸前物料明细.项目',944854513800634388,'项目','project',' ',21,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634389;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.baseqty','拆卸前物料明细.基本数量',944854513800634389,'库存量(基本单位)','baseqty',' ',22,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634390;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.qty','拆卸前物料明细.数量',944854513800634390,'库存量(库存单位)','qty',' ',23,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634391;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.qtyunit2nd','拆卸前物料明细.辅助数量',944854513800634391,'库存量(辅助单位)','qty2nd',' ',24,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634392;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ',' ',' ',944854513800634392,'库存量(次辅单位)','qty3rd',' ',25,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634393;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ',' ',' ',944854513800634393,'锁库量(基本单位)','lockbaseqty',' ',26,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634394;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ',' ',' ',944854513800634394,'锁库量(库存单位)','lockqty',' ',27,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634395;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ',' ',' ',944854513800634395,'锁库量(辅助单位)','lockqty2nd',' ',28,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634396;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ',' ',' ',944854513800634396,'锁库量(次辅单位)','lockqty3rd',' ',29,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634397;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.baseqty','拆卸前物料明细.基本数量',944854513800634397,'可用量(基本单位)','avbbaseqty',' ',30,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634398;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.qty','拆卸前物料明细.数量',944854513800634398,'可用量(库存单位)','avbqty',' ',31,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634399;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.qtyunit2nd','拆卸前物料明细.辅助数量',944854513800634399,'可用量(辅助单位)','avbqty2nd',' ',32,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634400;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ',' ',' ',944854513800634400,'可用量(次辅单位)','avbqty3rd',' ',33,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634401;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.lotnumber','拆卸前物料明细.批号',944854513800634401,'批号','lotnum',' ',34,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634368;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','org','单据头.库存组织',944854513800634368,'库存组织','org',' ',1,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634369;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.material.masterid','拆卸前物料明细.物料编码.物料',944854513800634369,'物料','material',' ',2,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634370;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.ownertype','拆卸前物料明细.出库货主类型',944854513800634370,'货主类型','ownertype',' ',3,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634371;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.owner','拆卸前物料明细.出库货主',944854513800634371,'货主','owner',' ',4,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634372;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.warehouse','拆卸前物料明细.仓库',944854513800634372,'仓库','warehouse',' ',5,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634373;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.location','拆卸前物料明细.仓位',944854513800634373,'仓位','location',' ',6,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634374;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.keepertype','拆卸前物料明细.出库保管者类型',944854513800634374,'保管者类型','keepertype',' ',7,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634375;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.auxpty','拆卸前物料明细.辅助属性',944854513800634375,'辅助属性','auxpty',' ',8,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634376;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.keeper','拆卸前物料明细.出库保管者',944854513800634376,'保管者','keeper',' ',9,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634377;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.invstatus','拆卸前物料明细.出库库存状态',944854513800634377,'库存状态','invstatus',' ',10,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634378;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ',' ',' ',944854513800634378,'批号id','lot',' ',11,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634379;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ',' ',' ',944854513800634379,'发生日期','updatetime',' ',12,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944854513800634380;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944854513800635392,' ','billentry.baseunit','拆卸前物料明细.基本单位',944854513800634380,'基本单位','baseunit',' ',13,'0'); 


-- 余额增加
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854848;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','org','单据头.库存组织',944853050491854848,'库存组织','org',' ',1,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854849;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.material1.masterid','拆卸后物料明细.物料编码.物料',944853050491854849,'物料','material',' ',2,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854850;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.ownertype1','拆卸后物料明细.入库货主类型',944853050491854850,'货主类型','ownertype',' ',3,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854851;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.owner1','拆卸后物料明细.入库货主',944853050491854851,'货主','owner',' ',4,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854852;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.warehouse1','拆卸后物料明细.仓库',944853050491854852,'仓库','warehouse',' ',5,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854853;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.location1','拆卸后物料明细.仓位',944853050491854853,'仓位','location',' ',6,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854854;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.keepertype1','拆卸后物料明细.入库保管者类型',944853050491854854,'保管者类型','keepertype',' ',7,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854855;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.auxpty1','拆卸后物料明细.辅助属性',944853050491854855,'辅助属性','auxpty',' ',8,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854856;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.keeper1','拆卸后物料明细.入库保管者',944853050491854856,'保管者','keeper',' ',9,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854857;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.invstatus1','拆卸后物料明细.入库库存状态',944853050491854857,'库存状态','invstatus',' ',10,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854858;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ',' ',' ',944853050491854858,'批号id','lot',' ',11,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854859;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ',' ',' ',944853050491854859,'发生日期','updatetime',' ',12,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854860;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.baseunit1','拆卸后物料明细.基本单位',944853050491854860,'基本单位','baseunit',' ',13,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854861;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.unit1','拆卸后物料明细.计量单位',944853050491854861,'库存单位','unit',' ',14,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854862;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.unit2nd1','拆卸后物料明细.辅助单位',944853050491854862,'辅助单位','unit2nd',' ',15,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854863;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ',' ',' ',944853050491854863,'次辅单位','unit3rd',' ',16,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854864;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.producedate1','拆卸后物料明细.生产日期',944853050491854864,'生产日期','producedate',' ',17,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854865;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.expirydate1','拆卸后物料明细.到期日期',944853050491854865,'有效期至','expirydate',' ',18,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854866;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.material1.name','拆卸后物料明细.物料编码.名称',944853050491854866,'物料名称','materialname',' ',19,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854867;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.invtype1','拆卸后物料明细.入库库存类型',944853050491854867,'库存类型','invtype',' ',20,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854868;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.project1','拆卸后物料明细.项目',944853050491854868,'项目','project',' ',21,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854869;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.baseqty1','拆卸后物料明细.基本数量',944853050491854869,'库存量(基本单位)','baseqty',' ',22,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854870;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.qty1','拆卸后物料明细.数量',944853050491854870,'库存量(库存单位)','qty',' ',23,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854871;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.qtyunit2nd1','拆卸后物料明细.辅助数量',944853050491854871,'库存量(辅助单位)','qty2nd',' ',24,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854872;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ',' ',' ',944853050491854872,'库存量(次辅单位)','qty3rd',' ',25,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854873;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ',' ',' ',944853050491854873,'锁库量(基本单位)','lockbaseqty',' ',26,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854874;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ',' ',' ',944853050491854874,'锁库量(库存单位)','lockqty',' ',27,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854875;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ',' ',' ',944853050491854875,'锁库量(辅助单位)','lockqty2nd',' ',28,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854876;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ',' ',' ',944853050491854876,'锁库量(次辅单位)','lockqty3rd',' ',29,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854877;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.baseqty1','拆卸后物料明细.基本数量',944853050491854877,'可用量(基本单位)','avbbaseqty',' ',30,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854878;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.qty1','拆卸后物料明细.数量',944853050491854878,'可用量(库存单位)','avbqty',' ',31,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854879;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.qtyunit2nd1','拆卸后物料明细.辅助数量',944853050491854879,'可用量(辅助单位)','avbqty2nd',' ',32,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854880;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ',' ',' ',944853050491854880,'可用量(次辅单位)','avbqty3rd',' ',33,'0'); 
DELETE FROM T_PLAT_DYMACCDSMAPPENTRY WHERE FENTRYID = 944853050491854881;
INSERT INTO T_PLAT_DYMACCDSMAPPENTRY(FID,FFIELDFORMULADESC,FSOURCEFIELD,FSOURCEFIELDNAME,FENTRYID,FTARGETFIELDNAME,FTARGETFIELD,FFIELDFORMULA,FSEQ,FCONVERTTYPE) VALUES (944853050491855872,' ','afterentity.lotnumber1','拆卸后物料明细.批号',944853050491854881,'批号','lotnum',' ',34,'0'); 
