on 04-09-2009 9:05 AM
Hi freinds,
I am trying to get the Tax breakup inthe PLD of the Marketing document by using Formula fields.But while calculating VAT or CST percentage on BED+Cess system does not calculate exact value .It gives say 12.3896 when actually it should be 12.5 %.How do I get this figure using Round Off operation or Decimal operation?
Also I want to display VAT or CST giving some condition. For example if the above value(percentage) is 4 or 12.5 then a Text field VAT should be visible;if the value is 2 or 3 then a text field CST should be visible in the print. How do I get this?
please help.
You can't directly use the if statement, but indirectly you can achieve what you need.
Let's take Field_001 having the result of calculated Tax
i.e as per you Field_001=4 or 5 or 12.5
Create a formula field(Field_002) with the following formula
Field_001==4
The above formula will gives 1 if both fields equal otherwise 0
Create a Text field (Field_003) and type VAT and link
the text field to Field_002.
Now the text VAT will appear only the condition(in Field_002) satisfy.
I think it will solve your problem.
Try the above and still problem exists reply here.
Regards,
Bala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this formula
Round((Your formula),1)
Regards,
Bala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
10 | |
9 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.