/* 预置业务协作关系类型 */
delete from t_org_typerelation where fid in (752103993328600064, 752105196531811328);
insert into t_org_typerelation (FID, FFROMTYPE, FTOTYPE, FBILLTYPEID, FNUMBER, FISPRESET, FISVISIBLE, FENABLE, FSTATUS, FCREATORID, FCREATETIME, FMODIFIERID, FMODIFYTIME)
values (752103993328600064, '10', '04', '0', 'Accounting_TO_Production_S', '1', '1', '1', 'C', 1, {ts'2018-08-08 18:08:08'}, 1, {ts'2018-08-08 18:08:08'});

insert into t_org_typerelation (FID, FFROMTYPE, FTOTYPE, FBILLTYPEID, FNUMBER, FISPRESET, FISVISIBLE, FENABLE, FSTATUS, FCREATORID, FCREATETIME, FMODIFIERID, FMODIFYTIME)
values (752105196531811328, '04', '05', '0', 'Production_TO_Inventory_S', '1', '1', '1', 'C', 1, {ts'2018-08-08 18:08:08'}, 1, {ts'2018-08-08 18:08:08'});

delete from t_org_typerelation_l where fid in (752103993328600064, 752105196531811328);
insert into t_org_typerelation_l (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION)
values ('0BC8CXSG1D03', 752103993328600064, 'zh_CN', '核算组织委托生产协作', ' ');

insert into t_org_typerelation_l (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION)
values ('0BC8CXSG1D04', 752103993328600064, 'zh_TW', '核算組織委托生產協作', ' ');

insert into t_org_typerelation_l (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION)
values ('0BC8LOQ5I5FH', 752105196531811328, 'zh_CN', '生产委托库存供应', ' ');

insert into t_org_typerelation_l (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION)
values ('0BC8LOQ5I5FI', 752105196531811328, 'zh_TW', '生產委托庫存供應', ' ');

/* 清理原来错误的委托数据 */
delete from t_org_orgrelation where ftyperelationid in (752103993328600064, 752105196531811328);