web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Auto filling fields on NAV

(0) ShareShare
ReportReport
Posted on by

Hi ,

I created two tables on NAV Policyholder Table and Insurance invoice  both with the No. and Name fields, when i select the No. field on my Insurance invoice table i want to see all my Policyholders and when i select a policyholder no i want his name to pop-up in the insurance  invoice field (Name). i already set table relation of my insurance invoice to look up to the policyholder table and i tried to use the .GET function to retrieve the "name" from the policyholder table but its not working, here's the sample of the code i added to the  onvalidate trigger of the No. field  of the insurance invoice table

InsuranceInvoice.GET(PolicyHolderTable."No.");
InsuranceInvoice."Name" := PolicyHolderTable.Name;

Please help!!!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at

    PolicyHolderTable.GET("No.");
    InsuranceInvoice."Name" := PolicyHolderTable.Name;

    InsuranceInvoice.Modify;

    you need to get the No. first from PolicyHolderTable 

  • Suggested answer
    Binesh Profile Picture
    7,885 on at

    Hello, Its not a big deal.

    Try #mohana suggestion.

    and for Lookup and populating Just see the Table 18 and Table 36.

    Like Table 18 you have to create a Field Group on Policyholders Table so whenever you you select the No. field on Insurance invoice table, you will get Policyholders.

    Assume Policyholders table is like Customer Table 18

    and Insurance invoice is like Sales Header 36.

    See the Sell-to customer no field in  Sales Header Table

    You can also use VALIDATE function.

  • Suggested answer
    RockwithNav Profile Picture
    8,637 Super User 2025 Season 2 on at

    Check out this link please.

    www.archerpoint.com/.../customizing-drop-down-lists-tables-nav-role-tailored-client

  • Community Member Profile Picture
    on at

    Already tried this, didn't work

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    Hi

    For more help you can check how standard Navision works

    Check in Sales Header--> Sell-To Customer No field  You will get an idea to navision populate field

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans