Blog2019-02-02T00:55:38-06:00

Workflow Error: Application Cannot Be Started

February 4th, 2017|Categories: Dynamics 365 Finance, Supply Chain Mgmt (AX 7, 8, 10, Operations)|

Recently I was trying to set up a workflow in AX 7 / Dynamics 365 for Operations.  I was unable to open the workflow editor.After clicking the details button I found the following:Deployment Identity                : Microsoft.Dynamics.AX.Framework.Workflow.WorkflowEditorHost.application, Version=7.0.4307.16141, Culture=neutral, PublicKeyToken=c3bce3770c238a49, processorArchitecture=amd64...System.Deployment.Application.InvalidDeploymentException (Zone) [...]

Determine table ID in SQL

January 10th, 2011|Categories: Dynamics AX 4.x|

Create this function to easily get the table number within a SQL statement.-- =============================================-- Create date: 2010.11.01-- Description: Gets the AX table ID for the table name-- =============================================ALTER FUNCTION [dbo].[fnAXTableID] ( -- Add the parameters for the function here @tableName [...]

Convert Axapta Time in SQL

November 15th, 2010|Categories: Dynamics AX 4.x|

AX 4.0 stores time in the database using the seconds since midnight.  So in order to view the time (military format) we must divide.  Here is an example:SELECT TOP 20 StartTime AS [Seconds since midnight],       CAST(StartTime/60/60 AS VARCHAR(2)) + ':' [...]

Get the next unique file name

October 9th, 2010|Categories: Dynamics AX 4.x|

Sometimes you are saving a temporary file so you don't want to delete or overwrite anything that already exists in a directory...there is a nice function to find the next unique file name.fileNameTemp = Global::fileNameNext(fileOriginalsPath + fileName);

Rename items quickly

October 4th, 2010|Categories: Dynamics AX 4.x|

Here is a little script to rename items quickly.  Just provide a CSV file with old and new item number.  I found that making the CSV file was faster than making a job to intelligently rename items because I could [...]

Go to Top