April 27, 2013

Official Dynamics AX 2012 R2 Content (update) - Where is it, and how can you find out about updates?

Official Dynamics AX 2012 R2 Content (update) - Where is it, and how can you find out about updates?

Hey friends,

I found a good link for Dynamics AX 2012 Resources/Library contents/MSDN links etc.
I am sharing this like for you all to let you know more about Ax World.
Thanks to Mr. KEES HERTOGH who post this valuable post for all of us.

Official Dynamics AX 2012 R2 Content (update) - Where is it, and how can you find out about updates?

Once again many thanks to Mr. Herthogh.
-Harry

How to install microsoft dynamics ax 2009 on windows 7

How to install microsoft dynamics ax 2009 on windows 7

Here is steps to install AX on Win-7 (non-server OS),

Dynamics AX Basic Installation:

  1. Make sure you are logged in through your domain account (domain\user) on your laptop, not local system account.
  2. You should have local admin rights on your laptop.
  3. Install SQL Server 2008 with SP1. Service account for this should be local system.
  4. Install AX 2009. You need to be connected to your domain while installing AX. Ignore warning that says this operating system is not supported. 
  5. AOS again should run under local system, instead of your domain account. Because this way you can use AX when you are out of your domain network.
    Hint: At the time of installation select Network service and after successful installation convert AOS service account to Local System.

  6. On the next screen, uncheck checkbox which says start AOS after installation.
  7. Click Install and you are done with the basic AX 2009 installation.
  8. To get it running with SQL Server 2008 SP1, you need AX 2009 SP1.
  9. Install AX 2009 SP1.
  10. Start AOS. (Optional: you may need to change the AOS service account to Local System).
  11. In AX, AdministratorSetupSecuritySystem service account, Set BC Proxy Account to your domain account (user , domain.com).
  12. Import Demo Data.

Dynamics AX Role Center & Enterprise Portal Installation:
  1. EP needs Sharepoint portal to be installed on your laptop. To install WSS / MOSS on your Windows 7 OS follow this link. http://theaxapta.blogspot.in/2013/03/installing-microsoft-sharepoint.html
  2. Once you have installed & configured Sharepoint, install Role center & Enterprise portal from the AX installation CD. It will run fine; I have checked it on my laptop.
  3. If you have Visual Studio 2008 installed, then you can also install enterprise portal development tools.
-Harry

April 24, 2013

Creating Vendors through X++ in AX 2012- PART II

Creating Vendors through X++ in AX 2012- PART II

Privious Post: 

--Create vendor and associate with vendor--

public void convertToVendor(VendorRequestCreate          _vendorRequestCreate)
{
    VendorRequestCreate                  vendorRequestCreate = VendorRequestCreate::find(_vendorRequestCreate.VendorNo,true);
    ;
if(_vendorRequestCreate.DirPartyType    == DirPartyBaseType::Person)
        vendTable.Party         = dirPerson.RecId;
else
        vendTable.Party         = dirOrganisation.RecId;
ttsBegin;
    vendTable.AccountNum    = NumberSeq::newGetNum(VendParameters::numRefVendAccount()).num();
ttsCommit;
if(vendTable.AccountNum == '')
        vendTable.AccountNum= int2str(_vendorRequestCreate.VendorNo);
    vendTable.Currency      = _vendorRequestCreate.CurrencyCode;
    vendTable.VendGroup     = _vendorRequestCreate.VendGroupId;
    vendTable.PaymTermId    = _vendorRequestCreate.PaymTermId;
    vendTable.DefaultDimension = _vendorRequestCreate.DefaultDimension;
    vendTable.OneTimeVendor = _vendorRequestCreate.OneTimeSupplier;
    vendTable.PaymMode      = _vendorRequestCreate.PaymMode;
    vendTable.BankAccount   = _vendorRequestCreate.BankAccount;
    vendTable.WI_Remarks    = _vendorRequestCreate.Remarks;
    vendTable.WI_DepartmentEmail = _vendorRequestCreate.DepartmentEmail;
    vendTable.insert();
    this.createPostalAddress(_vendorRequestCreate);
    this.createCommAddress(_vendorRequestCreate);
    this.createBankDetails(_vendorRequestCreate,vendTable.AccountNum);
    this.createContact(_vendorRequestCreate,vendTable.Party);
if(vendTable.RecId)
    {
        vendorRequestCreate.VendAccount = vendTable.AccountNum;
        vendorRequestCreate.update();
        info(strFmt('Vendor %1 has been successfully created',vendTable.AccountNum));
    }
}

-Harry

April 23, 2013

Compilation error in SysReportLibraryExport class

Compilation error in SysReportLibraryExport class

Recently I moved some code in live server and while compile the application I found that there was a compilation issue in the Class declaration of SysReportLibraryExport class but it seems to be fine with other environments.

clip_image001

I found that this issue is particular client based not on server. I done some R&D like…

1. I compiled this class on server  and it compiled fine. syntax error is gone and there are no more issues in it even though i have opened it on the application





2. Then I complied the same class on Client desktop, here its shows the error
      Compilation error in SysReportLibraryExport class

3. I again compile this class on another client on which reporting extension is installed 
(Reporting Extension require a SQL BD server for client), and it compiled fine here.

So the conclusion is  that this error in not show stopper for your application, you can use you environment.

-Harry