Skip to main content

Posts

View creation for Workflow status tracking for work item in Ax 2012

 There is simple View creation for Workflow status tracking for work item in Ax 2012. You can get table details in below diagram. Workflow status tracking for header table is workflowtrackingstatustable and to get different approval task for that table is workflowtrackingtable and same way to track workflow item-wise you can select table workflowworkitemtable and task status item wise is workflowtrackingworkitem. You can define range for status field for pending ,cancel or stopped workflow. You can give other column for range in view to check with small number of records. If repetitive records come then you can use group by in your query.

Dynamics Development Interface, Ax 2015 Rainier ,Ax7

Development Interface for Rainier This is the AOT Overview where you can see data model,user interface, security,  services, code, resources,label files etc.  Data model include tables,views,Queries,Maps ,table collection etc. Dynamics Ax7 tool is import where you ca deploy new changes,import project,build model,synchronize database,label details,addins ,option etc.  User Interface module include forms,tiles,menus,menu-items etc

Task Recorder in Microsoft Dynamics AX7 code named Rainer-AX 2015

Task Recorder If you want to use Task Recorder in Microsoft Dynamics AX7 code named Rainer-AX 2015 then you can use option as below. Go to Option then Select task recorder. Click on create new task. Assign name of Task then click on start. After finishing the process you need to stop task recorder. If you want to generate document you can do that by downloading word document option.

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.

Backdate validation for user control in EP MSD axapta

If you are seeking code for Backdate validation for user control in Enterprise portal page for  axapta then below code can help you. Its tricky to find code on EP so its helpful for you. string cDate1 = DateTime.Now.ToString("dd/MM/yyyy"); int flag = 0; Proxy.Info objinfolog = new Proxy.Info(this.AxSession.AxaptaAdapter); DateTime x; DateTime a; Int32 r1; Date1 = txtDate1.Text; Ir = dsTestNewForm.GetDataSourceView("TestNewForm").DataSetView.GetCurrent().GetRecord(); if (txtDate1.Text != "" && Ir.GetField("Date1").ToString() == "1/1/1900 12:00:00 AM") { x = DateTime.Parse(cDate1, new CultureInfo("en-CA")); a = DateTime.Parse(Date1, new CultureInfo("en-CA")); r1 = DateTime.Compare(a, x); if (Ir.GetField("Date1").ToString() == "1/1/1900 12:00:00 AM" && r1 < 0 && Date1 != "")

Get Current date from User control on Enterprise portal web page in Visual studio for MSD axapta

To Get Current date from User control for  Enterprise portal page in Visual studio for axapta you can set below code and show in message box. string cDate1 = DateTime.Now.ToString("dd/MM/yyyy"); Proxy.Info objinfolog = new Proxy.Info(this.AxSession.AxaptaAdapter); objinfolog.add(cDate1); You can include above code in your click event or as per your required event. This code you need to write in visual studio . You need to add particular user control in visual studio project then open code file to write the code.