Insert a Code node [AX 2012]

Updated: March 21, 2011

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

The Code node is used to insert X++ code in the product model and is intended for users who have some programming experience.


This information applies only to Product builder.

  1. Click Product information management > Common > Product builder > Product models.

  2. Double-click a product model.

  3. In the Product models form, click the Product model button.

  4. Select the Tree tab in the lower pane.

  5. In the lower pane, right-click the Modeling tree node.

  6. Click New and select Code. A new node is added to the bottom of the modeling tree. To insert a node into a particular position in the tree, drag it from the node list displayed on the left.

  7. In the Description field, type the description for the node.

  8. In the Code field, write the X++ code to be run during item configuration.

  9. Click Test to test the code syntax.

  10. Click OK to save the code.

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).