Skip to content

Adjustments

Adjustments allow for the updating of inventory counts for items in the store.

Architecture

Possible actions for inventory adjustments are defined in the inv_adj_action table. These actions are mapped to buttons in the POS interface using the ctx_button table. When a store associate selects an action, the Inventory Adjustment API is called to process the adjustment and create the control document, which is then published to subscribers of ADJUSTMENT messages.

flowchart LR
    adjustmentAPI("`Inventory Adjustment API`")
    jmcClient("`JMC Client`")
    webhook("`Webhook`")
    jmcClient -- Complete --> adjustmentAPI
    adjustmentAPI -- Control Document --> webhook
    webhook -- Publish --> Subscribers

Configuration Data

Table Qualifier Purpose
ctx_button button_group_id = adjustment.home* mappings to valid Inventory Adjustment actions defined in inv_adj_action
inv_adj_action valid reasons for performing an inventory count adjustment