I have had turbulent interaction with CustomerInvoiceRequest creation via ABSL for over a year now and I'm thinking of dumping it completely!
My current issue (one of hundreds up till now) is that the same code used to create a CustomerInvoiceRequest from a BeforeSave script (in one custom business object "A") does not result the same way when I try to create a CIR through an Action script called from the OWL of another custom business object "B" (both objects are in the same solution).
With BO "A" error messages appear but the BO gets saved and the CIR gets created
- processes individual instances
With BO "B" error messages appear but the BO does NOT get saved and so CIR does not get created.
- loops through multiple instances but doesn't work even if there is only 1 instance
Has anyone come across this before?
I have analysed the debug sessions of both and they are pretty much the same.
The data I use in both BO are the same and I can manually create the CIR through the SAP standard process.
I'm not looking for coding suggestions just whether there is a reason why Actions don't behave the same way as BeforeSave
regards
Jay