ProjElr::NewCostPerHour Method [AX 2012]

Calculated the new ELR cost per hour for a worker in a period

client server public static AmountCur NewCostPerHour(
    TransDate _fromDate, 
    TransDate _toDate, 
    TSWorker _worker, 
    ProjQtyEmpl _newHoursInPeriod)

Run On

Called

Parameters

_fromDate
Type: TransDate Extended Data Type
start of period
_toDate
Type: TransDate Extended Data Type
end of period
_worker
Type: TSWorker Extended Data Type
the worker to calculate for
_newHoursInPeriod
Type: ProjQtyEmpl Extended Data Type
New hours that will be added to the period (for example in a new timesheet)

Return Value

Type: AmountCur Extended Data Type
The new cost price
Show: