You need to sign in to do that
Don't have an account?
Priya 777
Hi Can any one Please help me to write the logic for this i'm new to salesforce
If Actual is Less than Target for Auction Vehicle Sold ,we have to show 0$ in Payout $ Potential**
If Actual Is Greater than or equal to Target for Auction Vehicle Sold ,I have to show the Amount for Payout $ Potential.**
(We have one more logic on it Auction Vehicle sold Maximum is $5,000)
The following is the logic ,
<apex:param value="{! IF(IF(NULLVALUE(PDPWrapList.Percent_of_Target__c,0) >= 100,(NULLVALUE(PDPWrapList.Eligible_RMS_Sold__c * auctionVehiclesIncentive,0)),0) > 5000,5000, IF(NULLVALUE(PDPWrapList.Percent_of_Target__c,0) >= 100,(NULLVALUE(PDPWrapList.Eligible_RMS_Sold__c * auctionVehiclesIncentive,0)),0) )}"/>
Below hilighted Part is i'm working on
If Actual Is Greater than or equal to Target for Auction Vehicle Sold ,I have to show the Amount for Payout $ Potential.**
(We have one more logic on it Auction Vehicle sold Maximum is $5,000)
The following is the logic ,
<apex:param value="{! IF(IF(NULLVALUE(PDPWrapList.Percent_of_Target__c,0) >= 100,(NULLVALUE(PDPWrapList.Eligible_RMS_Sold__c * auctionVehiclesIncentive,0)),0) > 5000,5000, IF(NULLVALUE(PDPWrapList.Percent_of_Target__c,0) >= 100,(NULLVALUE(PDPWrapList.Eligible_RMS_Sold__c * auctionVehiclesIncentive,0)),0) )}"/>
Below hilighted Part is i'm working on