收款单修改付款人类型报错

This commit is contained in:
李贵强 2025-07-11 18:06:22 +08:00
parent 949848a021
commit 96b8df98f2
1 changed files with 5 additions and 2 deletions

View File

@ -42,8 +42,11 @@ public class RecBillSaveOperation extends AbstractOperationServicePlugIn impleme
bill.set("shjh_planclass", xdMembersubject(bill));
// }
//携带生单规则分录的业务大类,业务小类,成本中心,利润中心到收款处理单头,原因码到分录
carryCustomer(bill);
//二次修改不进入该方法
//携带生单规则分录的业务大类,业务小类,成本中心,利润中心到收款处理单头,
if (!bill.getBoolean("shjh_xdgzkh")){
carryCustomer(bill);
}
SaveServiceHelper.save(new DynamicObject[]{bill});
//若源单为收款处理 认领通知单,清空单据头.是否已推送SAP;单据头.SAP凭证号;单据头.SAP会计年度任保留方便后续推红冲凭证 cas_recbill