diff --git a/Pilot_KD_Parino/Sal_Order/SaleOrderContractnumber.cs b/Pilot_KD_Parino/Sal_Order/SaleOrderContractnumber.cs index 63c059c..e25670a 100644 --- a/Pilot_KD_Parino/Sal_Order/SaleOrderContractnumber.cs +++ b/Pilot_KD_Parino/Sal_Order/SaleOrderContractnumber.cs @@ -180,7 +180,7 @@ namespace Pilot_KD_Parino.Sal_Order //获取纸质合同号 string F_contractnumber = FEntity["F_contractnumber"].ToString(); - Logger.Error("销售订单上游订单的合同号", yuanF_contractnumber, new Exception()); + Logger.Error("销售订单上游订单的合同号"+ i.ToString(), yuanF_contractnumber, new Exception()); int dashPosition; if (F_contractnumber.Contains("-TH")) { diff --git a/修改合同号一些列订单.txt b/修改合同号一些列订单.txt new file mode 100644 index 0000000..54d3624 --- /dev/null +++ b/修改合同号一些列订单.txt @@ -0,0 +1,32 @@ +select F_CONTRACTNUMBER, * from T_SAL_ORDER +where fbillno='PL-XSDD20251200583' + +--update T_SAL_ORDER set F_CONTRACTNUMBER='P202512090017-HH01' +--where fbillno='PL-XSDD20251200583' + + +select F_Papercontract, * from T_SAL_DELIVERYNOTICE +where FBillNo='SEOUT25121086' + +--update T_SAL_DELIVERYNOTICE set F_Papercontract='P202512090017-HH01' +--where FBillNo='SEOUT25121086' + +select F_contractnumber,* from T_SAL_OUTSTOCK +where FBillNo='PL-XSCKD20251200647' + +--update T_SAL_OUTSTOCK set F_contractnumber='P202512090017-HH01' +--where FBillNo='PL-XSCKD20251200647' + + +select F_Paperpro,* from T_AR_RECEIVABLE +where FBillNo='PL-XSCKD20251200647' + + +--update T_AR_RECEIVABLE set F_Paperpro='P202512090017-HH01' +--where FBillNo='PL-XSCKD20251200647' + +select F_Paper,* from T_AR_RECEIVABLEENTRY +where fid=129824 + +--update T_AR_RECEIVABLEENTRY set F_Paper='P202512090017-HH01' +--where fid=129824 \ No newline at end of file