Symptom
When trying to post existing supplier invoice (ready for posting) via a Custom Odata Service, it is not possible to update the invoice status as expected, even if the user having all the authorization to post the invoice.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Application and User Management work center.
- Create a Custom Odata Service by selecting supplier invoice BO.
- Add 'PostingStatusCode' and 'SupplierInvoiceLifeCycleStatusCode' in Entity.
- Add Post Action in Function Imports.
- Test the Odata Service with a user having posting authorization and assigned to the invoicing unit.
- Invoice cannot be posted as expected.
Cause
The Function Import Action and BO Action/Query Post is to post the details from OData, but this Function Import Post is not applicable in supplier invoice - it is getting the details but not updating, because status fields are read only.
Resolution
Currently, it is not supported to post supplier invoice via Custom Odata Service in Business ByDesign system.
Keywords
Odata, Supplier Invoice, Post, Read for posting, API, Status, Post Indicator, PostingStatusCode, SupplierInvoiceLifeCycleStatusCode , KBA , SRD-SRM-SI , Supplier Invoicing , Problem
SAP Knowledge Base Article - Public