IssueLine type
One product issued.
Fields
id
The line's MAX id.
lineNo
Int!
The line's number within the issue.
productVariantId
The MAX id of the product variant.
productVariant
The product variant the line moves. Requires the item.read permission. Without it, the
field is null with a FORBIDDEN_ROLE error at its path (extensions.permission), and the rest
of the response is returned.
product
The variant's parent product. Requires the item.read permission. Without it, the field is
null with a FORBIDDEN_ROLE error at its path (extensions.permission), and the rest of the
response is returned.
quantity
The quantity in unit, as entered.
unit
String!
The unit code of quantity.
baseQuantity
The quantity in baseUnit.
baseUnit
String!
The code of the product's base unit (Product).
unitCost
The cost per base unit at which the goods left stock, without VAT, as a positive amount. It is the valuation area's average cost.
Null in these cases:
- While costing is pending.
- On an exploded set line. Its value is its components' value, and they have no single price per set.
- On the lines of a cancelled issue.
value
What the line's goods were worth, without VAT, as a positive amount. Null while costing is pending.
A line of an OPEN issue that is not yet applied to stock has value null and
costingPending false, and is not counted in totalValue.
costingPending
Boolean!
true while any of the line's stock movements waits to be costed. false for a line of an
OPEN issue that is not yet applied to stock.
lot
The batch or serial number issued, when the product tracks one.
locationCode
String
The location the goods were taken from, when the warehouse tracks locations.