Conversions
- Karsten Markmann
Conversions
From the Conversions tab you can create universal or partner-specific conversion tables containing key-value pairs that can be utilized by your in-built document conversions (maps). The main idea is to avoid hard-coded values in your document conversions.
For example, we can imagine that your ERP system needs a unit of measure in a specific format, for example ‘PCE’ for ‘pieces’, but your partner might supply it as ‘Pieces’. We can then create a unit conversion table that can be accessed from the document conversion. The user can also easily add additional conversions, such as ‘Packages’ being converted to ‘CLL’.
The layout of the tab is divided into several sections, which will be explained in detail below.
Table List [1]
Click the dropdown to see a list of all universal and specific conversion tables for this partner. The Universal tables are marked in blue, while the partner specific tables are not. Selecting a table from the dropdown will display it in the data grid.
Description [2]
If a description of the conversion table has been provided, it will be displayed here.
Action Buttons [3]
Several different functions are available here. Each will be explained below.
New Conversion Table
Click this to start creating a new conversion table. The tab will be replaced with a set of fields as shown in the screenshot below.
Both the input fields [1] are required when creating a new conversion table. Enter a name and description of the table and mark the 'Is Universal' checkbox, if the conversion table should be used across multiple partners. If left unchecked, the table will only be created for this specific partner.
Press the '+' icon [2] to add a new column to the conversion table. By default, no columns are created. When pressing it, you will need to provide a name to the column and press 'Save'. It will then appear in the list of columns.
You can also edit and delete created columns [3] using the 'Edit' and 'Delete' buttons to the right. Pressing 'Edit' will allow you to change the name of the column. Press 'Delete' to remove the column. A prompt confirming your choice will be shown.
When you are done filling out the required fields and have added the necessary columns, press the 'Save' button at the bottom of the page. You will be redirected to the Conversion tab.
Edit Structure
Press this to edit the currently opened conversion table. The same fields as shown under 'New Conversion Table' will be displayed and available for editing. Press 'Save' when you are done adding the changes or press 'Cancel' to undo and return to the previous page.
Delete
Click this to delete the currently opened conversion table. A prompt confirming your choice will be shown.
Table Tabs [4]
When viewing a universal conversion table, an extra tab is added here called 'Partner Specific Values'. Click it to display the conversion values that have been added for this specific partner on the universal table. The 'Values' tab simply holds the conversion values for the conversion table. It is not possible to add or remove tabs.
Data Handling [5]
These functions are described in more detail on the 'Data Grid' page in the user guide. In short they allow you to modify how the data is displayed in the grid.
Edit and Import [6]
Edit
To add, edit and remove values from the currently opened conversion table, click the 'Edit' button below the data grid. This will display a new set of available functions as shown in the screenshot below.
To add a new row, press the '+' button [1]. The newly created row will appear at the top of the list. Insert the appropiate values into the columns. Continue adding columns this way until you are done.
To edit a row, simply click the fields you want to edit and replace the values. You can checkmark which row should be Default Row. You must only checkmark one row.
To delete a conversion row, click the 'Delete' button [2] in the rightmost column. The row will turn green. Press 'Undelete' to undo the action. Several conversion values can be deleted in this manner.
After changing the conversion table, the 'Discard Changes' icon [1] will become available. It looks like an arrow pointing to the left. Click it to undo all changes made to the conversion table.
When you are done editing the conversion table, press either the 'Save' button in the lower left or the 'Save Changes' icon [1] next to the '+'. icon. Press 'Cancel' to undo all your changes and return to the previous page.
You can delete two or more rows at the same time in not-Edit-mode. You select the rows you what to delete. Selected rows are gray. After selecting rows, you klik Delete Selected Rows. You can alway see how many row you have selected. Selecting row for group-deleting has nothing to do with the possibility of checkmark a Default row.
Import Data
Click this to import an existing document containing the conversion values. You will be prompted to select a delimiter for the document (Either comma, semicolon or TAB). After selecting the delimiter, paste the data into the text box and press 'Ok'.
Import/Export Conversion Table [7]
Gives you the possibility to export entire conversion tables (and not just the content), so when you import it in a different Link environment, it will create the table and put it in the data.
Content on this page:
The information on this page is based on Link 2.12