PurchReqDocument::spendingLimitStatic Method [AX 2012]

Calculates the spending limit for the worker.

server public static PurchReqSpendingLimitValueMST spendingLimitStatic(RecId _hcmWorkerRecId, CurrencyCode _currencyCode)

Run On

Server

Parameters

_hcmWorkerRecId
Type: RecId Extended Data Type
The record Id of the HcmWorker record.
_currencyCode
Type: CurrencyCode Extended Data Type
The currency code in which the amount is to be calculated.

Return Value

Type: PurchReqSpendingLimitValueMST Extended Data Type
The spending limit of the worker.
Show: