Question
CLSA App Build Soution initial urgency calculation
Hello,
in the App build solution there is a solution mentioned to increase the urgency based on the highest cost. For this there is a data transform FlowStartUrgencyAdjust where in pyUrgencyWorkAdjust is calculated as 30*.RatioToClaimHighestProductCost but in the requirement initial urgency should get increase by 30 only when product cost is 3000, increase by 10 only when product cost is 1000,increase by 5 only when product cost is 500.
How this calculation is considered for Product cost 1000 and 500?
If the only two product in the claim cost $1000 and $500 then:
for the $1000 product, .RatioToClaimHighestProductCost = 1000/1000 = 1.0
for the $500 product, .RatioToClaimHighestProductCost = 500/1000 = 0.5
You declaratively determine the highest cost product ($1000) in the claim and use that in the denominator.
The ratio is multiplied by 30.