Announcements
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.
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.
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
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156