Select your user interface:

Exercise 7: Use the BatchTypeSpec's DefaultSelectedFields Element

Step 1 -  Add the DefaultSelectedFields element to the BatchTypeSpec.

Suppose we wish to encourage the inclusion of other fields within the batch template. Within the BatchTypeSpec, you will find an optional element called DefaultSelectedFields. Within this element, you can include Field child elements and the Form Field ID within the Field element. See the following for an example.

<DefaultSelectedFields>
<Field>LOWINVENTORYTHRESHOLD</Field>
</DefaultSelectedFields>

With the inclusion of the DefaultSelectedFields element in the BatchTypeSpec, you will see the behavior below when you create a batch template.

Figure: The Low Inventory Threshold field is defaulted