How to count the Item's qty. on Sales Oders?

billhwang2008
Member Posts: 32
Hi, experts,
I am troubled by a new requirement: create a new report which can count Item's Qty. on Sales orders, filter Item No. and Sales Order Date.
I tried to create 3 Dataitems: Item, Sales Header and Sales Line, then found that I cannot assign the DataItemLinkReference between Item and Sales Header.
After checked many existing Reports and searched the topics in this forum, but no solution found, I think I cannot figure it out by myself, could you please give me some help? thanks a lot.
I am troubled by a new requirement: create a new report which can count Item's Qty. on Sales orders, filter Item No. and Sales Order Date.
I tried to create 3 Dataitems: Item, Sales Header and Sales Line, then found that I cannot assign the DataItemLinkReference between Item and Sales Header.
After checked many existing Reports and searched the topics in this forum, but no solution found, I think I cannot figure it out by myself, could you please give me some help? thanks a lot.
0
Answers
-
What about the report ID - 708 Inventory Order details.
This report has the parameters what you expect.0 -
chengalasettyvsrao wrote:What about the report ID - 708 Inventory Order details.
This report has the parameters what you expect.
Hi, chengalasettyvsrao, thanks for your ultrafast reply. In fact, I already check Report 708, it can only filter shipment date, not sales order date.0 -
You can add Order Date field to sales Line , then you can filter based on order date.
When it comes purchase Module - Order date field is available in Purchase Line also , but sales line it does not have.0 -
You do not need to create a link between Item & Sales Header.
Rather the link should be between Item & Sales Line, and Sales Header & Sales Line.NAV - Norton Anti Virus
ERP Consultant (not just Navision) & Navision challenger0 -
idiot wrote:You do not need to create a link between Item & Sales Header.
Rather the link should be between Item & Sales Line, and Sales Header & Sales Line.
Thanks for reply, but after tested today, I still cannot work it out
I havn't many experiences on NAV development, could you please give a bit more specific? thank you very much.0 -
chengalasettyvsrao wrote:You can add Order Date field to sales Line , then you can filter based on order date.
When it comes purchase Module - Order date field is available in Purchase Line also , but sales line it does not have.
Great, it works!
One more new question: because Field "Order Date" is newly created, so all previous sales lines' order date are empty, could anybody give me an idea to copy Order Date from each Sales Header to corresponding Sales Lines automatically? thanks.0 -
create a report based on the Sales Line and Validate the order date from the table Sales Header.0
-
billhwang2008 wrote:because Field "Order Date" is newly created, so all previous sales lines' order date are empty, could anybody give me an idea to copy Order Date from each Sales Header to corresponding Sales Lines automatically? thanks.
You can write a processing report to update the Order date in the sales Line also. Take the help from your developer to update the Order Date.0 -
thanks you two, but, pardon me for one more requirement, could you please tell me an example? I'm muddleheaded now.0
-
This should do it:
make a report, dataitem Sales Line
make a global recSalesHeader type record Sales Header
IF recSalesHeader.GET(1,"Order No.")
THEN
BEGIN
VALIDATE("line order date","header order date");
MODIFY;
END;0 -
robinho81 wrote:This should do it:
make a report, dataitem Sales Line
make a global recSalesHeader type record Sales Header
IF recSalesHeader.GET(1,"Order No.")
THEN
BEGIN
VALIDATE("line order date","header order date");
MODIFY;
END;
Thanks again for all unselfish help.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions