![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This works in a fashion, but I need to sort of query the stocktransactions table again to get the sum of the st.QUANTITY table for st.TRANSACTIONTYPE=1 so that I can have an extra select field of Sum(st.QUANTITY) AS 'Qty Ordered', ie transactions with transactiontype of 1 are sales orders and type 8 are invoices. |
#3
| |||
| |||
|
|
This works in a fashion, but I need to sort of query the stocktransactions table again to get the sum of the st.QUANTITY table for st.TRANSACTIONTYPE=1 so that I can have an extra select field of Sum(st.QUANTITY) AS 'Qty Ordered', ie transactions with transactiontype of 1 are sales orders and type 8 are invoices. |
#4
| |||
| |||
|
|
This works in a fashion, but I need to sort of query the stocktransactions table again to get the sum of the st.QUANTITY table for st.TRANSACTIONTYPE=1 so that I can have an extra select field of Sum(st.QUANTITY) AS 'Qty Ordered', ie transactions with transactiontype of 1 are sales orders and type 8 are invoices. |
![]() |
| Thread Tools | |
| Display Modes | |
| |