Warehouse / Stock

stockCountLocationComplete

Complete a pending location assignment or replace the result of a counted location while its stock count is open. Submitted stock quantities and serial numbers are reconciled against the current stock. Existing stock identities omitted from the input are recorded as skipped and remain unchanged.

Arguments

idID!

The pending or counted stock count location assignment ID.

expiryDateDate

Expiry date identifying the stock, when applicable.

lotNumberString

Lot number identifying the stock, when applicable.

productIdID!

Product being counted.

quantityInt!

Actual quantity counted for this product, lot number, and expiry date combination.

Serial numbers present in the counted stock. Required only for products that track serial numbers.

Returns

countedAtDateTimeTz

When this location was counted.

hasDifferencesBoolean!

Whether at least one counted product had a quantity difference.

idID!

Unique primary key.

skipReasonString

Reason supplied when this location was skipped.

skippedAtDateTimeTz

When this location was skipped.

Lifecycle status of this location in the count.

COUNTEDPENDINGSKIPPED
field[String!]
messageString!