Skip to content
MyAppBuilder
StableInventoryVersion 1Business component

Stock Adjustment

Overview

A form to record stock going in, out or being corrected: product, quantity, type, warehouse and reason. Every entry becomes a movement record.

Record stock in, out and adjustments.

When to use

  • Book in a delivery from a supplier.
  • Record parts taken for a job.
  • Note a correction after a stock count.

Quick start

  1. Drag Stock Adjustment onto a team page (creates Products first, then Stock Movements).
  2. Preview: pick the product, enter the quantity, choose In, Out or Adjustment and press Record movement.
  3. Add a workflow on record created that updates the product's Stock by the quantity.

Creates Products first (if missing), then Stock Movements: Product (link to Products, required), Quantity (required), Type (In, Out, Adjustment), Warehouse (text) and Reason. Relationship: One Product → Many Stock Movements.

  • Products — fields: Name, SKU, Price, Stock, Reorder Level, Image, Description.
  • Stock Movements — fields: Product, Quantity, Type, Warehouse, Reason; relationships: Stock Movements → Products (each stock movement belongs to one product).
Note: When you add this block, any missing entities are created for you and existing ones with the same name are reused. You can rename fields or point the block at another entity afterwards.

Layout rules

  • Can contain any component.
  • Can be placed in any container (page, section, card, row, column, grid…).

Properties

Titletext

Card heading above the form.

Default: Stock Adjustment

Entityentity

Entity movements are saved to. Defaults to Stock Movements.

Data binding

A create Form on Stock Movements with one input per field: Product (dropdown of Products, required), Quantity (required), Type, Warehouse and Reason. Submitting shows Stock movement recorded.

Events

This block is built from ordinary components. Select one of them (in Layers) to change what happens on these events:

On submit
None on the block; extend the inner Form's onSuccess with Run workflow to adjust the product's Stock.

Responsive behavior

Uses 12 of 12 columns by default. In the Responsive tab you can change visibility, span, dimensions, padding, margin, font, order, alignment, direction separately for tablet and mobile.

Permissions

Use the Permissions tab to show this component only to some roles. Hiding a component is a convenience, not security — the server always checks who may read or change data.

Common patterns

  • Bind the Warehouse input's default value to the app state warehouse set by Warehouse Selector.
  • Show Inventory Movement underneath for the history.

Limitations

  • Recording a movement does not change the product's Stock figure by itself — add a workflow or an Update record action for that.

Troubleshooting

Stock did not change after recording a movement.

Why: No workflow updates the product.

Fix: Create a workflow on Stock Movements record created that adds or subtracts Quantity from the product's Stock.

Related

Was this helpful?