Share via


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

  • _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