Extract Data from Data Sources
This topic covers the initial data extraction steps. For entity-wise job and global variable details, refer to the following chapters.
During extraction, connect to your data source and extract a data snapshot using ETL jobs.
Prerequisites:
- Ensure your database administrator has created a user or schema in the ERP source database and granted the required permissions to run scripts. The created user must be able to access the application tables.
- (Oracle E-Business Suite only) Ensure you have permission to run the
DBMS_CDC_PUBLISHpackage. For Oracle E-Business Suite Release 12.2.9, 12.2.8, and 12.2.6, you must also have permission to access the editioning views. - (Oracle E-Business Suite and JD Edwards EnterpriseOne on Oracle Database only) Log on to the ERP source database and configure Oracle Native CDC using the queries available at Content/EB_11i|EBS_R12 or Content/JDE_9.1|JDE_9.1.
- For source system and entity compatibility, refer to the insightsoftware SourceConnect Master Data Replication Product Availability Matrix.xlsx.
- For the password required to import .atl files, contact insightsoftware Support.
Extract Data:
- Log on to a schema that has access to all application tables and run the SQL queries available at these locations:
- Deltek Costpoint: Content/CSPT/
- Epicor iScala: Content/ISCALA/
- Infor Baan: Content/BAAN/
- IFS Applications: Content/IFS/
- Infor CloudSuite Industrial (SyteLine): Content/SYTELINE/
- Microsoft Dynamics GP: Content/MSFTGP/
- Microsoft Dynamics SL: Content/MSFTSL/
Note: SourceConnect Management Console supports the following source systems: Oracle E-Business Suite, JD Edwards EnterpriseOne, Dynamics 365 for Finance and Operations, Dynamics 365 Business Central (on-premises and cloud), Oracle PeopleSoft, Microsoft Dynamics AX, Microsoft Dynamics NAV, SAP ECC, and Universal Connector (UC)/Flat file. For detailed instructions, refer SAP Central Finance Master Data Replication by insightsoftware Installer and Management Console Guide.
- Run the queries to create tables, packages (if available), views, and then procedures (if available). You may need to modify the user name while running the SQL queries depending on your environment.
- The database tables, views, and stored procedures are created in the source database for master data extraction.
For 1C: Enterprise data sources:
- Import the
SourceConnectExtracts.cfconfiguration file available at Content/1C/ into your 1C:Enterprise instance. The insightsoftware SourceConnect Configuration link appears in the left pane, and Extracting plan and Log Journal links appear in the right pane. For information about importing and using the configuration file, contact insightsoftware Support. - Select Extracting plan to open the Extracting plan window.
- Double-click SAP to open the Magnitude SAP (Extracting plan) window.
- Select the required extraction options (Business Partners, Materials, or both) and specify the folder location for the extracted data.
- Select either Extract all data or Extract data (changes) based on your requirements. The source data is extracted into a .csv file in the specified folder location.
For QAD, Workday, or 1C: Enterprise sources:
- Ensure the file name in the File name(s) field matches the name of the .csv file containing the source data.
- Open SAP Data Services Designer as an administrator and sign in to your repository.
- Go to the Formats tab and right-click
MDR_FF_<EntityName><DataSourceName>SOURCEto open theMDR_FF<EntityName><DataSourceName>_SOURCEwindow. - In the File name(s) field, rename the file to match the extracted .csv file name.
Configure lookup values and entity objects:
- Go to Tools > Import From File and import the
MDR_MASTER_LOOKUP.xmlavailable at Content/ETL/ into your repository. The projectMDR_MASTER_LOOKUPis created. - To update the lookup values in the
MDR_MASTER_LOOKUPstaging table:- In the
MDR_MASTER_LOOKUPproject, open theMDR_JOB_MASTER_LOOKUP_LOADjob. - Update the
$FILE_PATHto indicate the location of theMDR_MASTER_LOOKUP.xlsfile containing the lookup values for your entity. - Run the job to update the staging table with the lookup values.
- In the
- Go to Tools > Import From File and import the
MDR_<EntityType>.xmlfile located at Content/ETL/ into your repository. Repeat this step for every entity in your environment. - The following objects are created in the local object library:
- Data store
MDR_STAGEfor staging database - Data stores
MDR_<DataSourceName>(Project) andMDR_SOURCE(all entities) for each supported data source except QAD, Workday, and 1C:Enterprise data sources and flat file data - Data store
MDR_S4Hfor Projects andMDR_<EntityType>for each entity
- Data store
Configure staging database connection:
- In the Local Object Library > Datastores tab, right-click
MDR_STAGEand update the connection details to point to your staging database:-
For SQL Server:
- In the Edit Datastore
MDR_STAGEwindow, select Advanced, then Edit. - Set the default configuration to Yes in the
MDR_DC_SQL_SERVER_STAGEcolumn. - Enter the server name where the staging database is installed in the Database server name or Hostname box.
- Enter the staging database name in the Database name or SID or Service Name box.
- If using SQL Server Authentication, select No for Use Windows Authentication and provide the user name and password.
- Select Apply, then OK.
- In the Edit Datastore
-
For SAP HANA:
- In the Edit Datastore
MDR_STAGEwindow, select Advanced, then Edit. - Set the default configuration to Yes in the
MDR_DC_HANA_STAGEcolumn. - Select Yes or No for Use data source name (DSN) or TNS based on your environment. If Yes, enter the server name in the Database server name or Hostname box and the port number in the Port box.
- Enter the user name and password.
- Select Apply, then OK.
- In the Edit Datastore
-
For SQL Server:
- In the Local Object Library > Datastores tab, connect to your data source using the Edit option.