Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Navision - New Dataport : Quickest way to translate Datafields

(1) ShareShare
ReportReport
Posted on by 21

Hello,

Periodically I want to export to .csv a list of records from a filtered table. Example :

Customer Pallettype Date

------------------------------------

Nike   Europal1  2023-05-26

Adidas  Europal2 2023-05-24

Asics Europal1 2023-05-24

But I don't want to export directly these raw fields. I shall convert them so that my .csv export fits with a 3rd party app that will import the .csv

Nike shall be 0215-NIKE

Adidas shall be 3548-ADIDAS

Asics shall be  4782-ASICS

Europal1 shall be EURO 90 X 120

Europal2 shall be EURO 100 X 100

Could you please help me to figure out what's the more conveniant way to perform these fields translations ? Doable by SourceExpr Property ?

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 993 Super User 2024 Season 1 on at
    RE: Navision - New Dataport : Quickest way to translate Datafields

    I think the easiest way would be to write code in the OnBeforeExport trigger for the pallet field.

    Then you can make sure that the correct value is being exported.

    Edit your dataport and press F9 to get access to the code for the triggers.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,488 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans