cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sales Blanket Agreement B1if Scenario Error on trigger

saadsabri
Explorer
0 Kudos
433

We have developed an integration scenario on SAP Business One Integration Framework which triggers on the creation/updation of Sales Blanket Agreement. The scenario only fetches information and performs a certain operation outside of SAP and does not update/create any SAP objects.

It is working absolutely fine as long as there is no approvals applied to Sales Blanket Agreement. But when we apply approvals on Agreement, the scenarios stays stuck in the table and gives the following error when we chose the status To Be On Hold.

SAPbobsCOM.BlanketAgreement.90.0 Description: Invalid valid value 'P' in Enum 'BlanketAgreementStatusEnum', the valid values are 'A', 'F', 'D', 'T' -The di call #1 did fail."

As I understand has no Enumeration in DI API for the value "To Be On Hold - P". Kindly update as to what can be the solution to this as we have few other cases which are causing the same error due to this.

View Entire Topic
fdvicente
Product and Topic Expert
Product and Topic Expert

Hi Saad

You should be able to test your DI API payloads with the DI Tool to see how it works:

2057143 - DI API_How to Prepare and Debug an XML Payload

Best regards,

Filipe Vicente

Product Support - SAP Business One

SAP Support