Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
- _fromDate
Type: FromDate Extended Data Type
Selects all transactions in the InventCostTrans table, starting from this date.
- _toDate
Type: ToDate Extended Data Type
Selects all transactions in the InventCostTrans table, ending with this date.
- _level
Type: InventCostLevel Enumeration
Shows InventCostTransVariance records according to this selection.
- _detail
Type: InventCostDetail Enumeration
Selects which kind of transactions to print on the report.
- _query
Type: Query Class
Links back to the query that was set by the user.
- _reportName
Type: SRSCatalogItemName Extended Data Type
The name of the caller report.
- _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.