Posts Tagged ‘data’

Browse the data dictionary with X++

Thursday, November 8th, 2007

Browsing the Data dictionary through X++ code is easier than you may think. Let’s say you want to list all of the fields in table InventTable.

This is one way to do it:
(more…)

Basics of changecompany

Tuesday, November 6th, 2007

The command changecompany is used to switch between companies in you Dynamics Ax environment through X++ code. This is the basics:

  // We are now in company FO
  changecompany("FO1")
  {
      // We are now in company FO1.
  }
  // Back in company FO

Let’s say that we start out in company FO and want to copy some data from company FO to company FO1. This is one way to do it.
(more…)