用友bip同步接口修改付款申请单科目传值

This commit is contained in:
yuxueliang0813 2024-12-20 15:34:59 +08:00
parent 3366517e7a
commit b57ca40237
1 changed files with 2 additions and 1 deletions

View File

@ -347,7 +347,8 @@ public class YongyouBIPOperation extends AbstractOperationServicePlugIn implemen
//外部公司22020104\应付账款\往来单位\外部单位工程类
//集团内部关联公司22020105\应付账款\往来单位\内部单位关联方
//如果费用登记中用户选择了会计科目则使用该字段编号否则还使用集团内外 yxl 20241116
if(isnotext && payrequestinfo.getDynamicObject("qeug_accountview")!=null){
//付款申请单中用户选择了会计科目则使用该字段编号否则还使用集团内外 yxl 20241220
if(payrequestinfo.getDynamicObject("qeug_accountview")!=null){
String accountview = payrequestinfo.getDynamicObject("qeug_accountview").getString("number");
items.put("pk_subjcode",accountview.replace(".",""));
}else{