on 12-29-2014 9:53 AM
Hi all!
i would like to sum qty in each row in SO with query below but it seem not correct. Pls help !!!
select SUM(ISNULL(B.invqty,0)) from ORDR a JOIN RDR1 b ON a.DocEntry=b.DocEntry where a.DocEntry=$[ORDR.DocNum]
Dear All!
Even my case cannot be solved by FMS but really appreciate your help. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This is not a proper place to use FMS. Only if you have created SO and saved, you may manually run it. That is not the user friendly solution.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try:
select SUM(ISNULL(B.invqty,0)) from ORDR a JOIN RDR1 b ON a.DocEntry=b.DocEntry where a.DocEntry=$[ORDR.Docentry]
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i suggest you to add the total through post Transaction notification.
Regards,
Tausif
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dara Ros,
For this problem required Add on because in matrix Sum function not work Properly.
if you want sum the quantity. than first add the document than update the form with this FMS.
SELECT SUM(T1.[Quantity]) FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.[DocEntry] = T1.[DocEntry] WHERE T1.[DocEntry] =[%0]
Regards,
Bhanu
User | Count |
---|---|
100 | |
8 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.