What I believe is you should use appropriate dataitems for your use of report...!!
You are just using Item as a DataItem and you want it by Location and Ext. Doc. No...!!!
So things will not go smoothly because, External Document No is in Header Table whereas Quantity will be in Line table....!!
If you want to go only this way, you have to put filter on Sales Header as per your location code,
then you have to go for another salesheader variable for Grouping External Document No. where you have to check conditions that External Doc No should not be same for different customers....!! and once the ex. doc. no. is counted should not be counted again for outer loop...!!!
And based on what SalesHeader you get, you have to find SalesLine, and then do sum of Quantity....
Do you believe this way is smooth...!!!!!!!??? if you can go through complex code, carry on....
Else I advise you to use more than one dataitem for your purpose....!!!!!
Let's go back to square one: do you want to FLOWfilter the "qty on sales order" FLOWfield on item table with the external document no? If so, do you know what is flowfield and flowfilter?If you do know it, you'll notice that the definition of the qty on sales order flowfield does not provide the "external document no." filter.
You can create a some fields on the item table to get what you want (but you have to know what you're doing, because it's a relatively easy work, but you can cause serious performance issues due to new SUM flowfields that must be updated).
Otherwise, use a report.
GROUPING in a report is documented in the manuals, where it is explained better than we will ever be able to do
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
Forum Rules No. 3.9
So you find a new "toy", and let's get the solved topics, get it's [SOLVED] attribute.
This will help us to sort the SOLVED topics, and skip it for giving any solution, and will be useful for someone that want the resolution.
This is also could be a feedback for Administrator, that it is quite "hard" to "SOLVED" it.
Forum Rules No. 3.9
So you find a new "toy", and let's get the solved topics, get it's [SOLVED] attribute.
This will help us to sort the SOLVED topics, and skip it for giving any solution, and will be useful for someone that want the resolution.
This is also could be a feedback for Administrator, that it is quite "hard" to "SOLVED" it.
Answers
like in sql syntax using GROUP BY
What I believe is you should use appropriate dataitems for your use of report...!!
You are just using Item as a DataItem and you want it by Location and Ext. Doc. No...!!!
So things will not go smoothly because, External Document No is in Header Table whereas Quantity will be in Line table....!!
If you want to go only this way, you have to put filter on Sales Header as per your location code,
then you have to go for another salesheader variable for Grouping External Document No. where you have to check conditions that External Doc No should not be same for different customers....!! and once the ex. doc. no. is counted should not be counted again for outer loop...!!!
And based on what SalesHeader you get, you have to find SalesLine, and then do sum of Quantity....
Do you believe this way is smooth...!!!!!!!??? if you can go through complex code, carry on....
Else I advise you to use more than one dataitem for your purpose....!!!!!
Kashyap
You can create a some fields on the item table to get what you want (but you have to know what you're doing, because it's a relatively easy work, but you can cause serious performance issues due to new SUM flowfields that must be updated).
Otherwise, use a report.
GROUPING in a report is documented in the manuals, where it is explained better than we will ever be able to do
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
"Profanity is the one language all programmers know best."
Would you explain it more detail?
Andwian
all i want is just want to create report using table item
but i want to filter it by Ext Doc No as a parameter
DATAITEMS
sales header - with reqfilterfields external document no.
->sales line
->->item
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
So don't forget to mark it as solved, luke! =D>
Andwian
He??
how to mark it
sorry i never mark it
So you find a new "toy", and let's get the solved topics, get it's [SOLVED] attribute.
This will help us to sort the SOLVED topics, and skip it for giving any solution, and will be useful for someone that want the resolution.
This is also could be a feedback for Administrator, that it is quite "hard" to "SOLVED" it.
Andwian
Done!
thanks Andwian
Andwian