fix:收款单财务确认

(cherry picked from commit fbf6338866)
This commit is contained in:
ljw 2024-10-19 15:40:12 +08:00
parent 0a6cfa8091
commit 114feb4ef7

View File

@ -26,7 +26,7 @@ public class GatheringUnAuditOp extends AbstractOperationServicePlugIn {
DynamicObject[] entities = e.getDataEntities(); DynamicObject[] entities = e.getDataEntities();
for (DynamicObject dynamicObject : entities) { for (DynamicObject dynamicObject : entities) {
dynamicObject = BusinessDataServiceHelper.loadSingle(dynamicObject.getPkValue(), dynamicObject.getDynamicObjectType().getName()); dynamicObject = BusinessDataServiceHelper.loadSingle(dynamicObject.getPkValue(), dynamicObject.getDynamicObjectType().getName());
// dynamicObject.set("yem_financeaffirm", "A"); dynamicObject.set("yem_financeaffirm", "A");
String billtype = dynamicObject.getString("yem_billtype.number"); String billtype = dynamicObject.getString("yem_billtype.number");
if ("yem_gathering_TZF".equals(billtype)) {//负向收款调整单 if ("yem_gathering_TZF".equals(billtype)) {//负向收款调整单
long sourcebillid = dynamicObject.getLong("yem_sourcebillid"); long sourcebillid = dynamicObject.getLong("yem_sourcebillid");