listMyStocktakeItems method

Future<StocktakeItemPage> listMyStocktakeItems({
  1. required String stocktakeId,
  2. bool? openOnly,
  3. int? limit,
  4. String? cursor,
})

Positionen einer Inventur (listMyStocktakeItems); openOnly nur ungezaehlte (in der Pruefung: die zum Nachzaehlen). Ab der Pruefung mit Soll nur mit dem Recht stocktakeClose.

Implementation

Future<StocktakeItemPage> listMyStocktakeItems({
  required String stocktakeId,
  bool? openOnly,
  int? limit,
  String? cursor,
}) async {
  const name = Aufrufe.listMyStocktakeItems;
  final daten = await transport.call(name, params: {
    'stocktakeId': kennung(name, 'stocktakeId', stocktakeId),
    'openOnly': ?openOnly,
    'limit': ?limit,
    'cursor': ?cursor,
  });
  return StocktakeItemPage(items: liste(name, daten, 'items', inventurPosition), nextCursor: naechsterCursor(name, daten));
}