My Products
Help
product_scansys_nl
CONTRIBUTOR **

How to determine available units per stock item?

by product_scansys_nl

When creating a new financial entry line the UOM list is filtered by the chosen Inventory ID. How to get this information through the API?

 

Example:

  • Visma.net Financials GUI Menu > Payables > Transactions > Bills and Adjustments > New Record > choose a Vendor > Add Row.
  • Open the list of row field UOM. All existing units should be present.
  • Choose a stock item in field Inventory ID.
  • Open the UOM list again. Now only certain units should be present. This is determined by Menu > Inventory > Registers > Stock Items > edit a record > General Settings > Unit of Measure. Here the Purchase Unit and additional From/To Units can be entered, which will become available in the list.

This information in not available through GET https://integration.visma.net/API/controller/api/v1/inventory or perhaps it should be in inventoryUnits, yet this currently yields an empty array.

1 REPLY 1
Accepted solution
Yıldırım
VISMA

by Yıldırım (Updated ‎11-11-2020 15:24 by Yıldırım VISMA )

Hello, 

 

Please edit your GET > URL by adding "expandInventoryUnits" parameter and sending "True" as a value. 

https://integration.visma.net/API/controller/api/v1/inventory?expandInventoryUnits=true

 
Relevant documentation for each module > Endpoint can be found at https://integration.visma.net/API-index