Discussions
Activity
Best Of...
Sign In
·
Register
Home
›
NAV Three Tier
Howdy, Stranger!
It looks like you're new here. Sign in or register to get started.
Sign In
Register
Quick Links
Categories
Recent Discussions
Activity
Best Of...
Unanswered
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
115
Navision DOS
854
Navision e-Commerce
1K
NAV Tips & Tricks
772
NAV Dutch speaking only
615
NAV Courses, Exams & Certification
2K
Microsoft Dynamics-Other
1.5K
Dynamics AX
310
Dynamics CRM
109
Dynamics GP
10
Dynamics SL
1.5K
Other
993
SQL General
384
SQL Performance
34
SQL Tips & Tricks
34
Design Patterns (General & Best Practices)
Architectural Patterns
10
Design Patterns
5
Implementation Patterns
53
3rd Party Products, Services & Events
1.7K
General
1.1K
General Chat
1.6K
Website
79
Testing
1.2K
Download section
23
How Tos section
260
Feedback
12
NAV TechDays 2013 Sessions
13
NAV TechDays 2012 Sessions
List Page
jsshivalik
Member
Posts:
67
2019-05-19
in
NAV Three Tier
Hi
In a list Page i have Source Table - Sales Line & Source Table Temporary = Yes . I want value of 2 fields from another table Sales header.
How it can be done.
Thanks
0
Best Answer
Developer101
Member
Posts:
565
2019-05-20
Answer ✓
Sorry i forgot NOT before
So Code would be
ge: IF NOT SalesHeader.GET("Document Type","Document No") THEN SalesHeader.INIT;
United Kingdom
5
Answers
Developer101
Member
Posts:
565
2019-05-20
edited 2019-05-20
Declare global variable of the List page - SalesHeader as record "Sales Header"
write code in the OnAfterGetRecord of the page: IF SalesHeader.GET("Document Type","Document No") THEN SalesHeader.INIT
In the Repeater group of page : do SalesHeader.Field1 and SalesHeader.Field2
United Kingdom
0
jsshivalik
Member
Posts:
67
2019-05-20
edited 2019-05-20
Hi
It is not displaying value . It shows blank field. When i write only this code then it works
IF SalesHeader.GET("Document Type","Document No") THEN ;
Why it does not work when i write
SalesHeader.INIT
Thanks
0
Developer101
Member
Posts:
565
2019-05-20
Answer ✓
Sorry i forgot NOT before
So Code would be
ge: IF NOT SalesHeader.GET("Document Type","Document No") THEN SalesHeader.INIT;
United Kingdom
5
kriki
Member, Moderator
Posts:
9,115
2019-05-21
[Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
0
Sign In
or
Register
to comment.
Answers
write code in the OnAfterGetRecord of the page: IF SalesHeader.GET("Document Type","Document No") THEN SalesHeader.INIT
In the Repeater group of page : do SalesHeader.Field1 and SalesHeader.Field2
It is not displaying value . It shows blank field. When i write only this code then it works
IF SalesHeader.GET("Document Type","Document No") THEN ;
Why it does not work when i write
SalesHeader.INIT
Thanks
So Code would be
ge: IF NOT SalesHeader.GET("Document Type","Document No") THEN SalesHeader.INIT;
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!