Stocktake class
Eine Inventur (Kopf), wie jeder Inventur-Aufruf ausser den Listen der Positionen und Zaehlungen sie sendet.
Die Felder des Ergebnisses (totals, warnings, seal, checksum,
inventoryAsOf, pdf) gibt es erst nach dem Abschluss und nur fuer den,
der das Soll sehen darf; vorher sind sie null.
Constructors
-
Stocktake({required String id, String? name, String? locationId, StocktakeScope? scope, String? type, String? keyDate, bool blind = true, String? status, StocktakeProgress? progress, String? createdAt, StocktakeActor? createdBy, String? source, String? updatedAt, StocktakeReview? review, StocktakeClosing? closing, StocktakeCancellation? cancellation, StocktakeTotals? totals, List<
StocktakeWarning> ? warnings, StocktakeSeal? seal, String? checksum, String? inventoryAsOf, StocktakePdfInfo? pdf}) -
const
Properties
- blind → bool
-
Blind zaehlen (Vorgabe): niemand sieht vor der Pruefung ein Soll. Nur ein
ausdrueckliches
falseam Draht zeigt Bestand.final - cancellation → StocktakeCancellation?
-
final
- checksum → String?
-
SHA-256 ueber Kopf, Positionen und Zaehlungen (kanonisches JSON), steht
auch im Protokoll.
final
- closing → StocktakeClosing?
-
final
- createdAt → String?
-
final
- createdBy → StocktakeActor?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- inventoryAsOf → String?
-
Meist ein Wert aus
stocktakeInventoryAsOf.final - keyDate → String?
-
YYYY-MM-DDbeikey_date, sonstnull.final - locationId → String?
-
final
- name → String?
-
1–100 Zeichen, Vorgabe „
Inventur <Standort> <Tag>“.final - pdf → StocktakePdfInfo?
-
final
- progress → StocktakeProgress?
-
final
- review → StocktakeReview?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → StocktakeScope?
-
final
- seal → StocktakeSeal?
-
final
- source → String?
-
Meist ein Wert aus
stocktakeSources.final - status → String?
-
Meist ein Wert aus
stocktakeStatuses.final - totals → StocktakeTotals?
-
final
- type → String?
-
Meist ein Wert aus
stocktakeTypes.final - updatedAt → String?
-
Letzte Aenderung des Kopfs; Grundlage von
listStocktakes(updatedSince: …).final -
warnings
→ List<
StocktakeWarning> ? -
Hinweise des Abschlusses (
uncounted_items,not_booked,defect_capped);null, wenn der Kopf keine Liste traegt (vor dem Abschluss), leer, wenn es keinen Hinweis gibt.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited