Skip to main content

Posts

Steps to install EP in Ax 2012

1) Custom Installation makes you to install components required for the particular instance. 2) A minimum installation of Microsoft Dynamics AX consists of a business database, a model store, an instance of Application Object Server (AOS), and at least one client 3) Setup will now check for prerequisite. If not present, one have to select the configure checkbox and click on configure button. 4) Create new database 5) Select server name and provide the database name. 6) Select Additional Models 8) Configure AOS instance 9) Specify AOS Account 10) In the next screen it will again check for prerequisite and final install it. EP Installation 1) Run the setup of AX and select the components of EP. 2) It will validate the prerequisite as follows. a. The main prerequisite for EP is Microsoft Sharepoint Foundation 2010 b. After installing Share point i. Go to Microsoft Sharepoint 2010 products. ii. Sharepoint 2010 Central Administrator. iii. Application Management iv. Manage

Application layer structure in ax 2012

primitive data types in Microsoft Dynamics AX

Primitive Description String A number of characters. Integer A number without a decimal point. 32 bits wide. Real A number with a decimal point. Date Contains day, month and year. Time Contains hours, minutes and seconds. UTCDateTime A combination of date and time types into one data type that also holds time zone information. Enum A set of literals that are represented internally as integers. Container A composite data type that is a dynamic list of items containing primitive data types and/or some composite datatypes. GUID Globally Unique Identifier. A 16-byte number generated that uniquely identifies a network or interface. Int64 A number without a decimal point. 64 bits wide. Boolean Only contains the values false and true.

AOT Access level in ax 2012

Code to update customer phone number on AX2012 R2

This is code to  update customer phone number on AX2012 R2. You can check this code through simple small job. DirPartyPhoneNoView PhoneNo; ContactPerson contactperson; CustTable custTable; custTable = CustTable::Find("C45102"); PhoneNo = PhoneNo::find(custTable.Party); PhoneNo.Locator = '6567767657'; PhoneNo.Type = LogisticsElectronicAddressMethodType::Phone; PhoneNo.IsPrimary = true; contactPersonEntity.createOrUpdatePhoneNo(PhoneNo);

Code to Get dimension description and value in ax 2012

This is hints of Code to Get dimension description and value in ax 2012. I have taken example of purchase order to show by selection first line of purchase line dimension value and description. PurchLine _purchLine; DimensionValue _Dimvalue; Description _Dimdesc; ; select firstonly _purchLine; _Dimvalue= dimValue(_purchLine.DefaultDimension, 'Department'); _Dimdesc = dimDesc(s_purchLine.DefaultDimension, 'Department'); info(strfmt("%1: %2", _Dimvalue, _Dimdesc));

Code to create table data in CSV File in axapta 2012

CommaTextIo file; container line; CustTable custTable; #define.filename(@'C:\Test\TestFile.csv') #File file = new CommaTextIo(#filename, #io_write); if (!file || file.status() != IO_Status::Ok) { throw error("File cannot be opened."); } while select AccountNum, Name from custTable { line = [ custTable.Name , custTable.Name]; file.writeExp(line); } info(strFmt("File %1 created in specified folder.", #filename)); }