Stock Group

Maintain stock group codes used for product classification and GL account mapping. Uses the icstockgroup endpoint. The list shows existing stock groups; clicking a row opens its detail screen, and the toolbar Add button creates a new one. The detail screen has a Details tab and an automatic Custom Fields tab.

Details

StockGroupCode A unique code identifying this stock group. Required for saving. Read-only once the record exists (cannot be changed when editing).
StockGroupName The descriptive name for this stock group. Required for saving.
DefaultUOMCode The default unit of measure for products in this stock group. Lookup against the COUOM table, restricted to base units of measure that are active (Base units only, excluding inactive). Optional.
Inactive When set to true, the stock group is hidden from search results by default (auto-exclude filter: Inactive eq false).

GL Accounts

The GL Accounts group on the Details tab maps the stock group to its general ledger accounts. The following accounts are editable (each is a GL account lookup):

GLStockOnHandAccountCode The GL account for stock on hand.
GLCostOfSalesAccountCode The GL account for cost of sales.
GLStockPurchasesAccountCode The GL account for stock purchases.
GLStockAdjustmentsAccountCode The GL account for stock adjustments.
GLStockWriteOffsAccountCode The GL account for stock write-offs.
GLStockRevaluationAccountCode The GL account for stock revaluation.
GLExpenseRecoveryAccountCode The GL account for expense recovery.

The following GL accounts are server-managed and shown read-only on the form:

GLClosingStockAccountCode

Read-only.

The GL account for closing stock.
GLTransferOutAccountCode

Read-only.

The GL account for stock transferred out.
GLTransferInAccountCode

Read-only.

The GL account for stock transferred in.

List Columns

The stock group list shows these columns by default: StockGroupCode, StockGroupName, DefaultUOMCode, GLStockOnHandAccountCode, and Inactive. Other fields can be added through the column chooser.

Search Options

Code Search by StockGroupCode.
Name Search by StockGroupName.

Selection Filters

The list provides these selection filters for narrowing search results:

Stock Group Filter by a range of stock group codes (lookup against the ICGROUP table).
Inactive Filter by the inactive flag. By default inactive stock groups are excluded from search results.

Validation

The following validations are enforced when saving a stock group record:

Note: Deleting a stock group requires the Stock Groups permission (IC_PERMSTOCKGROUPS) at Control level. Without it the Delete action is unavailable.