Tags » Dynamics AX 2012 R3

Small job that helps you update the Customer address book association

1:  static void UpdateAddressBookOfCustomer(Args _args) {  
2:      CustTable custTable; //= CustTable::find("2104");  
3:      container addressBooks = ["ALL", "CEU", "CEC"];  
4:      while select firstonly Party from custTable {  
5:          DirAddressBookParty::createPartyRelationsByName(custTable.Party, addressBooks);  
6:      }  
7:  }  

Happy Daxing :)

Microsoft Dynamics Ax

Container and text fields not allowed in update_recordset setting expression

Error Message :

Container and text fields not allowed in update_recordset setting expression

Cause: Dynamics AX does not allow you to use an unbounded string in a setting  and where clause. 20 more words

Microsoft Dynamics AX

How to delete unused Financial Dimension

yesterday I came across the following issue  and thought I’d share my findings and solution.

I’ve setup a chart of accounts and shared it between 3 companies.(one of them a test company).i have mapped one ledger account (Main Account) with bank accounts of all three companies.I have attached a “Test” account structure.and made a couple of postings in the test company. 447 more words

Microsoft Dynamics AX

Dynamics AX 2012 R3 CU8 with TFS OnLine

As i was doing an upgrade to CU8 a month ago, was trying to keep my Dynamics AX projects as source controlled and hence configured TFS for the same, but in cloud. 376 more words

Dynamics AX 2012

Dynamics AX Ledger Dimension using DimensionServiceProvider

There are different ways to create combinations of dimension using X++ code.

in previous blog  i have written how to create ledger dimension using class AxdDimensionUtil method getledgerAccountid which takes container as input and container has account entry pattern along with dimensions.for more details look in to this  317 more words

Microsoft Dynamics AX

Dynamics AX Ledger Dimension using AxdDimensionUtil::getLedgerAccountId

The way ledger dimensions work changed drastically with the release of Dynamics AX 2012. You have probably seen the dynamic account strings, in which main account numbers are merged with ledger dimensions into one string. 225 more words

Microsoft Dynamics AX