Thursday, December 20, 2012


What's new in AX 2012 - Flash news 2

Change 1:

 

In AX 2012, the Purchase,Trade and logistics have been clearly segregated. Though the Accounts receivables and Accounts payable modules still exist, a portion of functionalities from these modules have been removed (to be precise, duplicated) and made available under the modules namely:

 

A.      Procurement & Sourcing

B.      Sales & Marketing (This module does include the functionalities of erstwhile CRM module of AX 2009)

 

Note:    Some forms like Vendor and Purchase orders are available both in Accounts payable & Procurement and sourcing.

               Similarly, forms like Customer and Sales orders are available in both Accounts receivables & Sales and marketing.

 

 

Change 2:

 

Inventory management has been bifurcated into two modules namely:

 

A.      Product information management (This module does include the functionalities of erstwhile Product Builder of AX 2009)

B.      Inventory and warehouse management

 

Change 3:

 

Production module has been rephrased as Production control. It also includes the shop floor control (of AX 2009). However, Shop floor control has been renamed as Manufacturing Execution. Manufacturing execution is integrated with Batch orders too in AX 2012. In the earlier version, it was integrated only with production orders.

 

Change 4:

 

Consequent to the above changes, the following modules are no longer available as separate modules in AX 2012. (Do not search for these modules)

 

1.       CRM

2.       Shop Floor Control

3.       Product Builder

 

Change 5:

 

Following modules are renamed to avoid ambiguities:

 

1.       Bank à Cash and Bank management

2.       Production à Production Control

3.       Service à Service management

4.       Expense management à Travel and expense management

5.       Basic à Organisation administration 

6.       Administration – System administration

7.       Environment à        Compliance & Internal controls

8.       Project à Project management and accounting

 

Change 6:

 

New modules introduced in AX 2012 (To my knowledge, someone can correct, if I am wrong)

 

1.       Budgeting 

 

Now, I am tired of typing, need a break. Will meet in the next email. Please, do share your views on this email. Your feedback is my psychological oxygen. I eagerly look forward to your feedback.

 


Note: My next post would be about the terminology changes in AX 2012 (to the level, I know J), But, this would be very interesting. Also, I firmly, believe that this sharing would facilitate you guys/gals with smooth transition into AX 2012.
What's new in AX 2012 - Flash News 1


There are new forms introduced as Purchase Agreements and Sales Agreements in the respective modules in Microsoft Dynamics AX 2012. However, these forms are not quiet new to the AX2009/AX4.0 users, as the “Blanket order” in the Purchase and Sales orders have been segregated as Purchase Agreements and Sales Agreements.
 
Consequent to this change, the enum “Blanket order” in the purchase and sales order has been removed.

 

Tuesday, August 19, 2008

Transactional Analysis By UdhayAnand

Hi All !

In this article, I am going to discuss about Transactional Analysis. Transactional skills is essential for every person to shine in life. In TA, we have to understand the five ego states of human being.

They are

Critical Parent - In this ego state, man criticises as and when a person makes mistakes. This is more of assertive behaviour. Also, the person in this state never tolerates wrong things and urges to correct them immediately. He tries to command and influence people in an hard way.

Nurturing Parent - He encourages poeple with warmth. Accepts others as they way they are and try to correct them during the course of their interaction in a smooth way.

Adult - Exhibits strong analytical skills at this state. However, emotions will be absent in this state. He gives an un-biased opinion subsequent to lengthy investigations.

Natural Child - In this state, creativity of one's will come out maximum. They enjoy the work at this state.

Adopted Child - Tries to adjust / co-up with others. Accepts others judgement and proceed further as such.

Wednesday, June 4, 2008

Choose a Printer Tray in Dynamics AX

The PrintJobSettings Object allows you to choose from which tray to print. First ask for the Number of trays on the printer. Notice that the returned value may not correspond to reality. It may be much bigger than the number of trays on the printer itself. Once it returned 20 for a printer with 3 trays.

int trayNums = settings.getNumberOfTrays();

Next step is try and error. Open each tray on the printer and write the number on some sheet of papers. Than you have to try what Tray ID corresponds to which tray.

Args args;
ReportRun reportRun;
PrintJobSettings settings;
int trayId;
;

args = new Args();
args.name(reportStr(MyDummyReport));

reportRun = new ReportRun(args);
settings = reportRun.printJobSettings();
settings.clearTrayPageCopy();
trayId = settings.getTray(1); // maybe 261, etc.
settings.addTrayPageCopy(trayId,1); // try from 1 .. getNumberOfTrays()
reportRun.run();

Check out what trayID value leads to what printing behaviour. Now store the (trayID | real tray number) pair in a paramter table or further use. If the printer is exchanged make sure that your ID |Tray pairs still fit.

Calling a stored procedure

Here is a piece of code to execute a stored procedure thru Axapta

static void storedProcedure(Args _args)
{
LogInProperty Lp = new LogInProperty();
CCADOConnection myConnection;
Statement myStatement;
ResultSet myResult;
;

LP.setServer("SeverName");
LP.setDatabase("DataBaseName");
Lp.setUsername("sa");
Lp.setPassword("sa");

try
{
myConnection = new OdbcConnection(LP);
}
catch
{
info("Check username/password.");
return;
}

myStatement = myConnection.createStatement();
myResult = myStatement.executeQuery('EXEC [inventtablesp]');//stored procedure name
while (myResult.next())
{
print myResult.getString(1);
}
pause;
}

Accessing Parent Datasource

If you need access to the datasource() of the parent form. Parent form and child form being attached with dyna links you can use the following code snippet

element.args().record() to get the Datasource selected on the parent form.

For e.g. If you create a form named CustAdditions which is a child form to CustTable, and these two datasources are attached using dyna links and you want the selected CustTable record on child form you can write in the init method of CustAdditions

Code Snippet:
public void init()
{
CustTable custTable = element.args().record();
}

Getting number of recrods present in a query run

I want to get the total number of records from a query run object. I will use them to generate a progress bar (progress indication framework).

Use SysQuery::countloop(qr). this will return the total number of records in a query object.