Notifications
Announcements
No record found.
Class available in AX2009/D365
Quarter date2Quarter(date _date) { int intQuarter = date2Qtr(_date); Quarter quarter; switch(intQuarter) { case 1: quarter = Quarter::Q1; break; case 2: quarter = Quarter::Q2; break; case 3: quarter = Quarter::Q3; break; case 4: quarter = Quarter::Q4; break; } return quarter; }
Prasanna, you shared a screenshot and a piece of code, but no text. Please explain what kind of assistence you need from the community regarding this code.
Also, please use Insert > Code to paste source code, as I already told you last time. You lost line indentation exactly because you forget this step.
Hi Martin,
Thanks for your respond.
Updated post with code.
This forum under discussion, not question.
Thanks.
If yu have no question, than what do you want to discuss?
If you actually have nothing to discuss and you just want to share some information, than use a blog instead of a discuss forum. And there you'll also need to provide some text, not just a piece of code without any context or explanation.
Is there any blog or link related to this date2qtr functions.
What kind of information would you like to get about date2qtr()? We can't give you link that will answer your questiions if you keep refusing to tell us what questions you have.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 490 Super User 2025 Season 2
Martin Dráb 429 Most Valuable Professional
BillurSamdancioglu 241 Most Valuable Professional