End of mainstream support for Microsoft Dynamics AX 2009, 2012, and 2012Mainstream support for Dynamics AX 2009 Service Pack 1 (SP1), Dynamics AX 2012, and Dynamics AX 2012 R2 ended Oct. 9, 2018. After that date, only security hotfixes will be provided for these three versions through the extended support period that until Oct. 12, 2021. Read more
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants.Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements.
ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
Hello awesome community i'm new to AX and report development i'm still learning and I seek your help if you please :)
I'm developing an SSRS report using DP class, I have a "TransDate" field from LedgerJournalTrans Table but it shows on like this:
I have tried to change it in Visual Studio using this window:
But it did not have a dd/mm/yyyy option unfortunately.
I believe it should be done in DP class with code, if you show me the code or refer me to a reference, it would be appreciated
Thanks in advance!
You can use the function: Date2Str().
Is a global function and you can set the parameters to return the value the way you need:
static void Job2(Args _args)
date currentDate = today();
s = date2Str
DateSeparator::Hyphen, // separator1
DateSeparator::Hyphen, // separator2
info("Today is: " + s);
/** Example Infolog output
Message (12:36:21 pm)
Today is: 2009-01-13
You can do this in many ways, without any line of code.
with the current way, that you are trying, select the last choice called 'Custom' and then in the empty box add dd/MM/yyyy
that should work for you.
I can see two ways to achieve your goal:
1. You can use TextBox expression and use following command: =FORMAT(Fields!Dataset_Field_Name_Here.Value,"dd/MM/yyyy")
2. Use TextBox Custom format as presented on following screen:
Let me know if any of the above works for you.
Sohaib Cheema is right no need to write code in DP class. You can achieve this by Custom option in format put "dd/MM/yyyy"
Works like a charm! simple and straight forward thank you guys for your kind help and time!
What about if my date field is a string and i need to print in dd/MM/yyyy format in a report?
how to acheive this scenario?pls suggest
Business Applications communities