Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Electronic Reporting: ...
Finance forum
Unanswered

Electronic Reporting: Insert translateable Texblocks

Posted on by 266
Dear all,
 
I am about to create a Project Invoice in excel format. In the invoice, we would like to add text blocks that consist of some predefined text as well as some data sources.
 
To give you an example:
 
"We kindly ask you to transfer the invoice amount until [Due Date] to our bank account [Bankname] [IBAN]." Everything within brackets is bound to a datasource. 
 
The text needs to be translated to other languages, otherwise a formula would be simple. 
 
 
How is that achievable?
 
Thank you in advance, Adis
  • Adis Profile Picture
    Adis 266 on at
    Electronic Reporting: Insert translateable Texblocks
    Hey,
     
    I figured it out with some help and wanted to share my knowledge.
     
    1.
    You create a label (2) with the text you want. Fields that are not static, i.e. data sources, are marked with %1, %2, etc. Its best to (upload) the labels instead of creating them. Under (1) you can see the content of the label.
     
    2. In the formula editor (in the format), you use a replace function.
    The label is your input, the %1 is what you want to replace and (3) is the data source you want to replace %1.
     
    3. As I had to replace %2 as well, I had to wrap the replace into another replace function and in another replace function to replace %3.
    Since replace works only with text, if you have dates f.e., you need to convert them into text.
     
     
    Kind regards, Adis

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,773 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,513 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans