Run the below command which extends the 180 days
slmgr -rearm
This blog is for Dynamics AX (AXAPTA) Developers,this will help you for your development issues. This site contains some Microsoft Dynamics AX X++ Codes for use in your day to day use.
Run the below command which extends the 180 days
slmgr -rearm
Need to add range to the query.
Example: Need to add range in ExecuteQuery() method.
QueryBuildRange queryBuildDateRange = SysQuery::findOrCreate(this.queryBuildDataSource(),fieldNum(MyTable,Field));
queryBuildDateRange.value(SysQuery::range(fromDate.DateValue(),Todate.dateValue()));
ModelUtil.exe -import -metadatastorepath=k:\aosservice\packageslocaldirectory -file=C:\Temp\DEST.axmodel