Creating a parameter table
A parameter table only contains one record per company. The table contains a list of fields, which can be defaults or company-specific options used in code to determine what should happen. The parameter table is usually created first, and the various fields that act as parameters are added as we create the solution.
This follows directly from the Creating setup tables recipe.
How to do it...
To create the parameter table follow these steps:
- Create a new table called
ConWHSVehiclePararameters
; again, the prefix and suffix is based on practice. Usually, the name will only be<Prefix>+<Module>+Parameters
. - Set the table's parameters as follows:
Property | Value |
Label | Vehicle management parameters |
Cache lookup | Found |
Table Group | Parameter |
Created By Created Date Time Modified By Modified Date Time | Yes |
Developer Documentation | The ConWHSVehicleParameters table stores the parameters for the Vehicle management solution |
- Drag the
ConWHSVehicleGroupId
EDT onto theFields
node and rename...