Hi,
Please let me know what's wrong in the following:
Error: Function name is missing).
I want to multiple quantity with rate if the unit is other then '1000/Pcs' or '1000/Set' or '100/Pcs' or '100/Set',
otherwise (quantity * rate ) / 1000.
Please guide..
Saif
Please let me know what's wrong in the following:
Code:
Cast(ICASE(unit='1000/Pcs',((quantity*rate)/1000), unit='1000/Set',((quantity*rate)/1000),;
unit='100/Pcs',((quantity*rate)/100),unit='100/Set',((quantity*rate)/100),(quantity*rate) As Amount)
Error: Function name is missing).
I want to multiple quantity with rate if the unit is other then '1000/Pcs' or '1000/Set' or '100/Pcs' or '100/Set',
otherwise (quantity * rate ) / 1000.
Please guide..
Saif