Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Changing

(0) ShareShare
ReportReport
Posted on by

Hi,

When I post GL account lines in a purchase invoice, I type the description, amount, dynamics etc. However if I want to change the GL account of the SAME line, it wipes out the whole line's data (description, amount etc), so I have to re-enter. This is really annoying.

Is there a way to get around it?

Thanks

*This post is locked for comments

  • Suggested answer
    dkatson Profile Picture
    2,263 on at
    RE: Changing

    I can also suggest to use events instead of customise standard NAV behaviour

    msdn.microsoft.com/.../mt299505(v=nav.90).aspx

    msdn.microsoft.com/.../mt299404(v=nav.90).aspx

  • Suggested answer
    Maneesha Profile Picture
    5,891 on at
    RE: Changing

    MUKNAV2017 ,

    as the other members suggest you can arrange your function ,

    but pls do not try to changing these kind of standard NAV behaviors  

  • Suggested answer
    Amol Salvi Profile Picture
    18,696 on at
    RE: Changing

    Yes it is standard behavior of system as it pulls information from master when you change the GL account no

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,094 on at
    RE: Changing

    This is the standard behavior of the system: by default, the Description is auto-validated and the Name of the account is put into the Description. Note that the information from Posting Description field goes to G/L Description of the transaction.

  • Suggested answer
    RockwithNav Profile Picture
    6,733 on at
    RE: Changing

    Hey,

    This is standard NAV behaviour, Please don't change it, instead respect this error and follow the same way what it says.

  • Suggested answer
    dkatson Profile Picture
    2,263 on at
    RE: Changing

    1. Table 37. "No." On Validate.

    .. Description := GLAcc.Name;

    You can save xRec. Description before in some variable and add code like

    Description := xSalesLineDescription.

    Or use subscription events : OnbeforeValidateNo, OnAfterValidateNo

    to do the same without modifing standard code.

    2. msdn.microsoft.com/.../hh168546(v=nav.90).aspx

  • Community Member Profile Picture
    on at
    RE: Changing

    Thanks. Please can you explain a bit more about those two options?

  • Suggested answer
    dkatson Profile Picture
    2,263 on at
    RE: Changing

    Yes, it can be done via some customisation.

    Or you can use Extended texts for example.

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