InventCostReportController::getReportNamePrefix Method [AX 2012]
Returns the report name prefix for the menu item that called it.
Syntax
client server protected static SRSCatalogItemName getReportNamePrefix(MenuItemName _menuItemName)
Run On
Called
Parameters
- _menuItemName
Type: MenuItemName Extended Data Type
The menu item name for which to find the prefix.
Return Value
Type: SRSCatalogItemName Extended Data Type
The report name prefix.
Exceptions
Exception | Condition |
---|---|
Error | The caller is neither the InventCostValue report nor the InventCostVariances report. |
Remarks
Report name prefixes are defined in the class declaration.