Extend an availability lookup entity
About this task
To add a new column to an availability lookup table, you first must extend the lookup entity to define the new column. The entity you extend depends on the type of product model pattern you want to change. This scenario extends the CovTermOptLookup entity with a new lookup entity extension column to capture the product for which the coverage term option is available or unavailable.
Follow these instructions to define the lookup entity extension in CovTermOptLookup.etx.
Procedure
- In the Project window in Studio, navigate to .
-
Right-click CovTermOptLookup.eti and select
to display the Entity
Extension dialog box. Accept the default file name extension
by clicking OK.
Studio opens a new extension file named CovTermOptLookup.etx.
-
In the Entity editor for CovTermOptLookup.etx, select the
root element. In the element drop-down list adjacent to the Add
button, select column to add a new
columnto the lookup table. -
Add the following values to new
columndefine the newProductCode:Property
Value
name
ProductCode
type
varchar
desc
code of product
-
With your new column selected in
the Entity editor, select params from the element
drop-down list to a a
columnParamelement. -
Add the following values to the new
columnParam:Property
Value
name
size
value
50
