update t_bdm_inv_split_rule set FUSEORG = forg where FUSEORG = 0;
update t_bdm_inv_split_rule set fcreateorgid = forg where fcreateorgid = 0;
update t_bdm_inv_split_rule set fenable = fstatus where fstatus = '0' or fstatus = '1';
update t_bdm_inv_split_rule set fstatus = 'C' where fstatus = '0' or fstatus = '1';
update t_bdm_inv_split_rule set fmasterid = fid where fmasterid = 0;
update t_bdm_inv_split_rule set fnumber = frulecode  where fnumber = ' ';