Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Might come across as an easy question yet haven't found the answer anywhere yet:
Is there a way to initialise a string variable in code with a fixed length of characters for example initialise the variable _test with a fixed length of 10 characters?
You can use str 10 _test, but I can't say whether it'll solve your problem, because you didn't explain what you're trying to achieve.
If you want to make sure that a string contains just ten characters, subStr() is likely the right approach.
By the way, you can read a bit more about str data type in AX documentation: Data Types in X++ > Primitive Data Types > Strings.
Business Applications communities