Article inventory
/xml/ArticleInventory/
Tällä tehdään inventointi tuotteelle / Article inventory.
Elementti / Element | Tyyppi / Type | Selite | Lisätieto / Additional information | Pakollinen / Mandatory
|
ArticleCode | string | Inventoitavan tuotteen koodi Novassa |
| * |
Warehouse | string | Varastopaikka jolle inventoitu saldo päivitetään |
| * |
InventoryAmount | number | Inventoitu saldo |
| * |
Clarification | string | Tähän voi kirjoittaa inventointitapahtumalle halutessaan jonkin selitteen |
|
|
Employee | string | Sen henkilön käyttäjätunnus, joka inventoinnin tekee |
|
|
/xml/ArticleInventory/Shelfs/Shelf |
|
|
|
|
Id | string | Hylly |
|
|
Amount | decimal | Määrä |
|
|
/xml/ArticleInventory/Batch |
|
|
|
|
SupplierBatchId | string | Toimittajan erätunnus |
|
|
Amount | decimal | Määrä |
|
|
Output /xml/Output |
|
|
|
|
Result | boolean |
| true, jos tallennus onnistui / true, if succesfully saved |
|
Esimerkki / Example:
<?xml version="1.0" encoding="utf-8"?>
<xml>
<login>
<hash dsn="nova">73685dbea3290215b74a3a2e9c1c3ecc</hash>
</login>
<ArticleInventory>
<ArticleCode>2696</ArticleCode>
<InventoryAmount>14</InventoryAmount>
<Warehouse>3</Warehouse>
<Clarification>Inventory</Clarification>
<Employee>Maija Meikäläinen</Employee>
</ArticleInventory>
</xml>
Esimerkki 2 / Example 2 (Inventoitu määrät kahteen erään):
<xml>
<login>
<hash dsn="nova">**************</hash>
</login>
<ArticleInventory>
<ArticleCode>eratuote</ArticleCode>
<InventoryAmount>200</InventoryAmount>
<Warehouse>1</Warehouse>
<Clarification>Inventointi</Clarification>
<Employee>Tekija1</Employee>
<Batch>
<SupplierBatchId>E3111122233</SupplierBatchId>
<Amount>177</Amount>
</Batch>
<Batch>
<SupplierBatchId>E3112122277</SupplierBatchId>
<Amount>23</Amount>
</Batch>
</ArticleInventory>
</xml>
