1.云之家获取保存报错问题处理
This commit is contained in:
25655 2025-04-07 17:48:55 +08:00
parent 9cc2d36cc3
commit ce364ae2db

View File

@ -158,7 +158,7 @@ public class SaleOrdeAddGenerateOp extends AbstractOperationServicePlugIn {
} }
debcrednote.set("yem_amount_sub",yem_amount_sub); debcrednote.set("yem_amount_sub",yem_amount_sub);
debcrednote.set("yem_amountbase_sub",yem_amountbase_sub); debcrednote.set("yem_amountbase_sub",yem_amountbase_sub);
SaveServiceHelper.save(new DynamicObject[]{debcrednote}); // SaveServiceHelper.save(new DynamicObject[]{debcrednote});
OperationResult Operate = OperationServiceHelper.executeOperate("save", debcrednote.getDynamicObjectType().getName(), new DynamicObject[]{debcrednote}, OperateOption.create()); OperationResult Operate = OperationServiceHelper.executeOperate("save", debcrednote.getDynamicObjectType().getName(), new DynamicObject[]{debcrednote}, OperateOption.create());
if (Operate.isSuccess()) { if (Operate.isSuccess()) {
OperationResult submitResult = OperationServiceHelper.executeOperate("submit", "yem_debcrednote", new Object[]{debcrednote.getPkValue()}, OperateOption.create()); OperationResult submitResult = OperationServiceHelper.executeOperate("submit", "yem_debcrednote", new Object[]{debcrednote.getPkValue()}, OperateOption.create());