Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Data Exchange and Data Transformation

Posted on by Microsoft Employee

I am setting up some data import processes to import data from a number of well known online payment processors and I need to manipulate some decimal values.  the operators I need are:

1.  Division to convert an amount in pence / cents into whole units £, $ & €

2.  to change the sign

3. To set the sign based on a value in other field, e.g. CR then value positive and DR then value negative (or something like this)

As far as I can see the transformation rules are ok for formatting text & dates but don't allow for logical tests or numeric operations? 

Any advice please

Thanks

Malcolm

*This post is locked for comments

  • Suggested answer
    AJAnsari Profile Picture
    AJAnsari 5,754 on at
    RE: Data Exchange and Data Transformation

    Not sure I follow. Can you please elaborate?

    From what I understand, you want to perform numerical tests on imported values and are not sure that NAV can handle this. The short answer is, yes it can. You would first convert the imported data type from string to an acceptable numerical value like Decimal or Integer using the Evaluate function, then perform your tests using the IF or CASE statement.

    I hope this helps. If my response has answered your question, please verify by clicking Yes next to "Did this answer your question?"

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans