DELETE FROM T_SBS_BILLFIELDMAP WHERE FID = 1687586124312219648;
INSERT INTO T_SBS_BILLFIELDMAP(FID,FTARGETOBJ,FMODIFYDATE,FSOURCEBILL,FMODIFIERID,FCREATEDATE,FBIZAPPID,FISENABLE,FCREATERID,FNUMBER,FISSYSINIT,FNAME) VALUES (1687586124312219648,'balanceinv_demandbill',{ts'2023-05-24  00:00:00'},'msplan_invlevel',13466739,{ts'2023-05-18  00:00:00'},'=9Q86DR2P+Q','1',13466739,'safty inv-map-balanceinv demandbill','1','库存水位与平衡利库需求单映射关系');


DELETE FROM t_sbs_billfieldmap_l WHERE FPKID = '3==177EBTA2Y';
INSERT INTO t_sbs_billfieldmap_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1687586124312219648,'3==177EBTA2Y','zh_CN','库存水位与平衡利库需求单映射关系');
DELETE FROM t_sbs_billfieldmap_l WHERE FPKID = '3==177EBTA2Z';
INSERT INTO t_sbs_billfieldmap_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1687586124312219648,'3==177EBTA2Z','zh_TW','庫存水位與平衡利庫需求單映射關係');

DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1687586124312218624;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.demandorg',' ',1687586124312219648,'单据体.需求组织',' ','单据体.业务组织','0',1687586124312218624,1,'entryentity.bos_org',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1687586124312218625;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.billid','库存水位信息.内码',1687586124312219648,'单据体.单据ID','{"expression":"id","exprTran":"库存水位信息.内码","description":{"zh_CN":""},"localeExprTran":{"zh_CN":"库存水位信息.内码"},"exprDesc":"库存水位信息.内码"}',' ','1',1687586124312218625,3,' ',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1687586124312218626;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.material',' ',1687586124312219648,'单据体.物料',' ','单据体.物料','0',1687586124312218626,4,'entryentity.bd_material',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1687586124312218627;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.baseunit','基本单位',1687586124312219648,'单据体.基本单位','{"expression":"entryentity.bd_material.baseunit ","exprTran":"entryentity.bd_material.baseunit ","description":{"zh_CN":"基本单位"},"exprDesc":"基本单位","localeExprTran":{"zh_CN":"entryentity.bd_material.baseunit "}}',' ','1',1687586124312218627,5,' ',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1687586124312218628;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.demandqty','entryentity.safeinv',1687586124312219648,'单据体.需求基本数量','{"expression":"entryentity.safeinv","exprTran":"entryentity.safeinv","description":{"zh_CN":""},"exprDesc":"entryentity.safeinv","localeExprTran":{"zh_CN":"entryentity.safeinv"}}',' ','1',1687586124312218628,6,' ',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1687586124312218629;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.billdate','NOW()',1687586124312219648,'单据体.需求日期','{"expression":"NOW()","exprTran":"NOW()","description":{"zh_CN":""},"localeExprTran":{"zh_CN":"NOW()"},"exprDesc":"NOW()"}',' ','1',1687586124312218629,7,' ',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1687586124312218630;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.stock',' ',1687586124312219648,'单据体.仓库',' ','单据体.仓库','0',1687586124312218630,8,'entryentity.bd_warehouse',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1687586124312218631;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.billnumber',' ',1687586124312219648,'单据体.单据编码',' ','编码','0',1687586124312218631,9,'number',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1687586124312218632;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.demandtype','''B''',1687586124312219648,'单据体.需求分类','{"expression":"''B''","exprTran":"''B''","description":{"zh_CN":""},"exprDesc":"''B''","localeExprTran":{"zh_CN":"''B''"}}',' ','1',1687586124312218632,10,' ',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1691879010210100224;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.balanceinvorg',' ',1687586124312219648,'单据体.利库组织',' ','单据体.业务组织','0',1691879010210100224,11,'entryentity.bos_org',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1691883902823776256;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.billtype','"msplan_invlevel"',1687586124312219648,'单据体.单据类型','{"expression":"\"msplan_invlevel\"","exprTran":"\"msplan_invlevel\"","description":{"zh_CN":""},"exprDesc":"\"msplan_invlevel\"","localeExprTran":{"zh_CN":"\"msplan_invlevel\""}}',' ','1',1691883902823776256,12,' ',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1691888070636549120;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.billentryid','单据体.内码',1687586124312219648,'单据体.单据分录ID','{"expression":"entryentity.id","exprTran":"单据体.内码","description":{"zh_CN":""},"exprDesc":"单据体.内码","localeExprTran":{"zh_CN":"单据体.内码"}}',' ','1',1691888070636549120,13,' ',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1691888070636549121;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.billentryseq','单据体.序号',1687586124312219648,'单据体.单据分录行号','{"expression":"entryentity.seq","exprTran":"单据体.序号","description":{"zh_CN":""},"exprDesc":"单据体.序号","localeExprTran":{"zh_CN":"单据体.序号"}}',' ','1',1691888070636549121,14,' ',' ');
DELETE FROM t_sbs_billfieldmap_e WHERE FENTRYID = 1687772938813912064;
INSERT INTO t_sbs_billfieldmap_e(FTARGETOBJCOL,FFORMULADESC,FID,FTARGETOBJCOLNO,FFORMULA_TAG,FSOURCEBILLCOLNO,FSELECTVALUE,FENTRYID,FSEQ,FSOURCEBILLCOL,FFORMULA) VALUES ('entryentity.supplyorgunit',' ',1687586124312219648,'单据体.供应组织',' ','单据体.业务组织','0',1687772938813912064,2,'entryentity.bos_org',' ');
