19 December 2014

AX 2012 AOS load balancing and clustering

Dear Friends,

1. Install AOS with new TCP\ip port number and new wsdl port number
2. Start New AOS which is installed.
3. Create new client configuration with new AOS so you will find two configurations as follows
4. Goto administration > Setup > System > Cluster configuration
5.Press CTRL+N to create a new cluster.
6.Go to Map AOS instance cluster then select new AOS.
7.Click the Cluster name field to display a list of available clusters. Select the cluster that you want to add the AOS instance to.
8.Press CTRL+S to save your changes
9. If you want the AOS instance that you selected to function as a load balancer, select the Load balancer option.
as shown below


happy Daxing :-)

11 December 2014

Create new legal entity using X++ code in AX 2012

Hi Friends,
Below code snippet will help you to create new legal entities in AX 2012

static void CompanyUpload(Args _args)
{
OMNewLegalEntityViewModel oMNewLegalEntityViewModel = new OMNewLegalEntityViewModel();

oMNewLegalEntityViewModel.parmCompany("997");
oMNewLegalEntityViewModel.parmName("Test7");
oMNewLegalEntityViewModel.parmCountryRegion("IND");
oMNewLegalEntityViewModel.createLegalEntity();

info("Company has been created");
}

Happy Daxing..:-)

Ledger Voucher creation Framework and x++ code to create ledger voucher

 Please click her for MS reference file Below is the out of the box example reference and code. SalesInvoiceJournalPostSubBill_Extension-...