Share via


InventCostReport_CostBase::addRangesFromDialog Method [AX 2012]

Adds data sources and ranges that were set up in the dialog form to the specified query.

Syntax

client server protected static void addRangesFromDialog(
    Query _query, 
    Query _callerQuery, 
   [boolean _translateToView])

Run On

Called

Parameters

  • _query
    Type: Query Class
    The query to which the data sources and ranges are added.
  • _callerQuery
    Type: Query Class
    The link to the query that was set by the user.
  • _translateToView
    Type: boolean
    A Boolean value that specifies whether dialog tables and ranges have to be translated to the corresponding tables and ranges on the InventCostTransView view; optional.

Remarks

The query that was set up in the dialog contains data sources for the InventDim and InventCostTrans tables. The specified input query contains a data source for the InventCostTransView view. The InventCostTransView view is based on the InventDim and InventCostTrans tables. Therefore, the ranges that have been added to the InventDim and InventCostTrans tables are transferred to the InventCostTransView data source.

See Also

Reference

InventCostReport_CostBase Class