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

  1. In the form, ( > > ), in the lower pane, right-click the node, point to and select .

    A new node is added to the bottom of the modeling tree. If you want to insert a node into a particular position in the tree, drag it from the node list displayed on the left.

  2. In the field, type the description for the node.

  3. In the field, write the X++ code to be executed during item configuration.

  4. Click to test the code syntax.

  5. Click OKto save the code.