修改人:邹江涛

修改内容:API映射公共单据
修改时间:2024/11/28
This commit is contained in:
zoujiangtao 2024-11-28 16:42:15 +08:00
parent cc38039589
commit 6353c79f8f
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
String billNumber = dataEntity.getString("shkd_sourcenumber");
logger.info("获取推送单据编码 → billNumber{}", billNumber);
// 获取想要推送单据类型
String billMark = dataEntity.getDynamicObject("shkd_sourcebill").getDataEntityType().getName();
String billMark = dataEntity.getDynamicObject("shkd_sourcebill").getString("number");
logger.info("获取推送单据类型 → billMark{}", billMark);
// 获取推送单据对象
DynamicObject billObject = BusinessDataServiceHelper.loadSingle(billMark, new QFilter("billno", QCP.equals, billNumber).toArray());