-- 完工退库单负数显红清单：增加“金额”
IF NOT EXISTS (SELECT 1 FROM t_im_fieldsettingentry WHERE FENTRYID = '937565673649884160') 
insert into t_im_fieldsettingentry (FID, FENTRYID, FSEQ, FFIELDNAME, FFIELD, FENTRYENTITYID, FFULLFIELD, FISINVERSE)
values ('924374601041975296', '937565673649884160', '10', '物料明细.金额', 'amount', 'billentry', 'billentry.amount', '1');


--生产退料单负数显红清单：增加“金额”
IF NOT EXISTS (SELECT 1 FROM t_im_fieldsettingentry WHERE FENTRYID = '937603038078585856')
insert into t_im_fieldsettingentry (FID, FENTRYID, FSEQ, FFIELDNAME, FFIELD, FENTRYENTITYID, FFULLFIELD, FISINVERSE)
values ('922447734126985216', '937603038078585856', '17', '物料明细.金额', 'amount', 'billentry', 'billentry.amount', '1');