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

Re: Total quantity for an order

$
0
0

hi Laura Nesteriak

 

 

when you enter line total we can capture sum of quantity of all items before adding the document.

 

Add this simple query to UDF in the form of FMS  so you can get  sum of quantity for particular Document

 

SELECT sum(T1.[Quantity]) FROM ORDR A 
INNER JOIN RDR1 B ON A.DocEntry = B.DocEntry WHERE A.docentry = $[ORDR.docentry]

 

 

 

Regards

Jenny


Viewing all articles
Browse latest Browse all 9069

Trending Articles



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