Blog

Microsoft Dynamics AX Thoughts

Browsing all articles in Dynamics AX
2

If you ever started working on the image downloaded from the Microsoft PartnerSource of Microsoft Dynamics AX 2012, you might face a trouble while trying to explore Role Centers or Enterprise Portals.


This error is due to the configuration setup in the AX2012 image that let’s DNS points to contoso.com domain. What has to be done is to redirect that domain to the current machine (which is the same virtual machine you’re using).

To do so you must add a loop back IP to your” Hosts” file. You can think of that files a Rolodex for your computer. Its where a computer looks first to translate the URL of a website into a numerical IP address that it can actually use. You can find the “Hosts” file in: “C:\Windows\System32\drivers\etc\Hosts”.

To fix the issue, open the Hosts file a notepad and add this line to the end of the file:

127.0.0.1       dynamicsax.contoso.com

In the beginning, you might encounter the below error… but it will be fixed with “refresh”:

 

0

Everyone in the Dynamics filed remembers very well how hard it was to get into the track of any Microsoft Dynamics producttechnically or functionally. Apart from missing of  learning resources, qualified consultants were also missed.

A great initiative that we always missed since so long time is now live in Saudi Arabia. Dynamics Academy is an academic initiative that was taken to support the Microsoft Dynamics community in Saudi Arabia with academic programs in all kinds with Microsoft Dynamics AX, GP, NAV and CRM.

From its early days, Dynamics Academy has put an objective in mind that is helping  Microsoft Dynamics vendors and clients in the region to educate their resources and put them on the right track to increase the success probabilities. The academy is seriously taking the responsibility of such education programs by starting with fresh individuals who have no experience in ERP, CRM, nor any business solution implementation even. Those individuals will be ready to get involved as functional and technical consultants in junior levels in Dynamics AX, GP, NAV and CRM implementations.

This initiative was taken by three contributors from the community: Ahmad Maghraby (CPIM, CSCP, PMP, MCT),  Ahmad Yakan (MCT, MCBSP) and I.

For more information about the Dynamics Academy and to get announcements on the trainings, visit the academy website: http://www.dynamicsacademy.net/.

1

Description: Microsoft Dynamics AX 2012, Powerful, Agile and Simple  Cubes Solutions

After its successful event in Riyadh last May, Microsoft Dynamics AX Brains community is back to continue its support to the Saudi community in the Eastern Region this time.

Under the sponsorship of Cubes Solutions, December 14th will gather all community members at Al Gosaiby hotel in Khubar to introduce the new version Microsoft Dynamics AX 2012.

The event will be a great opportunity for Microsoft Dynamics AX partners, customers, and consultants to gather and network.

 

Agenda (09:30AM – 02:45PM):

Session Start Time End Time Speaker
Registration 09:30 09:55  

Welcoming note and Dynamics AX Brains Introductory      09:55 10:00 Amer Atiyah
If you have no idea what “Dynamics AX Brains” is, then this is a good chance for you to know how you can benefit from such community and technical gathering.


Microsoft Dynamics AX 2012 10:00 10:15 Ahmad Sharkawi
Ahmad Sharkawi from the Microsoft MBS team will be presenting an introduction to Microsoft Dynamics AX 2012


 

Introducing the New Features of Financials and Projects Accounting in Dynamics AX 2012 10:15 11:30 Ahmad Yakan
Microsoft Dynamics AX deals with customers and partners pain in its new version AX 2012 by adding very important functions in Financials and Projects accounting. The session will focus on certain functionalities that give Microsoft Dynamics AX the advantages comparing it with other business solutions systems; generally we will talk about the improved collaboration, the increased productivity and the strong measures and controls with a better financial insight.


 

Prayer and Coffee Break 11:30 12:15  

Introducing the New Features of Supply Chain Management & Manufacturing in Dynamics AX 2012 12:15 13:30 Ahmad Maghraby
Microsoft Dynamics AX 2012 is coming with so many new capabilities that are critical for any business. Specifically in the supply chain management and the production areas, major processes have been introduced. This session will reveals the new features of AX 2012 in the supply chain management and manufacturing. Join us and get ready for the new release.


 

Coffee Break 13:30 13:45  

Technology in Microsoft Dynamics AX 2012 13:45 15:00 Amer Atiyah
This session is a light weight technical session describes the new Dynamics AX 2012 for new as well as experienced Dynamics AX technical and non-technical attendees.Tremendous changes and efforts have been made on the technology side from the Dynamics AX 2012. Layers in database, new Modeling system, Reports only on SSRS, Enterprise Portal on MOSS 2012, AOT in VS.net… and many other new updates you would really like to watch.


4

If you have ever came across a case where you found Dynamics AX girds showing only the first line of data… don’t get afraid, you still have all the data.

Basically to solve the issue, insure that the client you’re using has the very same version of your Dynamics AX AOS. You could do that by installing the right Microsoft Dynamics AX SP and Rollup version. :)

0

If you have ever used the General Ledger AIF service of the Microsoft Dynamics AX 2009, you might have noticed the limitation of not integrating other than Ledger transactions. For example, you cannot send Customer and Vendor transactions through that AIF Service.

I came across a requirement where I needed to integrate external Vendor and Bank transactions through AIF. After spending sometime on testing as well as on X++ code tracing… I came to know that Microsoft is putting some restrictions on the code to not to accept the Ledger Journal transactions of types other than Ledger.

The following code is a standard X++ code that was written to prevent such integration.

37
38
39
40
41
42
43
44
45
46
47
48
49
//LedgerJournalTableType (class) -- initializeLedgerJournalName (method) -- Line number 37
/*Commented to disable the Non-Ledger type restriction*/
    if (!true /*this.isJournalNameValidJournalType()*/)
/*Commented to disable the Non-Ledger type restriction*/
    {
        AifFaultContext::setGlobalContextField(tableId, fieldId);
        AifFault::checkFailedLogFault(strfmt("@SYS114718", axLedgerJournalTable.parmJournalName(), axLedgerJournalTable.parmJournalType()), #InvalidJournalNameJournalTypeCombination);
        throw AifFault::faultList("@SYS98197", #ValidationFailed);
    }
/*Initilizing the journal type from the journal name*/
    ledgerJournalTable.JournalType = ledgerJournalName.JournalType;
/**/
}

Also I have changed:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//Amer Atiyah, http://www.amer-ax.com/
//LedgerJournalTransType (class) -- validateAccountType (method) -- Line Number 1
protected boolean validateAccountType()
{
    boolean         isValid = true;
    ;
 
    switch (ledgerJournalTable.JournalType)
    {
        case LedgerJournalType::Daily :
                /* I had to comment this code to prevent the validation
                if (ledgerJournalTrans.AccountType != LedgerJournalACType::Ledger)
                {
                    if (this.isConsumerStateTracked())
                    {
                        // AX5 service limitation
                        isValid = AifFault::checkFailedLogFault("@SYS117885", #AccountTypeMustBeLedger);
                    }
                }*/
            break;
 
        default :
            break;
    }
 
    return isValid;
}

What I like to mention in here is that Microsoft Dynamics AX 2012 now supports integrating Vendor, Customer, and Bank transactions out-of-the-box. I copied the following code from the LedgerJournalTransType class in Dynamics AX 2012 without doing any changes to it:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
protected boolean validateAccountType()
{
	boolean isValid = true;
 
	this.initializeLedgerJournalTable();
 
	switch (ledgerJournalTable.JournalType)
	{
		case LedgerJournalType::Daily :
			if(LedgerJournalTrans.AccountType != LedgerJournalACType::Ledger &&
			   LedgerJournalTrans.AccountType != LedgerJournalACType::Bank &&
			   LedgerJournalTrans.AccountType != LedgerJournalACType::Vend &&
			   LedgerJournalTrans.AccountType != LedgerJournalACType::Cust)
			{
				if(this.isConsumerStateTracked())
				{
					isValid = AifFault::checkFailedLogFault("@SYS117885", #AccountTypeIsNoSupported);
				}
			}
			break;
		default;
			break;
 
	}
 
	return isValid;
}
5

Developing applications is now easier and faster in the new Microsoft Dynamics AX 2012 than its earlier versions. .NET developers who are familiar with Visual Studio .NET will be comfortable with developing Dynamics AX applications although Dynamics AX has its own IDE which called MorphX and its own programming language with is X++.

This image shows the Dynamics AX AOT (Application Objects Tree), one of the MorphX IDE objects that Dynamics AX developers use to navigate through programming objects like Forms, Reports, and X++ Classes:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

With Microsoft Dynamics AX 2012, you can view that AOT in the Microsoft Visual Studio 2012:

Dynamics AX 2012 Applicatoin Explorer in VS.NET

Proxies

Microsoft Visual Studio 2010 now creates proxies internally to support interacting with Microsoft Dynamics AX 2012 X++ classes, tables and base enums. By creating those proxies, developers will interact with Dynamics AX objects in C# and VB.NET exactly as if they are interacting with it in X++. After the proxy is created, that type is available as a strong type and features such as IntelliSense are available. For example, table fields and X++ methods are now exposed to be used in C# with one click. The created proxies are using .NET business connector internally to connect to the Dynamics AX objects.

The following pictures speak quietly how you can access and interact with Microsoft Dynamics AX 2012 objects from within Microsoft Visual  Studio 2010:

Adding Visual Studio Project to the Dynamics AX 2012 AOT

Visual Studio Project inside Microsoft Dynamics AX 2012 AOT

Adding a Dynamics AX 2012 object to the VS 2010 Creates an Internal Proxy

 

The CustTable Appears in the Solution Explorer. You Can Now Use the Dynamics AX CustTable Methods, Properties and Fields!

0

Two weeks ago, I was very pleased to announce our intend to conduct the Microsoft Dynamics AX Brains event in Riyadh at the 19th of May. Today and after the event, I’m really happy to say that the Dynamics AX Brains event was successfully delivered.  :)

During around five hours, 140 attendees has enjoyed the very new news about the Microsoft Dynamics AX 2012. In the welcoming note, I have welcomed the attendees and introduced to them Mainly we have covered three areas:

  • What’s new in Microsoft Dynamics AX 2012 SCM and Manufacturing, by Ahmad Maghraby
  • What’s new in Microsoft Dynamics AX 2012 Finance and Projects Accounting, by Ahmad Yakan
  • What’s new in Microsoft Dynamics AX 2012 Technology, Architecture and IDE, by Amer Atiyah

I will leave you with some pics from the event :) .

0

If you have registered for our Dynamics AX Brains event, then we would like to thank you very much for registering to the “Microsoft Dynamics AX 2012, a New Generation of ERP Systems” event. If you did not register yet, then you can register now on the event Registration Page. :)

This email is to remind you with the event that be held in the 19th of May, 2011 in the PSU – Riyadh. For more details about the event please check the Registration Page.

Location:

Old Management Building – Prince Sultan University
King Abdullag St. (Exit 10) Cross with Abu-Bakr AlSeddeeq St.
Riyadh, Saudi Arabia

Event Location

(Click to enlarge the map)

Time:

Thursday 19th of May, 2011
Registration begins at 10:00 AM.
Remember the Prizes for the first five attendees.

 

We look forward to see you all there :) .

 

Best regards,,,
The Dynamics AX Brains Community Members
Dynamics AX Brains Community

 

 

 

0

As part of  awareness that we are trying to deliver to the Dynamics AX community in Saudi Arabia, Dynamics AX Brains community is very pleased to conduct a one day event to provide “What’s New in Microsoft Dynamics AX 2012” sessions.

The event will be conducted at Thursday 19th of May in the Microsoft Innovation Center at Al-Yamama University, Riyadh. Through out three sessions, I and two of the Dynamics AX community members will be demonstrating What’s new in Dynamics AX 2012 for the following (ordered in the same order at the event):

  • Supply Chain Management and Manufacturing
  • Technology
  • Financials and Projects Accounting

In addition to the above sessions, there will be a 30-minutes opening note to demonstrate the Dynamics AX Brains Community. I do hope that the event will be great opportunity for community members to more about the new Dynamics AX version and to network as well.

We would love to see you at the event, around one month from now. Click the attend button to register in the event and to know more about it.

See you there community! :)

0

New RSS Feed URL of My Blog

If you have subscribed earlier to Microsoft Dynamics AX Thoughts blog RSS feed, then you better change the RSS feed URL.

I have done some changes on my previous blog. I had to create different categories in order to have the posts distributed in different places in my website.

The new “technical” posts RSS feed URL is: http://www.amer-ax.com/?feed=rss2&category_name=blog

Have fun! :)

0

My AX Session at the ROCS2

Yesterday I provided an online session for the technical community in Saudi Arabia.

This session will be the beginning of a series of Dynamics sessions covering most of the technical areas like MorphX, Workflow, EP, Reporting… etc.

The session I gave yesterday provides an overview about the Dynamics AX from technical perspective. I described the Architecture, IDE, X++, EP, Reporting and BI, and Workflow.

You can download the PowerPoint file from here.

 

Page 1 of 612345...Last »

Dynamics AX 2012 Event

Recent Posts

Tags

Archives

Random Testimonial

  • ~ Mohamad Adel, Sr. Dynamics AX Developer at Al-Fanar IT

    Adel"I recommend Amer Atiyah as i worked with him in many simple and complicated tasks and i realized that he is very intelligent in the way of thinking to solve tasks problems. He has a very good experience and knowledge of his job. He is very hard worker, committed, organized and creative and very open mind in his work and that is the reason if his brilliant in his specialized field. He is always showing a high degree of professionalism and ability to deliver and accomplish very complicated tasks at any condition with high quality. I am recommending him to work in any team and i know he will fit with all challenges. Purely, he is a professional guy. I wish to him more and more success in his career and his life."

  • Read more testimonials »

Posting tweet...

Powered by Twitter Tools