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

Re: Create a new calculation column in forms (Quantity x "new column" x unit price = total price)

$
0
0

OK. I need to create a query

 

 

 

I need the following values:

 

 

 

unit price * quantity * (100 - "column discount value" * 0,01) * ("column portion value" * 0,01) = total price

 

 

 

But this is not possible:

 

 

Select T0.[Price] * T0.[Quantity] * (100 - T0.[Blocknum] * 0,01) * (T0.[Importlog] * 0,01) = total price

From RDR1 T0  INNER JOIN ORDR T1 ON T0.DocEntry = T1.DocEntry

Where T0.Linetotal = $[$4.0.0]

 

 

 

We don't need regular [Blocknum] and [Importlog]. So we can need it for our calculation.

 

 

 

How can it solve?

 

 

 

Thanks in advance!


Viewing all articles
Browse latest Browse all 3510

Trending Articles



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