-- 修改应收增值税发票分录的核心单据类型 
UPDATE t_ar_invoiceentry SET fcorebilltype = 'im_saloutbill' WHERE fcorebilltype = 'salout';
UPDATE t_ar_invoiceentry SET fcorebilltype = 'sm_salorder' WHERE fcorebilltype = 'order';