ProdRecBasketHandler::countBasketRecordsServer Method [AX 2012]

Gets the records currently on and off the basket.

server private static container countBasketRecordsServer(
    GlobalObjectCacheScope _cacheContextScope, 
    RefTableId _refTableId, 
    SelectableDataArea _cacheContextDataArea, 
    UserId _cacheContextUserId)

Run On

Server

Parameters

_cacheContextScope
Type: GlobalObjectCacheScope Extended Data Type
The scope of the cache to add the records to.
_refTableId
Type: RefTableId Extended Data Type
The ID of the table to reference.
_cacheContextDataArea
Type: SelectableDataArea Extended Data Type
The ID of the company the user is running in.
_cacheContextUserId
Type: UserId Extended Data Type
The ID of the active user.

Return Value

Type: container
A container with the count of the records in basket and the records not in basket.
Show: