anyblok_wms_base.reservation.reservation.
Reservation
[source]¶goods
= <anyblok.field.Function object>¶Compatibility wrapper.
Before the merge of Goods and Locations as PhysObj, physobj
was
goods
.
This does not extend to compatibility of the former low level goods_id
column.
quantity
= <anyblok.column.Integer object>¶The quantity that this Reservation provides.
If the PhysObj in the application have quantity
field
(see Quantity will often be a useless complexity), this is not necessarily its value
within goods
. Instead, it is the quantity within the
request_item
that the current Reservation provides.
Use-case some PhysObj being sold either as packs of 10 or by the unit. If one wants to reserve 13 of them, it should be expressable as one pack of 10 and 3 units. Then maybe (depending on the needs), would it be actually smarter of the application to not issue an Unpack.