RetailTransactionService::getProductsByCategory Method [AX 2012]
Gets the products by category.
Syntax
client server public static container getProductsByCategory(
RetailChannelRecId _currentChannelRecId,
RefRecId _categoryRecId,
int64 _startPosition,
int64 _pageSize,
[str _orderByField,
SortOrder _sortOrder,
boolean _includeTotalCount,
str _languageId,
RetailChannelRecId _otherChannelRecId,
CatalogRefRecId _catalogRecId,
str _attributeRecIdRangeValue])
Run On
Called
Parameters
- _currentChannelRecId
Type: RetailChannelRecId Extended Data Type
The record ID of current channel.
- _categoryRecId
Type: RefRecId Extended Data Type
The record id of current category.
- _startPosition
Type: int64
The starting record position.
- _pageSize
Type: int64
The page size.
- _orderByField
Type: str
The order by field name.
- _sortOrder
Type: SortOrder Enumeration
The sort order.
- _includeTotalCount
Type: boolean
Whether to include total number of records in the return value.
- _languageId
Type: str
The language to search in.
- _otherChannelRecId
Type: RetailChannelRecId Extended Data Type
The record if for other store to search in.
- _catalogRecId
Type: CatalogRefRecId Extended Data Type
The record ID of the catalog to search products from.
- _attributeRecIdRangeValue
Type: str
The attribute record ID range value to filter product attribute values by.
Return Value
Type: container
A container having the products in a XML string.