Multiple date lines in report

Veselin
Member Posts: 19
Hello!
How it's possible to print different shipment date in report?
Example:
Lines:
For line 1 No. -> Shipment Date: 12.12.18
For line 2 No. -> Shipment Date: 13.12.18
Report should be like this:
No. | Shipment Date
Line 1 No. | 12.12.18
Line 2 No. | 13.12.18
How it's possible to print different shipment date in report?
Example:
Lines:
For line 1 No. -> Shipment Date: 12.12.18
For line 2 No. -> Shipment Date: 13.12.18
Report should be like this:
No. | Shipment Date
Line 1 No. | 12.12.18
Line 2 No. | 13.12.18
0
Answers
-
Take your line Level Table as a data item.
if the table have the line no then no issue otherwise take an integer type variable
init it onpredata item (LineNo := 1) and on OnaftergetTrigger (LineNo+=1)
and your date will print according to your data. assign them on section system will print as you want.1 -
ishyampandey@live.com wrote: »Take your line Level Table as a data item.
if the table have the line no then no issue otherwise take an integer type variable
init it onpredata item (LineNo := 1) and on OnaftergetTrigger (LineNo+=1)
and your date will print according to your data. assign them on section system will print as you want.
Would you like to explain in code. It's hard for me to understand you in that way.0 -
I was trying:
ProdOrderLine.RESET;
ProdOrderLine.SETRANGE("Prod. Order No.", "No.");
IF ProdOrderLine.FIND('-') THEN BEGIN
ProdOrderLine.CALCFIELDS(ProdOrderLine."Shipment Date");
REPEAT
i+=1;
arrDate := ProdOrderLine."Shipment Date";
UNTIL ProdOrderLine.NEXT = 0;
END;
Now I have error:
Type conversion is not possible because 1 of the operators contains in invalid type.
Char := Date
When I change arrDate to be DATE, it's give me another error:
There are too many dimensions. The Variable is defined with fewer dimensions. For example:
MyVar
MyArray[MyVar]
MyArray[1,2]
MyArray[1][2]-2 -
ishyampandey@live.com has a good point.
Take the Prod. Order Line as a data item. You can see report object ID: 5500 - "Prod. Order Comp. and Routing" for example.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