Skip to main content

Posts

Microsoft Dynamics Ax X++ overview and Features

Dynamics Ax overview Dynamics Ax Features .

Convert Container value to String format in MSD axapta

Convert Container value to String format in axapta To Convert Container value to String format in axapta  you can use con2Str method. Below is the sample of code to tryout in your job to check the string value. container TestCont; TestCont+= "He is not a permanent "; info(con2Str(abc)); TestCont+= "Employee and belongs to Sales Department"; info(con2Str(TestCont));

Database information,Reindex Synchronize table database Truncate table in MSD Axapta

Database information,Re index,Synchronize table database, Truncate table in Axapta To get Database information for your AX Just following following step 1. Click Area Page node: Administration -> Inquiries -> Database -> Database information. 2. Close the Database information form. Reindex Table 1. Click Area Page node: Administration -> Periodic -> SQL administration. Select all table 2. Click the Index actions -> Reindex menu button. To Check/Synchronize Table 1.Click Area Page node: Administration -> Periodic -> SQL administration. 2. Click the Table actions -> Check/Synchronize menu button. Same way you can use other option Like Synchronize database 1. Click Area Page node: Administration -> Periodic -> SQL administration. 2. Click the Table actions -> Synchronize Database. Truncate Table -If you want to delete all records of particular table then you can use truncate option. 1. Click Area Page node: Administration -

Display Address from multiple to single line in MSD axapta

Display Address from multiple to single line in axapta Mostly we face issue to Display Address from multiple to single line in axapta report in Ax 2009 . Following is the way to do it very easily. Code snaps is as below.. str lineall; ; lineall =lineall +strline(CompanyInfo::find().Address,0); lineall =lineall +strline(CompanyInfo::find().Address,1); lineall =lineall +strline(CompanyInfo::find().Address,2); lineall =lineall +strline(CompanyInfo::find().Address,3); lineall =lineall +strline(CompanyInfo::find().Address,4); lineall =lineall +strline(CompanyInfo::find().Address,5); return lineall;

Validate Name in MSD Axapta

Validate Name in Axapta To Validate Name in Axapta  you can refer below code. --------------------------------------Code block---------------------------- boolean validatestrName(str strName) { Boolean valid,flag; System.Boolean flagTest; str matchstrNo = "^[a-z, ,A-Z]+$"; System.Text.RegularExpressions.Match myMatch; New InterOpPermission(InteropKind::ClrInterop).assert(); myMatch =System.Text.RegularExpressions.Regex::Match(strName,matchstrNo); flagTest = myMatch.get_Success(); flag = flagTest; CodeAccesspermission::revertAssert(); if(strName == "") return true; else return flag; } --------------------------------------End Code block-------------------------

SSRS Report deployment Error in MSD Axapta

SSRS Report deployment Error details;-  On SSRS  Report deployment getting below error form ssrs deployment log file. Deployment failed with the following exception: System.Runtime.InteropServices.COMException (0x80040208) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Management.ManagementObject.Initialize(Boolean getObject) at System.Management.ManagementBaseObject.get_Properties() at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName) at Microsoft.Dynamics.Framework.Deployment.Reports.SrsWmi.get_ConfigPath() at Microsoft.Dynamics.Framework.Deployment.Reports.ReportLibraryDeployer.DeployBusinessLogicAssemblies(IEnumerable`1 businessLogicAssemblies, DeploymentLogger logger) at Microsoft.Dynamics.Framework.Deployment.Reports.ReportLibraryDeployer.Deploy(IEnumerable`1 reportLibrariesToDeploy, IEnumerable`1 transitiveReferenceClosure, IEnumerable`1

Security Development Tools from Life cycle for MSD Ax 2012

Security Development Tools from Life cycle for Ax 2012 help us to see effect of  roles, duties, and privileges. You can download this tool from Dynamics life cycle services for Ax 2012 site. By using this tool you can easily test your newly create roles for forms,class,reports etc. This is free Downloadable tools section of Microsoft Dynamics Lifecycle Services.You need to have Account of MSN login. This tools  help you to save your time on test with different user login. You can get more details for this from below mention link.