actindo ->product__lager_book_inventory
actindo -> product__lager_book_inventory: book inventory on product. Prefer this method to product__update_bestand() when performing inventory stock
Signaturstring product__lager_book_inventory( string $sid, int $art_id, int $art2lager_id, int $counted_stock [, string $serialnos] )
 
Parameter
  • string $sid
    Session identier you got from auth__login or auth__token_login
     
  • int $art_id
    product id
     
  • int $art2lager_id
    product2lager id (the one you got from add_lager)
     
  • int $counted_stock
    stock count to book
     
  • string $serialnos
    serial numbers. Please do not use.
     
Returnsstring
on success: array(ok=>TRUE, diff=>int of difference in stock), on error: array(ok=>FALSE, * errno=>int error number)
 
Descriptionbook inventory on product. Prefer this method to product__update_bestand() when performing inventory stock
updates.