listStocktakeItems method
Positionen einer Inventur nach Kennung; openOnly = ungezaehlt bzw. in
review zum Nachzaehlen offen.
Implementation
Future<StocktakeItemPage> listStocktakeItems({
required String stocktakeId,
bool? openOnly,
int? limit,
String? cursor,
}) async {
const name = Aufrufe.listStocktakeItems;
final daten = await _transport.call(
name,
_abfrage(name, {
'stocktakeId': kennung(name, 'stocktakeId', stocktakeId),
'openOnly': openOnly,
'limit': limit,
'cursor': cursor,
}));
return StocktakeItemPage(items: liste(name, daten, 'items', inventurPosition), nextCursor: naechsterCursor(name, daten));
}