actindo ->product__get_bestand_fach
actindo -> product__get_bestand_fach: get products stock, optionally depending on storage tray (Artikelbestand holen, optional für ein bestimmtes
Signaturstring product__get_bestand_fach( string $sid, int $art_id [, int $art2lager_id [, string $booktype [, int $ignore_bill_id]]] )
 
Parameter
  • string $sid
    Session identier you got from auth__login or auth__token_login
     
  • int $art_id
    product id
     
  • int $art2lager_id
    product-to-storage id, or null for all - defaults to null
     
  • string $booktype
    book type - defaults to 'COUNT'
     
  • int $ignore_bill_id
    ignore certain bill (0 for don't) - defaults to 0
     
Returnsstring
array('ok'=>TRUE/FALSE, 'bestand'=>products stock)
 
Descriptionget products stock, optionally depending on storage tray (Artikelbestand holen, optional für ein bestimmtes
Lagerfach)

Holt den Lagerbestand, bzw. Verfügbarkeit d. Artikels je nach $booktype:
Für $booktype zulässige Werte:
- 'COUNT': Holt den BESTAND des Artikels aus dem Lager