-- 销售订单操作
DELETE FROM t_meta_opbizruleset WHERE fid IN ( 939816294167911424 );
INSERT INTO t_meta_opbizruleset(FID, FOPBIZRULE, FOBJECTTYPEID, FENABLED) VALUES (939816294167911424, 'SalOrderSyn', 'sm_salorder', '1');

-- 提交
DELETE FROM T_META_OPBIZRULESETENTRY WHERE FENTRYID IN ( 939816294167888898 );
INSERT INTO T_META_OPBIZRULESETENTRY(FENTRYID, FID, FSEQ, FOPERATIONKEY) VALUES (939816294167888898, 939816294167911424, 3, 'submit');
-- 提交并新增
DELETE FROM T_META_OPBIZRULESETENTRY WHERE FENTRYID IN ( 939816294167888899 );
INSERT INTO T_META_OPBIZRULESETENTRY(FENTRYID, FID, FSEQ, FOPERATIONKEY) VALUES (939816294167888899, 939816294167911424, 4, 'submitandnew');
-- 撤销
DELETE FROM T_META_OPBIZRULESETENTRY WHERE FENTRYID IN ( 939878440322995201 );
INSERT INTO T_META_OPBIZRULESETENTRY(FENTRYID, FID, FSEQ, FOPERATIONKEY) VALUES (939878440322995201, 939816294167911424, 6, 'unsubmit');
-- 审核
DELETE FROM T_META_OPBIZRULESETENTRY WHERE FENTRYID IN ( 939816294167888896 );
INSERT INTO T_META_OPBIZRULESETENTRY(FENTRYID, FID, FSEQ, FOPERATIONKEY) VALUES (939816294167888896, 939816294167911424, 1, 'audit');
-- 反审核
DELETE FROM T_META_OPBIZRULESETENTRY WHERE FENTRYID IN ( 939880103423250432 );
INSERT INTO T_META_OPBIZRULESETENTRY(FENTRYID, FID, FSEQ, FOPERATIONKEY) VALUES (939880103423250432, 939816294167911424, 7, 'unaudit');
-- 删除
DELETE FROM T_META_OPBIZRULESETENTRY WHERE FENTRYID IN ( 939878440322995200 );
INSERT INTO T_META_OPBIZRULESETENTRY(FENTRYID, FID, FSEQ, FOPERATIONKEY) VALUES (939878440322995200, 939816294167911424, 5, 'delete');
-- 反终止
DELETE FROM T_META_OPBIZRULESETENTRY WHERE FENTRYID IN ( 942001645099705346 );
INSERT INTO T_META_OPBIZRULESETENTRY(FENTRYID, FID, FSEQ, FOPERATIONKEY) VALUES (942001645099705346, 939816294167911424, 12, 'rowunterminate');
-- 行反关闭
DELETE FROM T_META_OPBIZRULESETENTRY WHERE FENTRYID IN ( 942001645099705345 );
INSERT INTO T_META_OPBIZRULESETENTRY(FENTRYID, FID, FSEQ, FOPERATIONKEY) VALUES (942001645099705345, 939816294167911424, 11, 'rowunclose');
-- 行终止
DELETE FROM T_META_OPBIZRULESETENTRY WHERE FENTRYID IN ( 942001645099705344 );
INSERT INTO T_META_OPBIZRULESETENTRY(FENTRYID, FID, FSEQ, FOPERATIONKEY) VALUES (942001645099705344, 939816294167911424, 10, 'rowterminate');
-- 业务反关闭
DELETE FROM T_META_OPBIZRULESETENTRY WHERE FENTRYID IN ( 940563045602563073 );
INSERT INTO T_META_OPBIZRULESETENTRY(FENTRYID, FID, FSEQ, FOPERATIONKEY) VALUES (940563045602563073, 939816294167911424, 9, 'bizunclose');
-- 业务关闭
DELETE FROM T_META_OPBIZRULESETENTRY WHERE FENTRYID IN ( 940563045602563072 );
INSERT INTO T_META_OPBIZRULESETENTRY(FENTRYID, FID, FSEQ, FOPERATIONKEY) VALUES (940563045602563072, 939816294167911424, 8, 'bizclose');