cancel
Showing results for 
Search instead for 
Did you mean: 

API_PURCHASEORDER_PROCESS_SRV - error The input of field ORDERQUANTITY on A_PurchaseOrderItemType level cannot be processed

0 Kudos
865

Hi dear colleagues,

I am implementing an extension using the custom business object.  One of the requirements is to update the PO quantity. I will use "after modification" logic to achieve it.

Before doing so, I am testing it out through API Business Hub to get used to and learn about parameters and so on. Now I am getting the HTTP error 400.

The portion of the header parameter changing the quantity follows:

"{

  "d": {

   ......

    "OrderQuantity": "45",

    "PurchaseOrderQuantityUnit": "EA",

    ......

  }

}"

I attached the complete log error.

Any clue on how to overcome this issue?

BR,

Pietro

Accepted Solutions (1)

Accepted Solutions (1)

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Pietro

I believe that you need to change the quantity on the schedule line belonging to this Purchase Order Item as well. Please test and let us know if that works.

Thanks,

Marty

Answers (0)