My Products
Help
Gabriella Hennings
CHAMPION *

error in salesorder API creating sales order

by Gabriella Hennings

HI 

when you create an new order trough the sales order api the inventory itemno seems to be case sensitive. 

 

if I try to create an item with itemno "MO121231", and they have made a mistake in visma.net and written "mo121231",  the item is not found and you get error back from the api:

 

1804-InventoryIdNotFound, InventoryId cannot be found or is invalid, orderLines[0].inventoryId.

 

(if you change it to match exactly it works and the order gets created)

 

It can not be that sensitve, it must be a bug, can you please fix it.

 

best regards

Best regards
Gabriella Hennings
Cloud Connection AB
3 REPLIES 3
Accepted solution
Yıldırım
VISMA

by Yıldırım
Yıldırım
VISMA

by Yıldırım

Hello, we've registered the case so that this will be refactored to disregard case sensitivity. Once the fix released, it'll be published in the news. 

Yıldırım
VISMA

by Yıldırım

Hi Gabriella, we'll check it out and get back to you.