Share via


InventTable::queryIsBomOrFormulaAllowed Method

Filters the user query to ensure only BOM items or formula items are selected.

Syntax

server public static QueryRun queryIsBomOrFormulaAllowed(QueryRun _queryRun)

Run On

Server

Parameters

Return Value

Type: QueryRun Class
The filtered user query to be modified.

Remarks

Only certain kinds of items can be selected for margin update calculation. As the user can choose to select any item, this method is used to add criteria to ensure that only items with the correct production type will be selected.

See Also

Reference

InventTable Table