Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Programming Microsoft Dynamics NAV 2013

You're reading from   Programming Microsoft Dynamics NAV 2013 Experienced programmers and developers will find this the definitive guide to programming Microsoft Dynamics NAV. Both a reference book and a comprehensive hands-on tutorial, it will expand your knowledge dynamically.

Arrow left icon
Product type Paperback
Published in Feb 2013
Publisher Packt
ISBN-13 9781849686488
Length 630 pages
Edition 3rd Edition
Arrow right icon
Toc

Table of Contents (19) Chapters Close

Programming Microsoft Dynamics NAV 2013
Credits
Foreword
About the Authors
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
1. An Introduction to NAV 2013 FREE CHAPTER 2. Tables 3. Data Types and Fields 4. Pages – the User's Interactive Interface 5. Queries and Reports 6. Introduction to C/SIDE and C/AL 7. Intermediate C/AL 8. Advanced NAV Development Tools 9. Develop, Debug, Deliver Answers to Review Questions Index

Multi-currency system


NAV was one of the first ERP systems to fully implement a multi-currency system. Transactions can start in one currency and finish in another. For example, we can create the order in US dollars and accept payment for the invoice in Euros. For this reason, where there are money values, they are generally stored in the local currency (referenced as LCY) as defined in the setup. There is a set of currency conversion tools built into the applications and there are standard (by practice) code structures to support and utilize those tools. Two examples of code segments from the Sales Line table illustrating handling of money fields follow:

In both cases, there's a function call to ROUND and use of the currency-specific Currency."Amount Rounding Precision" control value.

As we can see, before creating any modification that has money fields, we must familiarize ourselves with the NAV currency conversion feature, the code that supports it and the related setups. A good place to...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime