Share via


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

  • _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.
  • _includeTotalCount
    Type: boolean
    Whether to include total number of records in the return value.
  • _languageId
    Type: str
    The language to search in.
  • _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.

See Also

Reference

RetailTransactionService Class