List Page

jsshivalikjsshivalik Member Posts: 67
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

Best Answer

Answers

  • Developer101Developer101 Member Posts: 565
    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

    g1thezpii7gr.png
    United Kingdom
  • jsshivalikjsshivalik Member Posts: 67
    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
  • krikikriki Member, Moderator Posts: 9,115
    [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!


Sign In or Register to comment.