Thursday, September 22, 2011

Importing data into microsoft dynamics AX


The way one can import data into microsoft dynamics ax from a .dat file is
1. Navigation Pane->administrator-> periodic-> import data
2. then selecting the dat file to capture the data into AX.
3. Once the .dat file is loaded we can make a batch job to update the table or else we can do it manually as well.

But if the data is huge it will take forever to load the data because it does all the validations for each data while uploading it.But there is a fix.

Note: Before following these steps make sure you have your database backed up because this steps overwrite the existing data

->unzip and keep the data into one of the drives(c:)
-> once you have the .dat file then open Microsoft SQL Server Management Studio
-> In the Object explorer window select the database for AX.
-> Right click the database and select Restore Database
-> in Select Page window select General menu
-> On the source for restore, select the radio button From device:
-> By clicking on the browse button to the right of the option , give the path of the .bat file.
-> Your database will get listed at the bottom of the screen
-> Select the Options menu on the Select a Page tab again(near General menu)
->one the page select overwrite existing data check box
-> and click OK

It will take few minutes to load the data directly into the database, once it is complete you can start the AOS services again.

I found the find() method

           When i was learning the basics of Microsoft dynamics AX. I never came accross the find method, which later i found was really useful to create a structure on your programming. For example, we can use find methods on tables, which can be called using class or form methods. This gives a structure to the programming and also boosts performance of the code, since all the select queries are run on the server rather than calling from the form or the class. Since the find method returns a single record which can be saved into a tables buffer. Table buffer can then be passed to different methods wherever there is a requirement for that record values. pretty neat han!

Sunday, September 11, 2011

Java is Highly Vulnerable to Reverse Engineering

Found an article on Java which I found interesting(msdynamicsworld.com)

Java is Highly Vulnerable to Reverse Engineering

While the ability to “Write Once, Run Anywhere” is a tremendous advantage, the way this environment is architected renders it far easier for hackers to reverse engineer than native applications. This means that developers face the very real risk of losing their intellectual property. There are a number of reasons why application-based virtual machines are easier to reverse engineer than native applications:

JVM is open source
Sun has made the source code freely available for the JVM. This makes it simple for hackers to simply look at the code to see exactly how the virtual machine works.

The Java .class file format is publically available
As mentioned earlier, Java source code is compiled into byte code, which is stored in a Java .class file. The specification of the Java .class file format is publicly available, making it easy for anyone with some technical background to write a tool that can process, modify, or transform the .class files.

The JVM is software, not hardware
Unlike standard programming languages that require an expert understanding of the specific processor, the JVM is an application that acts like a microprocessor and uses built-in capabilities provided by the operating system and computer hardware. Because hackers do not have to step down to the hardware level, it is easier to gain full control over the JVM.
Thus, for example, when debugging with standard native system development languages, pausing the processor is extremely difficult, requiring expert knowledge of the processor, the debugging capabilities, and the available ring-debuggers. However, because the source of the JVM runtime environment is openly available, a developer can easily build his or her own virtual machine that provides full control over every aspect of the virtual processor. This makes it easy to analyze every application running in the runtime environment.

Thursday, September 1, 2011

Microsoft Dyanmics AX in comparison with Oracle and SAP on Cloud Computing

Joshua Greenbaum has commented on the advantage Microsoft Dyanmics AX has over Oracle and SAP in Cloud Computing market.

http://ematters.wordpress.com/2011/04/14/converging-giants-microsoft-dynamics-lines-up-against-sap-oracle-and-salesforce-com/