Page 1 of 1

Problem in Fast Formula

Posted: Wed Nov 12, 2008 6:41 am
by ssalipk
Hi All,

I have a little bit knowledge regarding Fast Formula , and I am trying to write a fast formula for a simple element calculation that is social allowance based on 10% basic pay only. I have written this formula in write formula window

ASG_SALARY * 10 /100

when I click on verify it gives the error near * sign , kindly help me,Thanks

Posted: Wed Nov 12, 2008 8:45 am
by sathish_puttur
Hello,

<b>Please Note That I have not tested your Problem in the instance.</b>

please try out in following way you get fast formula varified

1) ASG_SALARY * (10/100)

or

2) ASG_SALARY * 0.10

Regards
sathish

Posted: Wed Nov 12, 2008 1:47 pm
by ssalipk
Dear Sathish,

I have tested your solution but on verify it is giving same the following error

APP-FF-33002: Syntax error : line 1 position 12
Cause: The formula contains some unexpected text which cannot be verified. The line number and position of the text is given.
Action: Correct the error in the formula and verify again.

Posted: Thu Nov 13, 2008 6:00 am
by sathish_puttur
Hello,

I have tested you formula in my application it is working properly.
there is no problem in syntex.

try out once again in following way.

Formula Name: test
Type : Oracle Payroll
Formula:

default for salary is 0

inputs are salary

amount = SALARY * 10 /100

return amount

Verify the formula.

If still you find any error, then that could be Application Problem.

Reards
Sathish

Posted: Thu Nov 13, 2008 5:36 pm
by ssalipk
Thanks Sathish , its working now

Posted: Thu Dec 04, 2008 8:17 am
by Habib
Dear!
the syntax of assign value to any variable is that:

variable := variable/value;

new_value := :ASG_SALARY * 10 /100;
or
:ASG_SALARY:=:ASG_SALARY*10/100;

Best of Luck!


[quote]Hi All,

I have a little bit knowledge regarding Fast Formula , and I am trying to write a fast formula for a simple element calculation that is social allowance based on 10% basic pay only. I have written this formula in write formula window

ASG_SALARY * 10 /100

when I click on verify it gives the error near * sign , kindly help me,Thanks



<i><div align="right">Originally posted by ssalipk