Search through blog..

Thursday, January 31, 2013

Inside Microsoft Dynamics Ax2012 Videos

While I was looking for information about Dynamics Ax 2012 over web, I came across few interesting Videos and I found them really good to get the basic user-level understanding of many Ax 2012 Features which takes Ax 2012 to the next level when compared to Ax 2009.

Thought of sharing this information with you all. Do have a look at these videos when you want to sit back, relax and still learn more !

Below are few of the links for your quick reference.
  • Ax 2012 Security - Link
  • Ax 2012 Enterprise portal - Link
  • Ax 2012 Integration and Web services - Link
  • Ax 2012 Business Intelligence - Link
  • Ax 2012 Office Addins - Link
  • Ax 2012 Processes and workflows - Link
  • Ax 2012 Programability - Link
  • Ax 2012 Development tools - Link
  • Ax 2012 Performance - Link
  • Other "How do I" videos - Link
Hope this helps. Good luck !!

Saturday, January 19, 2013

Project Management and accounting in Ax 2012

Imp Info regarding Ax 2012 Project management and accounting module:

·        Use this module to plan, create, manage, control, and complete projects for your organization.

·        Customer-focused projects can be set up on a time and materials or fixed-price basis.
You can also use the module to manage costs for internal and investment projects.

·        For external projects, you can create project quotations that can be converted to projects.
You create project contracts with one or more funding sources that will be invoiced for project costs and fees.

·        Each project that you create can have one or more subprojects and activities that are made up of the project work structure.

·        You can create financial forecasts and budgets for cost control and to measure project performance.

·        You can assign attributes for project skills and experience to workers to enable you to search for and assign workers to a project that is based on skills and availability.

·        During project execution, employees and contractors can enter project timesheets and expense reports.
Required items and services can be procured and charged back to the customer.

 
Project mgmt. and accounting can be understood as the below 3 stages:
1.      Initiate Project
2.     Execute Project
3.     Analyze Project

 Initiate Project will contain below tasks:
1.      Create, send and confirm quotation
2.     Create Project contract
3.     Create Project and work breakdown structure
4.     Create Project forecasts and budgets
5.     Assign workers and categories

Execute Project will contain below tasks:
1.      Manage Project work breakdown structure
2.     Manage Project forecast and budgeting
3.     Enter time and expenses
4.     Procure products and services
5.     Process project invoices
6.     Recognize revenue and capitalize costs
7.      Close, eliminate or convert projects 

Analyze Project will contain below tasks:
1.      Analyze cash flow
2.     Review costs
3.     Analyze performance
4.     Review invoices
5.     Analyze utilization
Project Management and Accounting module

You must be wondering what is Work Breakdown Structure (WBS). Below are few details:
  • Can be better understood as Structural breakdown of work. i.e, WBS defines the set of tasks performed on proejcts.
  • Can be used for fine grained tracking of hour, expense, and item consumption and forecasting.
  • To track the total cost of a specific task, specify the activity associated with the project transaction (when entered through a project journal)
  • Activities are set up using an activity hierarchy, in which subactivities are created as smaller tasks within one large task or phase of a project.
  • To set up activities, open Project management and accounting > Common > Projects > All projects. Highlight the project for which you want to set up an ABS. In the Action Pane, select the Plan tab. In the Activities group, click Work breakdown structure.
 

Thursday, January 17, 2013

How to create Bulk users in Active Directory (AD) using dsadd command

What is Active directory (AD)?

Active Directory provides a central location for network administration and security.
Server computers that run Active Directory are called domain controllers. An AD domain controller authenticates and authorizes all users and computers in a Windows domain type network

In order to create Bulk users in AD using dsmod command, let’s start with basics:
1.      Creation of OU (Organizational Unit) using dsadd
2.     Creation of Group using dsadd
3.     Creation of Single user using dsadd
4.     Script to create Bulk users listed in a text file

#1: Creation of OU using dsadd
Open command prompt > Run as Administrator
Enter the below command:
dsadd ou ou=MarketMall,dc=officedump,dc=com
where,
MarketMall is the name to be given to the new OU created
dc=officedump,dc=com à represents the domain “officedump.com”

Press Enter to execute the command.


And new OU named MarketMall is created successfully.

#2: Creation of Group using dsadd
Open command prompt
Enter the below command:
dsadd group “cn=FoodPlaza,ou=MarketMall,dc=officedump,dc=com”
where,
FoodPlaza is the name to be given to the new group created
MarketMall is the name of the OU under which you would like the group to be in
dc=officedump,dc=com à officedump.com

Press Enter to execute the command.


And new Group named FoodPlaza under selected OU is created successfully


#3: Creation of Single user using dsadd
Open command prompt
Enter the below command:
dsadd user “cn=BurgerKing,ou=MarketMall,dc=officedump,dc=com” –memberof “cn=FoodPlaza,ou=MarketMall,dc=officedump,dc=com”
where,
BurgerKing is the name to be given to the new user created
MarketMall is the name of the OU under which you would like the user to be in
-memberof is an attribute using which you can add the newly created user to any specific group.

Press Enter to execute the command.


And new User named BurgerKing is created successfully under the selected OU and also added to the specified group.


#4: Script to create Bulk users listed in a text file
The command dsadd can also be added as a part of script file so that we can actually read usernames from a text file as an input for the Script file and create multiple users very quickly.

First, let’s see how the input text file should look,

As shown, make sure you have the user details in the format <<firstname>>,<<lastname>>,<<username>>. This is because we are writing script only to select firstname, lastname and username respectively as variables for the loop function.
 
Below is the script code:
For /F “eol=; tokens=1,2,* delims=,” %%i in (MarketMallUsers.txt) do dsadd user “cn=%%j %%i, ou=MarketMall, dc=officedump, dc=com” –samid %%k –upn %%k@officedump.com –fn %%i –ln %% -display “%%i %%j” –pwd Change12 –mustchpwd yes
 
Enter this code in a new text file and save the file with extension .bat. So that it acts as a batch file and by double clicking the file, you can populate all the users listed in the text file into the domain OU.


As shown in the above pic, the running of the Script.bat file will populate the users in the selected OU and many other parameters can be set in script code.

You can get more help by typing: dsadd user /? – this will list out all parameters available.

Saturday, January 12, 2013

What is Verticals Strategy for Dynamics Ax

What is Verticals Strategy?
On a simple note, Verticals strategy for Dynamics Ax can be understood as strategic drive by Microsoft to provide (specific) global customers with a comprehensive and cost effective, end-to-end (their specific) solution for the market today.

In year 2009, Microsoft has announced for acquisitions of intellectual property designed to provide industry solutions across the below verticals:
  1. Manufacturing
  2. Food (a.k.a Distribution)
  3. Retail
  4. Professional services (a.k.a Services)
  5. Pharmaceuticals (a.k.a Public sector)

What is the purpose of this?
Partners will be able to focus on other more specialized functionality to serve companies that need additional customization (on top of Industry vertials provided by Microsoft), and will reduce their time to market and lower their investments.

By doing so, we will see in Dynamics AX as no longer just the platform provider, but also the major vertical solution provider as well. This will cause a shift in companies, like To-Increase, FullScope, etc. ISV's that had broad vertical focus, to switch gears, and focus into what is called Micro-verticals, that sit on top of these broader vertical offerings.

I don't have good understanding of Verticals/Industry solutions, trying to learn by sharing my ideas. Do post back/comment, if I was wrong anywhere. Thanks !

Information collected from ax-industries

Friday, January 11, 2013

Basic understanding of Unix and Linux

What is UNIX?

UNIX is an operating system which was first developed in the 1960s, and has been under constant development ever since. By operating system, we mean the suite of programs which make the computer work. It is a stable, multi-user, multi-tasking system for servers, desktops and laptops.
UNIX systems also have a graphical user interface (GUI) similar to Microsoft Windows which provides an easy to use environment.
However, knowledge of UNIX is required for operations which aren't covered by a graphical program, or for when there is no windows interface available, for example, in a telnet session.


The UNIX operating system is made up of three parts:

1.      The kernel:
The kernel of UNIX is the hub of the operating system: it allocates time and memory to programs and handles the filestore and communications in response to system calls

2.      The shell:
The shell acts as an interface between the user and the kernel. When a user logs in, the login program checks the username and password, and then starts another program called the shell. The shell is a command line interpreter (CLI). It interprets the commands the user types in and arranges for them to be carried out.

3.      The programs:
The commands are themselves programs: when they terminate, the shell gives the user another prompt (%).
Files and processes: Everything in UNIX is either a file or a process.
A process is an executing program identified by a unique PID (process identifier).
A file is a collection of data. They are created by users using text editors, running compilers etc.

Starting an UNIX terminal: To open an UNIX terminal window, click on the "Terminal" icon from Applications/Accessories menus.An UNIX Terminal window will then appear with a % prompt, waiting for you to start entering commands

What is LINUX?


Linux is an open source operating system, which is kind of an adapted clone of a UNIX operating program. In the beginning, during the nineteen sixties to eighties computer devices were huge, cumbersome things that had been only depending on codes to get useful. A standard user wasn’t able to run a computer if he wasn’t very cognisant of various techniques of coding and he usually had to have access to the resources of a large corporation, the federal government or a well-funded university.
Computer geeks and nerds arrived with a hunger to acquire quicker, simpler and even more powerful systems that might not be restricted to large mainframe computer departments and programming gurus came up with a changed and improved model of UNIX named – Linux


Mainly because persons have grown to love the GUI program of Windows, Linux for a long time wasn’t commonly used by the ranked masses of home users. Even so, programmers, professional laptop developers and server-side buyers acclaim Linux for being the finest running system available.
Linux now has solid safety measures, and functions fantastically in the arena of server and hosting solutions. On the other hand, for most consumers this OS has some issues outstanding in that it appears incompatible with a variety of computer softwares, the being mostly Windows–based utils and games.


What is the difference between Linux and UNIX operating systems?
·        UNIX is copyrighted name only big companies are allowed to use the UNIX copyright and name, so IBM AIX and Sun Solaris and HP-UX all are UNIX operating systems. The Open Group holds the UNIX trademark in trust for the industry, and manages the UNIX trademark licensing program. Most UNIX systems are commercial in nature.

·        Linux is a UNIX Clone. If you consider Portable Operating System Interface (POSIX) standards then Linux can be considered as UNIX.
Linux is a Unix clone written from scratch by Linus Torvalds with assistance from a loosely-knit team of hackers across the Net. It aims towards POSIX compliance.

·        Linux is just a kernel.
All Linux distributions includes GUI system, GNU utilities (such as cp, mv, ls, date, bash etc.), installation & management tools, GNU (c/c++ Compilers), Editors (vi) and various applications (such as OpenOffice, Firefox).
Whereas, most UNIX operating systems are considered as a complete operating system as everything come from a single source or vendor.

·        Linux is Free. You can download it from the Internet or redistribute it under GNU licenses.
Whereas, Most UNIX like operating systems are not free (but this is changing fast, for example OpenSolaris UNIX). However, some Linux distributions such as Redhat / Novell provide additional Linux support, consultancy, bug fixing, and training on cost of additional fees.

·        Linux is considered as most user friendly unix-like operating systems. It makes it easy to install sound card, flash players, and other desktop goodies.
Whereas, Apple OS X is most popular UNIX operating system for desktop usage.

·        Linux comes with open source netfilter/iptables based firewall tool to protect your server or desktop.
Whereas, UNIX operating systems comes with its own firewall product (for example Solaris UNIX comes with ipfilter based firewall) or you need to purchase a 3rd party software such as Checkpoint UNIX firewall.

·        Linux by default supports and use ext3 or ext4 file systems.
Whereas, UNIX comes with various file systems such as jfs, gpfs (AIX), jfs, gpfs (HP-UX), jfs, gpfs (Solaris).

·        The differences are not that big for the average end user. They will use the same shell (e.g. bash or ksh) and other development tools such as Perl or Eclipse development tool.
Few popular UNIX Operating System Names:
1.      HP-UX
2.     IBM AIX
3.     Sun Solairs
4.     Mac OS X
5.     IRIX
Few popular Linux Distribution (Operating System) Names:
1.      Redhat Enterprise Linux
2.     Fedora Linux
3.     Debian Linux
4.     Suse Enterprise Linux
5.     Ubuntu Linux

Wednesday, January 9, 2013

Retail menu item goes missing after installation of DMF

If you have installed Ax 2012 Data migration framework on top of Microsoft Dynamics Ax 2012 R2 Final Release (Application version: 6.2.158.0), you might find a strange behavior. The retail module goes missing in the Navigation pane in Ax 2012.

The below figure illustrates what does I mean by saying missing nodes in Navigation bar.

And to identify the reason behind this, lets go to the Ax Development workspace and compare the Main menu under AOT\Menus.

So as seen in the above figure, the DMF installation clearly overwrites the MainMenu (fpk). This is the reason for the Retail & Payroll menus missing in the Navigation bar, also Fixed assets (Russia).

Solution: And to have the actual menus back, just overwrite the MainMenu (in usr or var layer) by adding the menu items back to the MainMenu. This should bring back the missing menu items.

Here, I only added "Retail" to the MainMenu (usr). And thus comparision only shows Retail added in user layer.

Hope this helps. Good luck !!

Internal Links:
Simplified briefing about Ax 2012 DMF
Step by Step DMF Installation process
Simple example of DMF usage
For Troubleshooting DMF installation issues
Known Issue with DMF #1
Known Issue with DMF #2
Best practises for DMF usage
 

Tuesday, January 8, 2013

Issue with #CustomerTransaction_CustTrans macro after installing DMF

There is a known issue/error which pops up when we perform  CIL compile after installing the DMF beta 2.0.  The Error pops up is "CustomerTransaction_CustTrans macro doesn't exist.”

If you look into the class where error is thrown you will notice that in the new method of Class CustomerTransaction_CustTrans, the macro specified will be missing.

Even if you try to compile forward from 'AifDocument'. You will notice similar error.


Is this because of the new Ax2012 Data Migration Framework (Beta2) installation?

Yes. This issue is related to DMF installation.

The DMF axmodel seems to overwrite the macro "DataContainerTypes".  In the below screenshot, code in Blue belongs to actual SYS model (comes with proper installation of Dynamics Ax 2012 latest version). And FPK layer (code from DMF installation) overwrites the blue code. And caused the above mentioned error.


The solution would be to compare the macro with FPK and SYS layer and to take some code into VAR/USR layer.
Code to be moved:         
#AxdCustomerTransactionDCT
#AxdAdvancedLedgerEntryDCT

But after bringing the Macro to the upper layer we might have to do the below:  compile effected objects and generate Full CIL.
And that should solve the issues and you should not have any more errors.

Internal Links:
Simplified briefing about Ax 2012 DMF
Step by Step DMF Installation process
Simple example of DMF usage
For Troubleshooting DMF installation issues
Known Issue with DMF #1
Known Issue with DMF #2
Best practises for DMF usage