Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8065

How to create formula in queries

$
0
0

Hi All,

 

I have some calculations to be done at Query level, mentioned below

 

1) Unit Price :

If

Billed Qty GT 0.

Unit Price  = Selling Price / Billed Qty

Endif.

 

2) Freight DDP and Freight Non DDP:

If

Incoterms1 EQ 'DDP'

Freight DDP = Freight

Else

Freight Non DDP = Freight.

Endif.

 

3) Net Sales

If

Incoterms1 EQ DDP

Net Sales = Gross sales - (Freight DDP - Freight Discount).

Else

NetSales = Gross Sales

Endif.

 

Please do needfull to do those calculations

 

Thanks

 

With Regards,

Seshu


Viewing all articles
Browse latest Browse all 8065

Trending Articles



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