Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Need help to calculate content price using UDF

$
0
0

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


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>