It might look a bit confusing at first, but when you get used to it it's so much more lightweight and configurable.
It might look a bit confusing at first, but when you get used to it it's so much more lightweight and configurable.
Watch my latest video for a full breakdown! 🎥👇
youtu.be/jbmrP3BYJmQ?... via
@YouTube
#Msdyn365bc #ToText #MicrosoftDynamics #ALhelp
Watch my latest video for a full breakdown! 🎥👇
youtu.be/jbmrP3BYJmQ?... via
@YouTube
#Msdyn365bc #ToText #MicrosoftDynamics #ALhelp
𝚃𝚎𝚡𝚝𝟻0𝚅𝚊𝚛 := 𝙳𝚎𝚌𝚒𝚖𝚊𝚕𝚅𝚊𝚛.𝚃𝚘𝚃𝚎𝚡𝚝(); (unlike validate)
will raise warning AA0139 ("Do not assign a text to a target with smaller size."), whereas good ol'
𝚃𝚎𝚡𝚝𝟻0𝚅𝚊𝚛 := 𝙵𝚘𝚛𝚖𝚊𝚝(𝙳𝚎𝚌𝚒𝚖𝚊𝚕𝚅𝚊𝚛);
never did.
So ... either use a 𝚙𝚛𝚊𝚐𝚖𝚊 𝚠𝚊𝚛𝚗𝚒𝚗𝚐 𝚍𝚒𝚜𝚊𝚋𝚕𝚎 𝙰𝙰0𝟷𝟹𝟿, or stick to 𝙵𝚘𝚛𝚖𝚊𝚝().
𝚃𝚎𝚡𝚝𝟻0𝚅𝚊𝚛 := 𝙳𝚎𝚌𝚒𝚖𝚊𝚕𝚅𝚊𝚛.𝚃𝚘𝚃𝚎𝚡𝚝(); (unlike validate)
will raise warning AA0139 ("Do not assign a text to a target with smaller size."), whereas good ol'
𝚃𝚎𝚡𝚝𝟻0𝚅𝚊𝚛 := 𝙵𝚘𝚛𝚖𝚊𝚝(𝙳𝚎𝚌𝚒𝚖𝚊𝚕𝚅𝚊𝚛);
never did.
So ... either use a 𝚙𝚛𝚊𝚐𝚖𝚊 𝚠𝚊𝚛𝚗𝚒𝚗𝚐 𝚍𝚒𝚜𝚊𝚋𝚕𝚎 𝙰𝙰0𝟷𝟹𝟿, or stick to 𝙵𝚘𝚛𝚖𝚊𝚝().
I know it does nothing new, but I like it a lot. Looks cleaner than wrapping it in Format() imo.
I know it does nothing new, but I like it a lot. Looks cleaner than wrapping it in Format() imo.
#BC2025w1 #AL #msdyn365bc
#BC2025w1 #AL #msdyn365bc
Only to mention a few:
- Use new 𝗜𝗻𝗰𝗦𝘁𝗿 parameter to change integers by more than 1
- Convert simple type values to text using new 𝗧𝗼𝗧𝗲𝘅𝘁 method
- Running objects in actions defaults to UI descriptors on target object
Only to mention a few:
- Use new 𝗜𝗻𝗰𝗦𝘁𝗿 parameter to change integers by more than 1
- Convert simple type values to text using new 𝗧𝗼𝗧𝗲𝘅𝘁 method
- Running objects in actions defaults to UI descriptors on target object
nataliekarolak.wordpress.com/2025/04/02/d...
nataliekarolak.wordpress.com/2025/04/02/d...
It may go unnoticed but Label is now more of a Text so it already has all the BeginsWith, Substring, IndesOf etc. you would expect after .ToText()
It may go unnoticed but Label is now more of a Text so it already has all the BeginsWith, Substring, IndesOf etc. you would expect after .ToText()
New ToText() method — a cleaner, more predictable way to convert simple types (like Integer, Decimal, Boolean, DateTime, and even Option types) to text.
ammolhsaallvi.blog/2025/04/25/c...
#msdyn365bc
#businesscentral
New ToText() method — a cleaner, more predictable way to convert simple types (like Integer, Decimal, Boolean, DateTime, and even Option types) to text.
ammolhsaallvi.blog/2025/04/25/c...
#msdyn365bc
#businesscentral
All 15.1 changes are now mentioned in my blog post (search for "15.1"):
nataliekarolak.wordpress.com/2025/04/02/d...
#msdyn365bc
All 15.1 changes are now mentioned in my blog post (search for "15.1"):
nataliekarolak.wordpress.com/2025/04/02/d...
#msdyn365bc
#Dynamics365
#MSDyn365
#MicrosoftDYN365
#MSDyn365BC
#businesscentral
#Dynamics365
#MSDyn365
#MicrosoftDYN365
#MSDyn365BC
#businesscentral
📚 To easily convert the value of simple types to text, you can now use the ToText method on the type.
‼️ For advanced formatting options, you should continue to use FORMAT
🔎 www.linkedin.com/posts/gdrent...
#msdyn365bc #al
📚 To easily convert the value of simple types to text, you can now use the ToText method on the type.
‼️ For advanced formatting options, you should continue to use FORMAT
🔎 www.linkedin.com/posts/gdrent...
#msdyn365bc #al
The ToText method is here, and it’s a game-changer for AL developers. Ready to simplify your code?
📺 Watch the full breakdown: youtu.be/jbmrP3BYJmQ
#BC2025 #ALDevelopment #Msdyn365bc
The ToText method is here, and it’s a game-changer for AL developers. Ready to simplify your code?
📺 Watch the full breakdown: youtu.be/jbmrP3BYJmQ
#BC2025 #ALDevelopment #Msdyn365bc