RetailTransactionService::getProductsByKeyword Method [AX 2012]
Gets the products by keyword search.
Syntax
client server public static container getProductsByKeyword(
RetailChannelRecId _currentChannelRecId,
str _keyword,
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.
- _keyword
Type: str
The keyword to search for.
- _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 ID of other channel.
- _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.