--农产品计算抵扣
DELETE FROM t_tctb_datasource WHERE FID = 1624630098433121280;
INSERT INTO t_tctb_datasource(FID,FBIZNAME,FISCHILD,FTYPE,FCONDITION,FORGTAKERELATION,FCREATEORGID,FSUBENTITYNAME,FUSERORG,FORGID,FMASTERID,FSTATUS,FCTRLSTRATEGY,FENTITYNAME,FGROUPID,FNUMBER,FCREATETIME,FMODIFIERID,FENABLE,FTAXTYPE,FMODIFYTIME,FCREATORID,FISSYSTEM) VALUES (1624630098433121280,'农产品计算抵扣','1','0',' ','0',100000,'entryentity',100000,100000,1624630098433121280,'C','5','til_jxdk_ncpjsdk_bill',978216567512983552,' ',{ts'2023-02-20  00:00:00'},13466739,'1',' ',{ts'2023-02-20  00:00:00'},13466739,'1');

DELETE FROM t_tctb_datasource_pkrules WHERE FPKID = 1624630098651101185;
INSERT INTO t_tctb_datasource_pkrules(FID,FBASEDATAID,FPKID) VALUES (1624630098433121280,1379060697924782080,1624630098651101185); 

DELETE FROM t_tctb_datasource_l WHERE FPKID = '32JF4QKW+X64';
INSERT INTO t_tctb_datasource_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1624630098433121280,'32JF4QKW+X64','zh_CN','til_jxdk_ncpjsdk_bill'); 

DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225088;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','单据编号','0','0',',bqhj,',1624630098651225088,'1','til_jxdk_ncpjsdk_bill','0','0','1',1,'billno','0','单据编号','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225089;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','单据状态','0','0',' ',1624630098651225089,'1','til_jxdk_ncpjsdk_bill','0','1','0',2,'billstatus','0','单据状态','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225090;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','创建人','0','0',' ',1624630098651225090,'1','til_jxdk_ncpjsdk_bill','0','0','0',3,'creator','0','创建人','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225091;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','修改人','0','0',' ',1624630098651225091,'1','til_jxdk_ncpjsdk_bill','0','0','0',4,'modifier','0','修改人','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225092;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','审核人','0','0',' ',1624630098651225092,'1','til_jxdk_ncpjsdk_bill','0','0','0',5,'auditor','0','审核人','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225093;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','审核日期','0','0',' ',1624630098651225093,'1','til_jxdk_ncpjsdk_bill','0','0','0',6,'auditdate','0','审核日期','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225094;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','修改时间','0','0',' ',1624630098651225094,'1','til_jxdk_ncpjsdk_bill','0','0','0',7,'modifytime','0','修改时间','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225095;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','创建时间','0','0',' ',1624630098651225095,'1','til_jxdk_ncpjsdk_bill','0','0','0',8,'createtime','0','创建时间','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225096;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'1','组织','0','0',' ',1624630098651225096,'1','til_jxdk_ncpjsdk_bill','0','0','0',9,'org','0','组织','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225097;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','所属税期','0','0',' ',1624630098651225097,'1','til_jxdk_ncpjsdk_bill','0','0','0',10,'taxperiod','0','所属税期','1'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225098;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','扣除率','0','0',' ',1624630098651225098,'1','til_jxdk_ncpjsdk_bill','0','0','0',11,'taxrate','0','扣除率','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225099;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','是否手工新增','0','0',' ',1624630098651225099,'1','til_jxdk_ncpjsdk_bill','0','0','0',12,'issdxz','0','是否手工新增','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225100;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','农产品买价','0','0',',bqhj,',1624630098651225100,'1','til_jxdk_ncpjsdk_bill','0','0','1',13,'ncpmj','0','农产品买价','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225101;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','计算抵扣税额','0','0',',bqhj,',1624630098651225101,'1','til_jxdk_ncpjsdk_bill','0','0','1',14,'dktax','0','计算抵扣税额','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225102;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','数据来源','0','0',' ',1624630098651225102,'1','til_jxdk_ncpjsdk_bill','0','1','0',15,'datasources','0','数据来源','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225103;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','分录行号','0','0',' ',1624630098651225103,'1','entryentity','0','0','0',16,'seq','0','分录行号','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225104;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','来源数据id','0','0',',bqhj,',1624630098651225104,'1','entryentity','0','0','1',17,'dataid','0','来源数据id','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225105;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','发票金额','0','0',' ',1624630098651225105,'1','entryentity','0','0','0',18,'fpje','0','发票金额','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1624630098651225106;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','发票抵扣税额','0','0',' ',1624630098651225106,'1','entryentity','0','0','0',19,'fpdkse','0','发票抵扣税额','0'); 
DELETE FROM t_tctb_datasource_entry WHERE FENTRYID = 1637677098460306432;
INSERT INTO t_tctb_datasource_entry(FID,FORGSTATE,FBIZSUBNAME,FELEMENTWHERE,FYEARSTATE,FACCESSLOGIC,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FINSPECTIONSHOWFIELD,FDESCRICE,FDATASTATE) VALUES (1624630098433121280,'0','合计有效税额','0','0',',bqhj,',1637677098460306432,'1','entryentity','0','0','1',20,'effectivetaxamount','0','合计有效税额','0');
