Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Field Class

(0) ShareShare
ReportReport
Posted on by

I have set a new table field on the customer card "Portfolio Groups".

On the sales header I would like to have this field flow from the customer card to the sales invoice page.

I am attempting to use the field class flow field and I am unsuccessful.

Can anyone assist.

*This post is locked for comments

  • Verified answer
    Alexander Ermakov Profile Picture
    28,094 on at
    RE: Field Class

    One option is to do as Jonathan advised, see also samples: dynamicsuser.net/.../how-to-create-flow-field-lookup-to-different-table. Another option is to create a small piece of code that would write the needed info into the field, as having too many flowfields might degrade your database performance (however adding few usually does not load the database much).

  • Suggested answer
    Suresh Kulla Profile Picture
    47,688 on at
    RE: Field Class

    I believe you are referring to Sales Invoice not Posted Sales Invoice. What have you tried till now and how are you adding the field ?

    You can achieve this using flowfield or adding code in the sales header table.

  • Verified answer
    keoma Profile Picture
    32,727 on at
    RE: Field Class

    add a new field (field id e.g. 50000) in table 112 sales invoice header with same data type and length as the field portfolio groups in table customer. then set field property fieldclass to flowfield and property calcformula to Lookup(Customer."Portfolio Groups" WHERE (No.=FIELD(Sell-to Customer No.)))

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans