Posted: 31 May 2018 5:00 EDT Last activity: 19 Jun 2018 8:41 EDT
expression to add fixed VAT % to an integer value
i'm trying to generate an expression to calculate a integer from the db which is mapped in a class. in this instance ".TopUpLastRechargeAmount",
this value doesn't include VAT and i need to apply a blanket 21% to it, the validation is to check if "TopUpLastRechargeAmount >=10"
can anyone assist ?
***Updated by moderator: Lochan to add Categories***
if you are using declare expression for this. In the declare expression, add a condition and check if it is greater than 10, set the value as TopUpLastRechargeAmount + (0.21 * TopUpLastRechargeAmount ),
else set TopUpLastRechargeAmount .
Posted: 3 years ago
Posted: 31 May 2018 8:08 EDT
Sudhakar Reddy Yaparla (SudhakarReddy)
Principal Technical Solutions Engineer