Skip to content

Generic Tables#

Generic Tables are general purpose tables used to store data records. Each Generic Table has its own database table and will therefore require a unique metadata definition that can be done directly through the Critical Manufacturing Administration page.

System Generic Tables#

The Critical Manufacturing installation is populated automatically with a set of Generic Tables which are necessary for the normal functioning of the system:

Name Description
AQLAcceptanceQualityLimit This Generic Table is used to resolve the AQL Limits based on a certain Code, Inspection Severity, and Acceptance Limit.
AQLSamplingCode This Generic Table is used to map a certain lot size to an inspection code based on a certain Inspection Level.
AssetDataType Auxiliary table to support definition of complex Data Types such like "geopoints".
AttachmentType Attachment Type Generic Table.
CADFileInformation CAD File information.
CalendarDayType Definitions and colors for working days - both working and non-working.
CentroidSideInformation Centroid Side information.
ChangeSetUrgency Table to map the urgency type with the priority rank and default. This table is used to define the urgency of the Change Set when you create or edit a Change Set (this is not a mandatory field), and it has an informative purpose. Additionally, in the Quality menu, Change Sets entity, My Approvals tab, it can help you to see and filter the Urgency of your Change Set approvals.
ChartRuleScope Table to map the available Chart Rule to the type of indicators (1 and/or 2) that are shown in the rules.
ChecklistRuleScopeRelation Table to map the allowed rules for checklist items based on the checklist scope.
ChecklistScopeContext Table to map checklist scope based on a given context.
ContainerResourceRelation This table holds the possible Container-Resource relations between Containers and Resources. It tells you which types of Resources can be contained in certain types of Containers.
ContainerTypeRelation This table holds the possible Container Type relations between Containers. It tells you which types of Containers can be contained in certain types of Containers.
ContentType Stores all supported document and multimedia content types (audio visual and others).
ContextResolution Context Resolution Generic Table that can be used to override the system standard context resolution tables.
ECADLayerInformation Used to automatically retrieve layer information when processing ECAD files.
EntityTag The Entity Tag Generic Table maintains the link between a unique alphanumeric tag and the associated entity types, entity name, and UI page.
ExtraPropertiesDetails Properties extra Details for the GUI.
FileImportColumnInformation Defines the possible columns.
FileImportInformation Describes the possible type of files to be imported for an object.
FileImportPropertyInformation Defines the possible system property values.
GUIElementDefaultValue This table defines and stores default values for GUI elements/operations.
InspectionSeverity This table defines the inspection severity ranks so that the system can understand the severity direction (tightening or reducing).
IntegrationHandler Defines the integration handlers.
LabelMaterialProperty Defines the Material Properties that can be referenced as a Label Specification Field.
LabelSpecification Defines the properties of the different Label Specifications.
LabelSpecificationField Defines the Label Specification Fields and how they are mapped to the Label Material properties.
LabelSymbologyIdentifier Defines prefixes that identify a particular barcode type and that must be removed for a particular Label Specification.
MaterialFormRelation Holds the possible Form relations between Materials and Sub-Materials. This table is mandatory for Attach and Expand operations.
MaterialTransferUrgency Defines the urgency of the Material Transfer for the Material Logistics module. Informs you of the necessary time of delivery and defines its priority.
MoistureSensitivityLevel Defines the properties of the different Moisture Sensitivity Levels (MSL).
NotificationSeverity This Generic Table is used to configure the presentation behavior for the different notification severities.
PrintingIntegrationAuthenticationMethod This table defines the available Printing Integration Authentication Method for the different Printing Systems.
ProductUnitConversionFactors This table defines the Product Unit Conversion Factors.
QualificationProficiency Defines the different Qualification Proficiency values as well as the "ranking". The "ranking" is defined from an ascending order, and it also measures the "distance" when looking for the closest Employee to meet a certain Certification.
ResourceJobTypeSubType This table defines Resource Job Types with Resource Job Subtypes.
ScopeClassifications Scope Classifications Generic Table.
ShiftLogbookEntrySeverity Shift Logbook Entry severity.
Timezone This table holds the default time zones per region, which are used to convert dates from a region to UTC and vice-versa.
TimezoneAdjustmentRule This table holds a set of timezone adjustment rules to fully support the conversion of a local date to UTC having in account the daylight saving time settings per region.
TimezoneCulture This table holds a set of culture properties (formats) associated with timezone and others.
TransferOrderPriority Defines the transfer order priority details and is used with the Material Logistics module.
TransferRequirementPriority Defines the transfer requirement priority details and is used with the Material Logistics module.
UIPageLayouts This table contains pre-defined layouts to be used in UI Pages.
UnitConversionFactors Standard and Universal unit conversion factors. This is only used with the Weigh and Dispense module.

Table: System Generic Tables

Generic Table Page Views#

Data View#

Lists all the data rows that are included in the Generic Table. You can add new rows or edit the existing ones. You can also export data to file.

Data view of the Generic Table page

Definition View#

  • Generic Table Definition - displays information on the actual table definition.
  • Properties - list of the existing properties.

Definition view of the Generic Table page

History View#

This view combines information concerning other objects that have references to the current Generic Table object:

  • History - displays the history of the operations, associated information, user(s) performing the changes and date and time of the changes.

Creating a Generic Table#

🔒 GenericTable.Create

Step 1: General Data#

  1. Enter a Name for the Generic Table.
  2. Optionally, enter a Description.
  3. Optionally, enter a Data Group.
  4. Specify whether the table should keep the History information.
  5. Optionally, enter the History Days by Default.
  6. Optionally, enter a key to be used for reference in Localized Messages.
  7. Select Next to define the Generic Table Properties.

Screenshot showing a UI with a form field labeled "Create New Generic Table" and an input field with placeholder text "table generic create step one".

Step 2: Properties#

  1. Add or remove as many properties as needed and you can also order them (use to add, to remove, and or to order properties). For each property, you need to enter:

    • Name.
    • Description.
    • Localized Message Key.
    • Key status (setting a field as Key forces the Mandatory status to be set as well).
    • Mandatory status.
    • Indexed in Database.
    • Reference Type (depending on the reference, additional details need to be provided below):
      • None
      • EntityType
      • Entity Version - both the specific versionable Entity Type and the property to which it refers are required.
      • Enum - specific enumeration needs to be specified.
      • Lookup Table
      • Lookup Value - name of the table to use as a reference for the value.
    • Data Type - depending on the reference type.
    • Size (applicable only to some data types - for example, VarChar, Decimal, among others).
    • Decimal places, applicable only to Decimal data type. Must be less or equal to the Size.
    • Validation range (optional) - a string like '[start,end]' to designate ranges between start and end. An open bracket at the end excludes the limit values, for example, [1,10] excludes the number 1 and includes the number 10.
    • Validation regular expression (optional).
    • Default value (optional).
  2. Select Create to complete the operation.

Screenshot showing a UI with options for creating a new entity named "Create New Geno".

Warning

In SQL Server, there is a 900-byte limit for the maximum total size of all index key columns.

Decimal range validations must use the current cultured defined decimal separator.

Step 3: Generating Schema#

🔒 GenericTable.GenerateSchema

Steps 1 and 2 are used to create the table definition. To create the schema in the database and to be able to use it anywhere in the system, the Generic Table must be actually created and made active by inserting it into the database.

Screenshot showing a database schema creation process in Step 3.

This schema generation is achieved by selecting the Generate Schema button from the Generic Table Definition View.

Screenshot showing a database schema creation process.

Info

To generate the schema, the table must have at least one key defined.

Editing a Generic Table Definition#

🔒 GenericTable.Edit

To edit the definition of the Generic Table, open the Definition View and select the button. A wizard will be displayed to allow editing the basic details as well as adding or removing properties. Selecting Save will save the new settings.

Warning

The steps above are used only to modify the table definition. To apply the changes, it is necessary to select the Generate Schema button.

Terminating a Generic Table#

🔒 GenericTable.Delete

To terminate a Generic Table, it is necessary to open the Generic Table details and select the Terminate button.

Warning

A Generic Table cannot be terminated if referenced by an active object.

Editing Generic Tables Data#

🔒 GenericTable.EditData

To edit a Generic Table data, proceed as follows:

  1. Open the Data View.
  2. Add new records by selecting on the top ribbon.
  3. Selecting the button will open a dialog that allows the user to edit existing records.
  4. Remove existing records by selecting the values and selecting the Remove button on the top ribbon.
  5. Select Save to commit the changes.

Info

To edit the Generic Table values, the table must have been generated.

Copy Generic Tables Data#

🔒 GenericTable.EditData

To copy a Generic Table data, proceed as follows:

  1. Open the Data View.
  2. Select one or more records from the table.
  3. Select Copy on the top ribbon.

    Screenshot showing a table with data and a "Copy" button in the top ribbon.

  4. In the wizard, select the record you want to copy.

  5. Select the copy icon at the top of the grid.
  6. For each copied record, make the changes you need.
  7. Select Copy to complete the operation.

    Screenshot showing a generic table with data being copied.

It is also possible to copy records by using the Add operation on the top ribbon.

Screenshot showing a generic table with data, illustrating the step for copying records.