process-mining
2022.10
false
UiPath logo, featuring letters U and I in white
Process Mining
Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
Last updated Oct 17, 2024

Configuring CData Sync for Purchase-to-Pay

Introduction

Next to the Upload data option to load data for a Purchase-to-Pay process app, you can also use CData Sync to load data from files. This page describes how to use CData Sync to set up a source connection to load data from files into a Process Mining Purchase-to-Pay process app.

In general, when you want to use CData Sync to load data from files, you should follow the steps as described in Loading data using CData Sync to set up data loading using CData Sync.

Since specific settings are required when loading data from files into Purchase-to-Pay, pay attention to the steps described below.

Purchase-to-Pay specific steps when configuring CData Sync

Step 2: Setting up the source connection

Select CSV as the source system to which you want to create a connection from the list, and make sure to define the settings as described in Loading data using CData Sync.

Step 4: Creating the extraction job - step 7

On the Tables tab add a custom query that mirrors the output of the connector you are using.

For Purchase-to-Pay use the following query:

REPLICATE [Accounting_documents_base_raw] SELECT * FROM [Accounting_documents_base];
REPLICATE [Events_base_raw] SELECT * FROM [Events_base];
REPLICATE [Goods_receipt_base_raw] SELECT * FROM [Goods_receipt_base]; 
REPLICATE [Invoice_items_base_raw] SELECT * FROM [Invoice_items_base];
REPLICATE [Invoices_base_raw] SELECT * FROM [Invoices_base];
REPLICATE [Payments_base_raw] SELECT * FROM [Payments_base];
REPLICATE [Purchase_order_items_base_raw] SELECT * FROM [Purchase_order_items_base];
REPLICATE [Purchase_orders_base_raw] SELECT * FROM [Purchase_orders_base];
REPLICATE [Purchase_requisitions_base_raw] SELECT * FROM [Purchase_requisitions_base]REPLICATE [Accounting_documents_base_raw] SELECT * FROM [Accounting_documents_base];
REPLICATE [Events_base_raw] SELECT * FROM [Events_base];
REPLICATE [Goods_receipt_base_raw] SELECT * FROM [Goods_receipt_base]; 
REPLICATE [Invoice_items_base_raw] SELECT * FROM [Invoice_items_base];
REPLICATE [Invoices_base_raw] SELECT * FROM [Invoices_base];
REPLICATE [Payments_base_raw] SELECT * FROM [Payments_base];
REPLICATE [Purchase_order_items_base_raw] SELECT * FROM [Purchase_order_items_base];
REPLICATE [Purchase_orders_base_raw] SELECT * FROM [Purchase_orders_base];
REPLICATE [Purchase_requisitions_base_raw] SELECT * FROM [Purchase_requisitions_base]

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.