Hi Experts ,
I am looking for a UDF to write a code so that i can get the value for the total sales amount below is the logic
Case 1 :
Total Sales amount = (Extended Amount)-(Deposit amount)-(Tax Amount)
Case 2:
and if any discount comes for an Item (Discount against the Price of the item) then the Sales amount value should be calculated as below
Sales Amount = (Extended Amount+Discount )- (Deposit Amount)- (Tax Amount)
How can i achieve this by using UDF . If i use graphical mapping I am concerned with the exception that occurs if no values are present in the Source Input fields while calculating using Arithmetic functions in the Graphical mapping .
So i guess Using UDF might resolve this problem ... Please help me out achieve this above logic using UDF .
Regards,
Khan