ProjTransferPrice::getEmplBorrowingCostPriceEstimate Method
Retrieves an estimate cost for borrowing a given employee from another company.
Syntax
client server public static AmountMST getEmplBorrowingCostPriceEstimate(
RefRecId _workerRecId,
DataAreaId _workerDataAreaId,
ProjId _projId,
ProjCategoryId _categoryId,
[TransDate _transDate])
Run On
Called
Parameters
- _workerRecId
Type: RefRecId Extended Data Type
The RecId of the worker to be borrowed.
- _workerDataAreaId
Type: DataAreaId Extended Data Type
The company to borrow the worker from.
- _projId
Type: ProjId Extended Data Type
The ID of the project entry that the resource will work on.
- _categoryId
Type: ProjCategoryId Extended Data Type
The project category of the work entry that the resource will do.
- _transDate
Type: TransDate Extended Data Type
The date of the transaction; optional.
Return Value
Type: AmountMST Extended Data Type
An estimate of the employee's cost, per hour, in the borrowing (calling) company's currency.
Remarks
This is an estimate because the currency of the actual invoice may be different than the borrowing company's currency, thus differences due to exchange rate variation may happen. Also, no tax amount is taken into account.