20 Creating Choices
From TrueERP wiki
Creating Choices
What Input Type allows the user to make choices when selling the BOM?
Each branch in a BOM must have its own input type. The default value is NONE and in most cases this will be the correct value. The Input Type asks the question "what do you you need to do with this branch at point of sale?" If, as in the case of the Handle in the Wagon example, the branch represents a component product to always be included without options then the action required for this branch when selling the product is NONE because the handle never changes from one order to the next.
The only time the Input Type is not NONE is where the buyer is given a choice. In this case the Input Type will be OPTION. Before changing the Input Type to Option you must add a sub-branch for each choice that is allowed. This is so that you can enter a Default<LinkId=990> value.
In the case of the wagon, there is a choice of colours and each colour is listed as a sub-branch of the branch that will have the Option Input Type.
How to create a choice
Select Inventory Select Product Select Manufacturing Select a Branch that offers the user a choice (In the case of the wagon, the Colour Choice branch or Wheel Choice branch) Add a sub-branch<LinkId=986> and enter the first available choice (this can be a product or a value) Repeat for each choice offered Return to the Choice bra