This link will show you how to resolve compiler warnings in Axapta.
http://blogs.msdn.com/x/
This blog is about daily challenges we normally faced in Dynamics 365 and Dynamics AX development.
Monday, September 10, 2007
Thursday, September 6, 2007
Dynamics AX Programming of Basic Methods of Tables
this is very nice link for basic level understanding
http://msdax.blogspot.com/2007/07/programming-of-basic-methods-of-tables.html
http://msdax.blogspot.com/2007/07/programming-of-basic-methods-of-tables.html
Tuesday, September 4, 2007
Code Coverage of Table Level Methods
In order to enable code coverage you have to follow some naming conventions or override a specific method on your test class:Naming convention: TableName + Test or simply override the testsElementName() method and returnthe name of your table.(also, override the testsElementType and return UtilElementType::Table;
Thursday, August 30, 2007
Specifying empty date values
If you want to set a date field to an empty date or need to compare if a date field is empty, you can use the datenull() function. It is a method of the Global class and will simply return 01\01\1900.This leads to more things:
You can write dates in Axapta X++ editor using backslashes, e.g. 14\04\2006
An empty date in Axapta is specified as January 1st, 1900.
You can use methods from the Global class without having to write "Global::". So, you can write "if date == datenull()" and you do not have to write "if date == Global::datenull()". This works with all the methods from the Global class.
You can write dates in Axapta X++ editor using backslashes, e.g. 14\04\2006
An empty date in Axapta is specified as January 1st, 1900.
You can use methods from the Global class without having to write "Global::". So, you can write "if date == datenull()" and you do not have to write "if date == Global::datenull()". This works with all the methods from the Global class.
Documenting business tasks
Subscribe to:
Posts (Atom)