nav Report Sales orde

sajusathish@gmail.com
Member Posts: 8


In sales line there is tow fields quantity and quantity shipped. i want to subtract the the two values and get it in report. The line value should print in Remain QTY1 and second value should print in Remain QTY2 and 3rd value should print in Remain QTY3 if more lines are there then it should print in Remain QTY3 The values which should come in report is marked in yellow.
0
Answers
-
Please Be specific for questioning...Not Understand What Exactly you want.
-But give you some solution that might be helpful to you.
if salesline_rec.findset then begin
j:=1;
repeat
if j=1 then begin
remqty01+= qty-qtyshipped;
end;
if j=2 then begin
remqty02+= qty-qtyshipped;
end;
if j>=3 then begin
remqty03+= qty-qtyshipped;
end;
j+=1;
untile salesline_rec.next=0;
end;0 -
@NavSolution thank you for answering
I can understand that you where not able to understand my question.
I need to blank the value for the other thane(the red fields should be 0) fields which I have marked in yellow.
in the screenshot I added marked in yellow should come as like, Remain QTY1 should print only in first row, Remain QTY should print only in 2nd row and Remain QTY3 should print only in 3rd row if more then 3 line are there then then the values should print in Remain QTY3 from Sales line.0 -
Hi, Sajus
Change DataSource structure of report. Use "Export Packing Line" as first and "Sales Line" joined. In common, use "REPEAT..UNTIL" C/AL structures only if there no way to construct correct data source.Regards,
Yury0 -
without looking your Report Dataset can't help you0
-
Thank you for responding to my issue @NavSolution @Yury that.
some changes came in requirement and its done for now
thanks again for helping
0 -
Actually you can use Outstanding Quantity field on your report.1
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