R31398-11 Project Task Resource- Copy Values From Cost Rates

Code R31398-11
Entity Projects.ProjectTaskResources Entity
Name CopyValuesFromCostRates
Attribute CostPerHour, PerUseCost
Layer Front-End
Events AttributeChanged(Resource)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action if (ProjectTask.StartDateTime != null) if (Resource.CostRates.Where(FromDate <= ProjectTask.StartDateTime)!= null) { if (costRate.StandardRatePerHour != null) CostPerHour = costRate.StandardRatePerHour; if (costRate.PerUseCost != null) PerUseCost = costRate.PerUseCost; }
Description When Resource is changed, a Cost Rate is found according to the Start Date Time of the Project Task among the Cost Rates if the selected Resource. Cost Per Hour is copied from the Standard Rate Per Hour of the Cost Rate and Per Use Cost is copied from the Cost Rate's Per Use Cost.
Message
Version Introduced: 21

Updated: -
Revocable YES

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.