PBAExecute::createVarInstanceQuery Method [AX 2012]

Creates a QueryRun object that stores the query to retrieve the instance values of the variables for a specific product model and a specific transaction.

server public static QueryRun createVarInstanceQuery(PBAId _pbaId, InventTransId _inventTransId)

Run On

Server

Parameters

_pbaId
Type: PBAId Extended Data Type
The identifier of the product model.
_inventTransId
Type: InventTransId Extended Data Type
The transaction that is associated with the variable instances to seek.

Return Value

Type: QueryRun Class
The QueryRun object that can be executed to retrieve the values.

The values of these instances are sorted by tab order, Group ID, and variable priority.

Show: