novo_motion_schema_editor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
novo_motion_schema_editor [2021/02/03 16:58] – dlm | novo_motion_schema_editor [2024/05/13 16:08] (current) – dlm | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | [[main_page|NovoMotion Outbound Menu]] | ||
====== NovoMotion Schema Editor ====== | ====== NovoMotion Schema Editor ====== | ||
Line 10: | Line 11: | ||
- | {{: | ||
+ | {{: | ||
Line 54: | Line 55: | ||
- | * U2 dictionary is the name of the base dictionary item (for the selected file) within the U2 environment. (I-descriptors are also supported. I-descriptors that use the SUBR keyword or that execute a TRANS to translate to another file should be used with caution. Warnings are sent to the user if they chooses | + | * U2 dictionary is the name of the base dictionary item (for the selected file) within the U2 environment. (I-descriptors are also supported. I-descriptors that use the SUBR keyword or that execute a TRANS to translate to another file should be used with caution. Warnings are sent to users if they choose |
- | | + | |
- | * @ORDINAL | + | ^ **Key Word**^ **Description** | |
- | * @ACTION | + | |@MULTIVALUEID |
- | * @LITERAL | + | |@ORDINAL |
- | * @FIELD | + | |@ACTION |
- | * @TM - Allows selection of a specific table master - @TM: | + | |@LITERAL |
- | * @CHANGE | + | |@FIELD |
- | * @CONVERT | + | |@FIELDS | Field for multi-value array. |
- | * @ICONV | + | |@TM | Allows selection of a specific table master - @TM: |
- | * @OCONV | + | |@CHANGE |
- | * @FMT - Used to format a string | + | |@CONVERT |
- | * @NOT - The reverse of a string evaluation - @NOT:mvinfo | + | |@ICONV |
- | * @TRIM - Removes errant spaces from a string | + | |@OCONV |
- | * @NULL - Returns a null character - @NULL | + | |@FMT | Used to format a string |
+ | |@NOT | The reverse of a string evaluation - @NOT: | ||
+ | |@TRIM | Removes errant spaces from a string | ||
+ | |@NULL | Returns a null character - @NULL | | ||
+ | |@BLOAT | Use to expand (bloat) a dictionary to the value mark count dictated by another dictionary - @BLOAT: | ||
+ | |@USER | Sends the U2 user ID who caused the record change event, or load event | | ||
+ | |@SWAP | Used to change string from one string to another - @SWAP: | ||
+ | |@CAT | Use U2 CATS to combine two arrays of data together - @CAT: | ||
+ | |@TIMESTAMP | transmit a record timestamp for when change / load event happened in U2. This is both date and time in SQL. | | ||
+ | |||
+ | |||
+ | * In SWAP CONVERT etc above, @AM @VM @SVM can be specified as IN or OUT strings. | ||
* Ordinal considerations: | * Ordinal considerations: | ||
Line 85: | Line 97: | ||
- | {{file_novo_schema2.jpg}} | + | {{: |
Line 100: | Line 112: | ||
- | ==== NovoMotion Schema Editor - SQL Options tab - SA map example | + | ==== NovoMotion Schema Editor - SQL Options tab - SA Map Example |
- | + | {{: | |
- | {{file_novo_schema3.jpg}} | + | |
Line 126: | Line 137: | ||
- | ==== NovoMotion Schema Editor - Post Job Options | + | ==== NovoMotion Schema Editor - Post Job Options |
- | {{file_novo_schema4.jpg}} | + | {{: |
Line 150: | Line 161: | ||
- | The function contains the following drop down menus: | + | ==== NovoMotion Schema Editor - Drop Down Menus ==== |
- | * **File** | + | === File === |
+ | |||
Line 173: | Line 186: | ||
- | * **Edit** | + | === Edit === |
Line 183: | Line 197: | ||
- | * **Tools** | + | === Tools === |
Line 196: | Line 210: | ||
- | **Note:** The Generate SQL Script is used when one wants to generate script to create the SQL table (See the Creating a SQL script information) to avoid the necessity of creating the SQL table by hand. This is often used multiple times during the development of new schema to perfect the information between U2 and SQL. | + | Note: The Generate SQL Script is used when one wants to generate script to create the SQL table (see [[creating_a_sql_script|Creating a SQL Script]]) to avoid the necessity of creating the SQL table by hand. This is often used multiple times during the development of new schema to perfect the information between U2 and SQL. |
- | The SQL script can be pasted into SQL Management Studio and executed. It will drop any existing SQL table of the name defined in the schema and re-create it with the columns defined in the schema. It does this for both the base SQL table and - if an @ACTION row exists - for the parallel SQL trigger table. | + | The SQL script can be pasted into SQL Management Studio and executed. It will drop any existing SQL table of the name defined in the schema and re-create it with the columns defined in the schema. It does this for both the base SQL table and - if an @ACTION row exists - for the parallel SQL trigger table. |
+ | If a SQL table has already been established and the schema needs to change, the user has the following options: | ||
+ | - Generate the SQL script through the Schema Editor, copy it, paste it into SQL Management Studio, and execute the script. | ||
+ | - Change, add, or delete the desired information in the schema via the Schema Editor, then make the same changes to the SQL table via SQL tools. | ||
- | **Additional Usage Notes: | ||
- | - Generate the SQL script through the Schema Editor, copy it, paste it into SQL Management Studio, and execute the script. | ||
- | - Change, add, or delete the desired information in the schema via the Schema Editor, then make the same changes to the SQL table via SQL tools. | ||
- | + | === Help === | |
- | * **Help** | + | |
Line 214: | Line 227: | ||
- | + | \\ | |
+ | [[main_page|NovoMotion Outbound |
novo_motion_schema_editor.1612389526.txt.gz · Last modified: 2021/02/03 16:58 by dlm