User Manual

10.11.2024

MANUAL

Table Function: Import Records and Link Master Data

## Overview This page is written on the assumption that you understand the basic import method "[Table Function: Import Record](table-record-import)". Please refer to the following first to understand the basic usage of "[Import](/en/manual/site-package-import)". This page explains how to import when linking parent and child tables. As an example, we will use a common customer CD for customer management (parent table) and sales management (child table), and link them together. The general flow is as follows. 1. Open the Excel data for "Customer Management" and "Sales Opportunity Management", select "Save As", and save it by selecting "CSV (Comma Separated) (.csv)" or "CSV UTF-8 (Comma Separated) (.csv)" as the file format. 1. Create "Customer Management" and "Negotiation Management" recorded tables and create data columns 1. Set the title of the "Customer Management" table 1. Set the link with the "Customer Management" table as the parent and the "Negotiation Management" table as the child 1. Import the CSV data for "Customer Management" 1. Import the CSV data to "Negotiation Management" ## Prerequisites 1. Set the "Link" for tables before importing 1. The column names of the parent table linked to the child table are imported as the column names set in the child table. --- Customer Management (Parent Table) ![image](https://pleasanter.org/binaries/4db165bd1bf74c74ac1729b0a65a967f) Column name|Data type|Pleasanter column|Setting column ---|---|---|--- Customer CD|String|DescriptionA|Style: Normal Customer name|String|Title Postal code|String|DescriptionB|Style: Normal Address 1|String|DescriptionC|Style: Normal Address 2|String|DescriptionD|Style: Normal Negotiation Management (child table) ![image](https://pleasanter.org/binaries/842630e1d0f24dd781fcd7fefb9a5ba1) In this case, the customer CD in Project Management is linked to the customer CD in Customer Management, so there is no customer name column in Project Management. To maintain uniqueness, the parent table manages the customer CD and customer name as a set, and the child table records only the customer CD and refers to the parent table for the customer name in many cases. --- ## 1. Notes On Linking Parent And Child Tables That Serve As Master Data The link function of Pleasanter links the title column of the parent table with the class column of the child table. In this example, the customer name is generally the title, but if the customer name is the title, it becomes difficult to determine which is which if there are companies with the same name. ![image](https://pleasanter.org/binaries/05a20e26882045c884825a6133410aeb) If the customer CD is made the title column to maintain uniqueness, it becomes difficult to determine which code is which customer. ![image](https://pleasanter.org/binaries/c29e2624e4d04c36afdc7a80d1038c0e) For this reason, Pleasanter has a function called "[Title Merge](/en/manual/table-management-title-combination)" that combines multiple columns, such as customer CD and customer name, and treats them as a title. ![image](https://pleasanter.org/binaries/e7b208b02eef45fd841080f60c1ed02a) For "[Title Merge](/en/manual/table-management-title-combination)", go to "[Manage Table](/en/manual/table-management)" → "[Editor](/en/manual/table-management-editor)" and enable "Customer CD" in the "[Option List](/en/manual/table-management-choices-text)" as shown in the screen below, and with the current settings, arrange "Customer CD" and "Customer Name" from the top. In this example, we have changed the name displayed of "[Title](/en/manual/tenant-logo)" to "Customer Name." ![image](https://pleasanter.org/binaries/c8dfcce99b0445829d0d3c39c57ea054) --- ## 2. Create A Table To Import Excel Data And Set The Link First, create a customer management table and a sales management table by combining the Excel data and column names (column names in "[Manage Table](/en/manual/table-management)" -> "[Editor](/en/manual/table-management-editor)"). ![image](https://pleasanter.org/binaries/259f3ec27f5341e683eeb2480e47ea45) ![image](https://pleasanter.org/binaries/24bdd4f05b8141d28e84f2f7443821ad) --- ## 3. Import Excel Data For Parent Data First, import data from the parent table. Open the customer management table and click the import button from the list screen. ![image](https://pleasanter.org/binaries/f9ffa5096d1f4d8ea32062a20896146b) Make sure to select the correct character code. [Importing Excel data into Pleasanter](/manual/table-record-import) ![image](https://pleasanter.org/binaries/b7e568be89394635847c0bf7190fac7e) As per the "[Title Merge](/en/manual/table-management-title-combination)" settings, the data is merged in the format "Customer CD) Customer Name". --- ## 4. Import Excel Data For Child Data In the diagram below, the customer in the parent data refers to the title, and the customer in the child data refers to ClassA. The title of the parent data to be linked from the child data is combined in the format "Customer CD) Customer Name", so the link will not be set correctly if the original data is used as is. ![image](https://pleasanter.org/binaries/89ea05f9fb074e9083e164fcaec0fa53) Therefore, you need to make the child data have the same format as the parent data title before importing. If you import data in its original state, the link will not be set correctly and the beginning of "Customer" will be displayed as. ![image](https://pleasanter.org/binaries/93a5240057fa45b6ae3d39816b56fd9e) If the original data is in Excel, create combined data such as "Customer CD) Customer Name" using a function such as VLOOKUP and then import it. ![image](https://pleasanter.org/binaries/79fa2b282cce470ca51435d849e42fae) Column name|Data type|Pleasanter column|Setting column ---|---|---|--- Customer|String|Category A|Style: Normal. Combine customer CD and customer name. Project name|String|Title Status|Numerical value|Status| Negotiation probability|String|DescriptionB|Style: Normal Negotiation start date|Date|DateA| Quote submission date|Date|DateB| Deadline|Date|Completion| Quote amount|Numerical value|NumA Owner|Category|Category B When you import data with combined titles, the link settings will be automatically enabled like this. ![image](https://pleasanter.org/binaries/c088c91f76fa4434902d8b13eef3ba47) ## Specify Parent Table (Master) By Record ID ![image](https://pleasanter.org/binaries/18fef921bf6644c3adf840d4686c8678) As shown above, you can link to the master table column with the record ID "27287" instead of the "customer" name "10100) Assist Co., Ltd.". ## Move To Linked Table Records with links will be displayed on the editing screen, so you will be able to move between them. ![image](https://pleasanter.org/binaries/4493e66fd9ee4c5193e0b5287aede8e2) ![image](https://pleasanter.org/binaries/80bcaa7f5b4e43a9883d520697831176) --- ## Things To Check If The Imported Data Is Not Linked Properly 1. Import the master table before importing the child table. If you have imported the child table first, export the child table data after importing the data into the master table, and import the file with the "Update records with matching IDs" checkbox checked. 1. Import the child table link column name with the child table column name, not the parent table column name. ## Related Information <div id="ManualList"><ul><li><a href="/en/manual/site-package-import">Site function: Import Site Package</a><span>08.13.2024 up</span></li></ul></article> <ul><li><a href="/en/manual/table-record-import">Table Function: Import Record</a><span>08.13.2024 up</span></li></ul></article> <ul><li><a href="/en/manual/table-management">Manage Table</a><span>10.02.2024 up</span></li></ul></article> <ul><li><a href="/en/manual/table-management-editor">Table Management: Editor</a><span>08.13.2024 up</span></li> <li><a href="/en/manual/table-management-choices-text">Table Management: Editor: Item Detail Settings: Option List</a><span>08.13.2024 up</span></li> <li><a href="/en/manual/table-management-title-combination">Manage Table: Editor: Column Advanced Settings: Title Combination</a><span>10.11.2024 up</span></li></ul></article> <ul><li><a href="/en/manual/tenant-logo">Tenant Management Function: Logo, Title, Logo Image</a><span>10.08.2024 up</span></li></ul></article> <ul><li><a href="/en/manual/group-import">Group Management Function: Import/export</a><span>08.14.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.