cancel
Showing results for 
Search instead for 
Did you mean: 

Updating Item UomGroup via Service Layer - possible or not?

mgregur
Active Contributor
0 Kudos
911

Dear Experts,

After some testing, I have found that it is not possible to update UomGroup of an Item through Service Layer. Can anyone confirm, or maybe tell me if I'm missing something, maybe some field that also needs to be updated with change of UomGroup?

I've tried PATCH both with and without updating the UomEntries:

{
    "ItemCode": "SLtest",
    "UoMGroupEntry": 17,
    "InventoryUoMEntry": 5,
    "DefaultSalesUoMEntry": 5,
    "DefaultPurchasingUoMEntry": 5,
    "DefaultCountingUoMEntry": 5
}
{
    "ItemCode": "SLtest",
    "UoMGroupEntry": 17
}

Each time the response is following:

{ "error": { "code": "-2028", "message": "No matching records found (ODBC -2028)" }}

Any help would be appreciated.

BR,

Matija

Accepted Solutions (0)

Answers (0)