Additional Subjects > Element Variables
  PPT
Element Variables
An element variable is directly associated with a field in a database table. You can see a variable of the element type. But in the background, QAD Configurator changes the type so that the value of the variable can be compared to the value in the database. Comparisons require identical data types. QAD Configurator supports element variable links to two types of entities:
internal entities, which are defaults in QAD Configurator.
external entities, which you define in External Entity Maintenance.
The following tables in the QAD Enterprise Applications database are internal entities:
Item Master
Customer Master
Sales Order Master
Sales Order Detail
Sales Quote Header
Sales Quote Detail
External entities are covered in the next section.
Exercise 41: Element Variable and Internal Entities
Use an element variable to select specific information from the Item Master record associated with configurable item 01040 and display it in the questionnaire.
Run Variable Maintenance and create the following variable.
 
Variable
Data Type
Extent
Functional Group
Question Type
Short Question
Question/ Temporary
confitemdesc
Element
1
Technical Specs
Normal
Item Description
Question
Enter the following values on the Data Format Tab.
 
Variable
Element Type
Entity
Field
confitemdesc
Internal
Configurable Item
pt_desc1
Run Feature Maintenance and make this new variable a feature of the 01040.
Run Questionnaire Sequence Maintenance and make item-desc the first feature on the Technical Specs tab.
Now run the Configuration Analyzer for item 01040. Solve any inconsistencies, then run the questionnaire for the Industrial Ultrasound. Select New Configuration.