付款单凭证抬头文本-从金蝶凭证中获取

This commit is contained in:
yuxueliang0813 2025-08-26 15:50:45 +08:00
parent 2ea3dd5831
commit 772e9180e1
1 changed files with 4 additions and 0 deletions

View File

@ -149,6 +149,10 @@ public class PaybillPushSapOperation extends AbstractOperationServicePlugIn impl
JSONArray IT_ITEM = new JSONArray();
//解析付款凭证分录行组装成map票据在贷方客户编号+金额行摘要sap应付在借方科目编号+金额行摘要
Map<String, String> voucherMap = getVoucherTypeMap(gl_voucher);
//从金蝶凭证上获取凭证抬头文本信息
if(!JhzjUtils.isEmpty(gl_voucher.getString("description"))){
isHeader.put("BKTXT", gl_voucher.getString("description"));//凭证抬头文本-从金蝶凭证中获取
}
//票据信息
DynamicObjectCollection casDraftinfos = bill.getDynamicObjectCollection("cas_draftinfo");
if (!casDraftinfos.isEmpty()) {