Skip to main content

Posts

Get Financial Dimensions attached to Funding Source of Project Contracts in Excel | AX 2012

I just came across a scenario where I had to import the Projects as WIPs from legacy system. For that I imported Projects and Project Contracts in the System, partly using DIXF and partly using excel add-in. During the import, I figured out that Funding Rules Allocation were not updated, so I had to write a custom job to updated that. Later, I saw that Financial Dimensions on Projects were imported correctly but those on Funding Source were empty, so I wrote following job to see which dimensions are currently attached to the Project Contract. I am sharing it with you all so somebody might not need to reinvent the wheel. Happy DAXing! ☺ static void getProjContractDims(Args _args) {     InventTable         inventTable;     SysExcelApplication application;     SysExcelWorkbooks   workbooks;     SysExcelWorkbook    workbook;     SysExcelWorkshe...
Recent posts

One time vendor/Customer in AX 2012

Courtesy: http://dynamicsteaching.com/ Source: This entry was posted in 2012 Dynamics Ax Logistics and tagged Ax 2012 Dynamics Ax Dynamics Dynamics Dynamics 2012 Dynamics Ax Dynamics Ax Learning Dynamics Ax Training one time supplier one time vendor vendor account on November 17, 2013 by vivek I came across a requirement about sales or purchase of an item from a vendor or sales to some customer only once. I came across following blog well conversed by the author. It covers the procurement part, but receivable can be handled in the similar way through AR module. One time vendor concept is used to handle the suppliers with whom we transact once. A Separate sequence is maintained in Ax in order to not mixing them with regular vendors . Refer the setups; Assign a separate number sequence for one time vendors in AP @ Accounts Payable -> Setup -> Accounts payable parameters -> One-time supplier Select one time vendor @ Accounts Payable -> S...

All Ports Required By Domain Controllers And Client Computers

Source: http://www.windowsnetworking.com/kbase/WindowsTips/WindowsServer2008/AdminTips/ActiveDirectory/WhatAllPortsAreRrequiredByDomainControllersAndClientComputers.html This article explains the key port requirement for Client computers and Domain Controllers communicating with each other. Active Directory communication takes place using several ports. These ports are required by both client computers and Domain Controllers. As an example, when a client computer tries to find a domain controller it always sends a DNS Query over Port 53 to find the name of the domain controller in the domain. The following is the list of services and their ports used for Active Directory communication: UDP Port 88 for Kerberos authentication UDP and TCP Port 135 for domain controllers-to-domain controller and client to domain controller operations. TCP Port 139 and UDP 138 for File Replication Service between domain controllers. UDP Port 389 for LDAP to handle normal queries from client...

Adding additional Domain Controller Windows Server 2012

Source: http://kpytko.pl/active-directory-domain-services/adding-additional-domain-controller-windows-server-2012/ Courtesy: Krzysztof Pytko Why do we need to add additional Domain Controller? This answer is very simple: “for services redundancy” or “for domain authentication improvement in remote Site”. In case of server failure, we still have another one which can provide necessary services in our network, which avoids business discontinuity. First of all, we need to install new box or virtual machine with a server operating system that is supported in domain environment. To check what Windows Server versions can be installed and promoted as Domain Controller, we need to check   Domain Functional Level . To determine Domain Functional Level, please follow my another article on the blog titled:   Determine DFL and FFL using PowerShell You may find one of these Domain Functional Levels supported by Windows Server 2012 Domain Controllers: Windows Server ...

Creating BOM journal using code AX 2012

courtesy: http://www.andesoft.net/creating-bom-journal-using-x-code-ax-2009-ax-2012/ https://community.dynamics.com/ax/f/33/t/96262.aspx http://learnax.blogspot.com/2010/01/x-code-to-create-and-post-inventory.html static void createBomJournal_working(Args _args) {     InventJournalTable      journalTable;     InventJournalTrans      journalTrans;     InventJournalTableData  journalTableData;     InventJournalTransData  journalTransData;     InventTable             inventTable;     InventDim               inventDim;     Counter                 cnt;     InventJournalCheckPost  journalCheckPost = new InventJournalCheckPost();     InventTransId           inventTransId, inventTransIdFather;     InventBat...

Get Position and Department of an employee | AX 2012

A simple job to get position/designation and department of an employee using employee id: static void WorkerPositionDepartment(Args _args) {     HcmWorker                       hcmWorker;     HcmPositionWorkerAssignment     hcmPositionWorkerAssignment;     OMOperatingUnit                 oMOperatingUnit;     HcmPositionDetail               hcmPositionDetail;     HcmJob                          hcmJob;     HcmPosition             ...