Share via


InventCostReport_CostBase::newInventCostReport_CostBaseType Method [AX 2012]

Creates a concrete instance of a report generator.

Syntax

client server public static InventCostReport_CostBase newInventCostReport_CostBaseType(
    InventCostAxis _type, 
    FromDate _fromDate, 
    ToDate _toDate, 
    InventCostLevel _level, 
    InventCostDetail _detail, 
    Query _query, 
    SRSCatalogItemName _reportName, 
   [NoYes _includeBeginning])

Run On

Called

Parameters

  • _type
    Type: InventCostAxis Enumeration
    Chooses between three different report layouts, that is the layouts htat are represented by the Item, Origin, and CostGroup values.
  • _query
    Type: Query Class
    Links back to the query that was set by the user.
  • _includeBeginning
    Type: NoYes Enumeration
    A value that specifies whether the starting inventory is included in the quantity and amounts.

Return Value

Type: InventCostReport_CostBase Class
A concrete instance of a report generator.

Exceptions

Exception Condition
Error

The InventCostAxis is unknown or the user does not have permissions for the appropriate tables.

Remarks

Based on the axis and name of the calling report, a concrete instance of a report generator is created and returned to the caller.

See Also

Reference

InventCostReport_CostBase Class