Share via


RetailTransactionServiceProduct::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, 
    LanguageId _languageId, 
    RetailChannelRecId _otherChannelRecId, 
    CatalogRefRecId _catalogRecId, 
    str _attributeRecIdRangeValue, 
    boolean _includePrice])

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.
  • _attributeRecIdRangeValue
    Type: str
    The attribute record ID range value to filter product attribute values by.
  • _includePrice
    Type: boolean
    Whether to include product prices in the return value.

Return Value

Type: container
A container having the products in a XML string.

See Also

Reference

RetailTransactionServiceProduct Class