Skip to main content

Posts

Showing posts with the label Comparing

Comparing AX and Active Directory User Accounts

metod 1 I was recently working with an AX 2009 customer who wanted to compare the user accounts configured in AX with the user accounts in Active Directory. The basic goals were: 1.Find all AX user accounts that no longer exist in Active Directory. 2.Find all accounts that are disabled in Active Directory but not in AX. It would be great if AX would flag these scenarios for you, but unfortunately it doesn't. If you’re interested in knowing if you have any orphaned accounts or accounts that should probably be disabled in AX, here’s a quick way to do just that. 1.Export AD users to a CSV file. I used a PowerShell command for this step. The command I used requires the Active Directory Module for Windows PowerShell. This is installed by default on domain controllers, but it is also available via the Remote Server Administration Tools for Windows 7 if you want to run it from a workstation instead. http://www.microsoft.com/download/en/details.aspx?id=7887 2.Create a table for the AD ...

Comparing records

Sometimes you need to know what’s the difference between records. I made a simple function to do just that.It takes two records and returns a container with the field IDs and the values from both records. For simplicity I used a flattened container instead of more complicated data structures. Feel free to replace it with nested containers or some kind of collection. I added this to the class Global for easy access. public static container compareRecords ( Common _record1 , Common _record2 ) { SysDictTable dictTable = new SysDictTable ( _record1. TableId ) ; SysDictField dictField; FieldId fieldId , extFieldId; container ret; int i , j; ; if ( _record1. TableId != _record2. TableId ) return conNull ( ) ; for ( i = 1 ; i <= dictTable. fieldCnt ( ) ; ++ i ) { fieldId = dictTable. fieldCnt2Id ( i ) ; dictField = new SysDictField ( _record1. tableId , fieldId ) ; i...

Dynamics AX 2009 and Dynamics AX 2012 modules comparisons

Following are the enhancements made by Microsoft on Dynamics AX 2012: For example, GL module in AX 2009 is now break into GL and Fixed assets in AX 2012. AX 2009 Module AX 2012 Module General Ledger General Ledger Fixed Assets (New) Bank Cash and bank management Accounts Payable Accounts Payable Procurement and sourcing (New) Accounts Receivables Accounts Receivables Sales and Marketing (New) Inventory Management Product information (New) Inventory and warehouse management Expense management Travel and expense management Production Production control Project Project management and accounting Compliance and internal control (New)