Symptom
You try to add validation before releasing a customer invoice request and added the CustomerInvoiceRequest-ActionValidation-Release.absl in the script, however it is not called when releasing the customer invoice requests.
Environment
SAP Business ByDesign
Reproducing the Issue
You are creating PDI solution and added script as below, however it is not getting called when performing Release on inovice.
/<PDI>_MAIN/SRC/CustomerInvoiceRequest-CustomerInvoiceRequest-ActionValidation-Release.absl
Cause
The release action on invoice request is to do with recurring invoice requests, which is a special scenario and does not apply here.
Resolution
You can try to have the script run on the release action for customer invoice.
/<PDI>_MAIN/SRC/EXT_CustomerInvoice-CustomerInvoice-ActionValidation-Release.absl
Note: If you have approvals scoped. As such when the user releases an invoice it will not execute the release action by default. Instead it will execute the submit for approval action first. It will then go to approver to approve the document.
Once the document is approved the release action will be called. Please note that if approval is not needed it will execute the release action.
Keywords
Release invoice; PDI; approval process; ActionValidation-Release , KBA , AP-CI-CI , Customer Invoice , Problem