Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

CHANGE CURRENCY CODE IN PURCHASE ORDER FOR STATUS=RELEASED

Posted on by 20

HI

WHAT IS THE IMPACT OF CHANGE CURRENCY CODE IN PURCHASE ORDER, WHEN THERE IS NO LINES CHANGED OR PARTIAL POSTED YET ?

THE QUESTION IS BECAUSE CURRENCY CODE VALIDATE FIELD FUNCTION FORCE CHANGES ONLY FOR STATUS=OPEN.

NOW, SUPPOSE THE CUSTOMER WANTS TO CHANGE CURRENCY CODE FOR STATUS=RELEASE, THAT MEANS WITHOUT EXECUTE REOPEN. THIS HAPPEN WHEN THE USER KNOWS THE LINES ARE NOT TOUCHED, AND NO ONE HAVE MODIFICATIONS.

WHY WE CANNOT CHANGE CURRENCY CODE FOR STATUS=RELEASE WHEN LINES ARE NOT TOUCHED, WHEN THE ONLY THING IS CURRENCY FACTOR WILL BE CHANGED IN PURCHASE HEADER ?

WHY CHANGE CURRENCY CODE FORCE DELETEALL FOR LINES ?

THANK YOU.

Categories:
  • Suggested answer
    TeddyH Profile Picture
    TeddyH 12,861 Moderator on at
    RE: CHANGE CURRENCY CODE IN PURCHASE ORDER FOR STATUS=RELEASED

    The lines actually have more than 200+ fields, most of them are hidden from users. The currency code and currency rate have effects on a lot of things on these hidden fields, such as the LCY Amount.

    Can Microsoft just update all of these hidden fields automatically without recreating the lines ? Probably yes.

    My assumption is that instead of updating each of these fields through the code, the easiest way is to just recreate the lines. It will result in less bug and effort. NAV is a complex system to manage.

    As the reason why you need to reopen the status, it is because the status release is related to approval. If you get an approval of buying 100 yen, you don't want your user to change the currency to 100 USD without triggering the approval. Reopening the document will trigger the approval. Even if you don't use approval, NAV is designed for a lot of different kinds of companies.

    Some of these functions do cause a lot of inconveniences for users, but it is what it is.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,640 on at
    RE: CHANGE CURRENCY CODE IN PURCHASE ORDER FOR STATUS=RELEASED

    The currency code drives the logic of the currency factor and the exchange which in turn updates the cost based on the factor, so it needs to recreate the lines based on the factor change and recalculate the cost.

    Look at this post, which gives more information about currency

    reportsyouneed.com/.../

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