Showing posts with label dates. Show all posts
Showing posts with label dates. Show all posts
24 Aug 2015
10 Nov 2014
First date of month + AX
If you want to get first date of month
TransDate AnyDate=systemDateget();
TransDate FirstdateOfMth; ;
FirstdateOfMth=mkdate(1,mthofyr(AnyDate),year(AnyDate));
info(date2str(FirstdateOfMth,123,2,2,2,2,4));
This is second method to get first day of month. DateStartMth is standard global method.
TransDate AnyDate=today();
TransDate FirstdateOfMth; ;
FirstdateOfMth=DateStartMth(AnyDate);
info(date2str(FirstdateOfMth,123,2,2,2,2,4));
Systemdateget and today method will give you current system date.
TransDate AnyDate=systemDateget();
TransDate FirstdateOfMth; ;
FirstdateOfMth=mkdate(1,mthofyr(AnyDate),year(AnyDate));
info(date2str(FirstdateOfMth,123,2,2,2,2,4));
This is second method to get first day of month. DateStartMth is standard global method.
TransDate AnyDate=today();
TransDate FirstdateOfMth; ;
FirstdateOfMth=DateStartMth(AnyDate);
info(date2str(FirstdateOfMth,123,2,2,2,2,4));
Systemdateget and today method will give you current system date.
Subscribe to:
Posts (Atom)
Create number sequence in D365 FO
Create the data type. Add code in the loadModule method of the appropriate NumberSeqModule subclass. Add a method to the module’s paramet...
-
Dialogbutton dialogButtonConfirm; ; dialogButtonConfirm = Box::yesNo("continue ", dialogButton::Yes, ...
-
how you can disable a form element, based on the value of another form element. As example, the CustTable form will be used. The examp...
-
AXAPTA History Axapta 1.0 Development of Axapta began in 1983 at Danish company Damgaard Data A/S. The first version of Axapta (pr...