createStocktake method

Future<Stocktake> createStocktake(
  1. CreateStocktakeRequest request
)

Legt eine Inventur an. Je Standort hoechstens eine offene (stocktake_location_busy, inventoryBusyStocktakeId nennt sie); Umfang groups bzw. articles nur mit bestandsgefuehrten Artikeln (article_not_tracked). Jede Inventur beginnt in counting.

Implementation

Future<Stocktake> createStocktake(CreateStocktakeRequest request) async {
  const name = Aufrufe.createStocktake;
  final p = request.toJson();
  _schreiben(name, p);
  kennung(name, 'locationId', p['locationId']);
  return _inventur(name, await _transport.call(name, p));
}