Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

Adding new column to General Ledger entries list

Posted on by 10

Can anyone tell me how to add an existing field of 'Purchase invoices' to the list of general ledger entries?

I want to filter data using that particular column.

For example - I have a field called 'Reason code' in the 'General tab' of the purchase invoice where I put the related expense type (Ex. travel/training). Now I want to filter the general ledger entries that are posted with the travel. But the reason code is not available in the list of 'choose columns' in the general ledger entries. How can I add this as a column into the general ledger entries list?

Thank you

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 69,639 Super User 2024 Season 2 on at
    RE: Adding new column to General Ledger entries list

    Hi, I checked the NAV 2017.

    This field exists in the G/L Entry (17) table, so you just need to add it on the page in Development Environment. (This requires a development license)

    pastedimage1666048977965v1.png

    pastedimage1666049013220v2.png

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: Adding new column to General Ledger entries list

    Remember that you can put filter on a field even though it is not visible in the list you are looking at as long as the field is present on the source table.

    If the field is in the table but not in the page you are looking at, you need a developer to add that field to your page.

  • Suggested answer
    Amit_Sharma Profile Picture
    Amit_Sharma 2,545 on at
    RE: Adding new column to General Ledger entries list

    Hi,

    For this do small customization.

    Create one field in Gen. Journal Line and G/L Entry and write code in Purchase Post codeunit and G/L Entry Table --> Function name is CopyGlentryfromGenjournal

    Regards

    Amit Sharma

    www.erpconsultors.com

    press yes if info is useful.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans