The Code node is used to insert X++ code in the product model and is intended for users who have some programming experience.
-
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.
-
In the field, type the description for the node.
-
In the field, write the X++ code to be executed during item configuration.
-
Click to test the code syntax.
-
Click OKto save the code.