TransferAdvice type
A transfer advice: an instruction to move goods from one warehouse (or bin) to another. It moves
no stock itself; the transfers that carry it out do. While it is OPEN, its lines reserve at
the source warehouse as much of what they still have to move as is free there.
Fields
id
The transfer advice's MAX id.
number
String
The transfer advice's number. Null while the transfer advice is a draft.
status
The transfer advice's status in its life cycle.
state
How far the work on the transfer advice is.
sourceWarehouseId
The MAX id of the warehouse the goods leave.
targetWarehouseId
The MAX id of the warehouse the goods go to.
legalEntityId
The MAX id of the company the transfer advice belongs to.
issuedAt
When the transfer advice was issued.
plannedAt
When the move is planned. Null when no date is planned.
reference
String
The transfer advice's reference. Null when it has none.
lines
Arguments:
first:Intafter:Stringlast:Intbefore:String
The lines, by line number. A connection, paged with first/after or last/before, at
most 250 a page.
Null, with an error at its path, when its page cannot be read, for example because of a cursor of another parent. The rest of the response is returned.
A page costs 2 + first (or last) × the cost of one node.
parameters
Arguments:
first:Intafter:Stringlast:Intbefore:String
The text parameters, by name. A connection, paged with first/after or last/before, at
most 250 a page.
- Requires the
transferAdvice.readpermission. Without it, null withFORBIDDEN_ROLEat its path. - Null, with an error at its path, when its page cannot be read, for example because of a cursor of another parent. The rest of the response is returned.
- A page costs 2 + first (or last) × the cost of one node.
progress
How far the work on the transfer advice is. Requires the transferAdvice.read permission. It
is read for the whole page at once.
transfers
Arguments:
first:Intafter:Stringlast:Intbefore:String
The transfers that carry out the transfer advice, linked by their header or by a line, newest
effective first. A connection, paged with first/after or last/before, at most 250 a
page.
- Draft transfers are never listed. They are counted in
progress. - To filter by status, use
transferswithfilter: {transferAdviceIds, statuses}. - Also requires the
transfer.readpermission. Without it, null withFORBIDDEN_ROLEat its path. - Null, with an error at its path, when its page cannot be read, for example because of a cursor of another parent. The rest of the response is returned.
- A page costs 2 + first (or last) × the cost of one node.