Date Calculation :
static void DateCalcu(Args _args)
{
TransDate fromDate,toDate;
int reqDays;
;
fromDate = mkdate(01,07,2011);
toDate = mkdate(19,06,2011);
if(fromDate && (toDate > fromdate))
{
reqDays = todate - fromDate;
}
else
{
throw error(strfmt("To-date %1 must be greater than from-date %2",todate,fromdate));
}
info(strfmt("%1",reqDays));
}
Popular Posts
-
Display Method: Take the new method in a table display Name names() { CustTable custTable; ; return Cust...
-
Difference Between Array and Container : Array : 1 . In this array are single dimension. 2.You can define array in only sing...
-
Pack and unpack Pack this method is a standard method inherited from RunBase. It is used to save the values that the user selects and s...
-
Exist Method : static boolean exist(ItemId itemId)--->this is key which is primary { return itemId && (select RecId from ...
-
static void nestingExcel(Args _args) { SysExcelStyles styles; SysExcelStyle style; SysExcelFont ...
-
Copy of the data from one table to another Table:- Insert_recordset copyOfStudents (ID, Name, ClassName) à here where the data is copied ...
-
Ax Number Sequence : ClassDeclaration: NumberSeqFormHandler numberSeqFormHandler; Close: void close() { if (numberSeqFormHandl...
-
Posting Journals static void Journal_Kis(Args _args) { InventJournalTable journalTable; InventJournalTrans journalTra...
-
suppose they are 3 field in enum one value is shown in form and another form is used in another form .we put the filter in datasource-->i...
-
see this link http://www.4shared.com/dir/W-Aitz4u/Axapta_Video.html
No comments:
Post a Comment