Report 10049 Cust./Item Stat. by Salespers.
How would I add a tab for Item to the report?
The Value Entry table doesn't contain 'Item Category Code' field for Item and I need to filter by 'Item Category Code'.
How can this be accomplished??
Any suggestions?
Half-empy or half-full how do you view your database?
Thanks.
0
Comments
1) Add Item as a data item to the report and set "MaxIteration" Property to 1.
2) Add Item Category Code" as a flowfield to Value Entry table
3) Add Code in the On PredataItem of "Value Entry" data item to filter on "Item Category Code" Field.
Thanks
Here is my code:
Value Entry - OnPreDataItem()
We have items like 4235X-SALE and it has an "Item Category Code" of 'COSTUMES'. So if the current "Value Entry"."Item No." does not have 'COSTUMES' as its "Item Category Code" from the Item table I do not want it to be in the report totals.
When running this report we do not select a specific Item No. instead for our purpose we use a wildcard like *SALE*|*A* to get the Items we want to be reported on but some items that meet the above criteria fall into several categories so we need a way of limiting our report to Item."Item Category Code" = 'COSTUMES'
Here is the entire code of the report:
Any help would be greatly appreciated.
Thanks.
Thanks.
Here is my code:
Value Entry - OnPreDataItem()
We have items like 4235X-SALE and it has an "Item Category Code" of 'COSTUMES'. So if the current "Value Entry"."Item No." does not have 'COSTUMES' as its "Item Category Code" from the Item table I do not want it to be in the report totals.
When running this report we do not select a specific Item No. instead for our purpose we use a wildcard like *SALE*|*A* to get the Items we want to be reported on but some items that meet the above criteria fall into several categories so we need a way of limiting our report to Item."Item Category Code" = 'COSTUMES'
Here is the entire code of the report:
Any help would be greatly appreciated.
Thanks.
Thanks.