IDEMPIERE-4735 apply patch from Webservice CreateUpdate. PO passed to Call to WSValidator is not valid (#1948)

This commit is contained in:
Zuhri Utama 2023-07-21 10:22:43 +07:00 committed by GitHub
parent 348afe5539
commit 236cd6bddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1022,7 +1022,7 @@ public class ModelADServiceImpl extends AbstractService implements ModelADServic
}
}
retResp = invokeWSValidator(m_webservicetype, IWSValidator.TIMING_BEFORE_SAVE, holderPo, fields, trx, requestCtx, resp, ret);
retResp = invokeWSValidator(m_webservicetype, IWSValidator.TIMING_BEFORE_SAVE, po, fields, trx, requestCtx, resp, ret);
if (retResp != null)
return retResp;
@ -1033,7 +1033,7 @@ public class ModelADServiceImpl extends AbstractService implements ModelADServic
return rollbackAndSetError(trx, resp, ret, true,
"Cannot save record in " + tableName + ": " + CLogger.retrieveErrorString("no log message"));
retResp = invokeWSValidator(m_webservicetype, IWSValidator.TIMING_AFTER_SAVE, holderPo, fields, trx, requestCtx, resp, ret);
retResp = invokeWSValidator(m_webservicetype, IWSValidator.TIMING_AFTER_SAVE, po, fields, trx, requestCtx, resp, ret);
if (retResp != null)
return retResp;