UiPath Documentation
process-mining
2021.10
true
UiPath logo, featuring letters U and I in white

Process Mining user guide

Last updated Apr 23, 2026

Input tables of Purchase-to-Pay Discovery Accelerator 21.10

Introduction

This section contains an overview of the attributes for each of the input tables of the Purchase-to-Pay Discovery Accelerator. For each entity the attributes are listed. For each attribute, the name and a data type are displayed. Apart from that, it is indicated whether the attribute is mandatory if the entity is included in the Purchase-to-Pay process.

EntityTableMandatory Y/N
Purchase requisitionPurchase_requisitions_baseN
Purchase orderPurchase_orders_baseProcurement: Y Accounts payable: N
Purchase order itemPurchase_order_items_baseProcurement: Y Accounts payable: N
Goods receiptGoods_receipt_baseN
InvoiceInvoices_baseProcurement: N Accounts payable: Y
Invoice itemInvoice_items_baseProcurement: N Accounts payable: Y
AccountingAccounting_documents_baseN
PaymentPayments_baseN

The illustration below displays the relations between entities of the Purchase-to-Pay Discovery Accelerator.

docs image

Purchase Requisition

Purchase_requisitions_base Table

Below is an overview of the attributes of the Purchase_requisitions_base table.

NameData typeMandatory Y/NDescription
Purchase requisition IDTextYThe unique identifier of the purchase requisition.
Creation dateDateYThe date on which the purchase requisition is created.
Approval statusTextNThe status of the purchase requisition in the process. For example, ‘open’, ‘closed’, ‘pending’, ‘approved’, etc.
MaterialTextNThe requested material.
Material groupTextNThe categorization of the requested material.
Purchase requisitionTextNA user-friendly name to identify the purchase requisition.
Purchase requisition typeTextNThe categorization of purchase requisitions.
QuantityTextNThe quantity and the unit of measurement requested.
RequisitionerTextNThe person who requested the purchase requisition
ValueDoubleNA monetary value related to the purchase requisition

Purchase Order

Purchase_orders_base Table

Below is an overview of the attributes of the Purchase_orders_base table.

NameData typeMandatory Y/NDescription
Purchase order IDTextYThe unique identifier of the purchase order.
Creation dateDateYThe date on which the purchase order is created.
Approval statusTextNThe status of the purchase order in the process. For example, ‘open’, ‘closed’, ‘pending’, ‘approved’, etc.
CompanyTextNThe company for which the purchase order is created.
Purchase orderTextNA user-friendly name to identify the purchase order.
Purchase order creatorTextNThe person who created the purchase order.
Purchase order typeTextNThe categorization of purchase orders.
Purchasing groupTextNThe purchasing group associated with the purchase order.
Purchasing organizationTextNThe purchasing organization associated with the purchase order.
SupplierTextNThe supplier associated with the purchase order.
One time supplierBooleanNAn indicator if the supplier is a one time supplier.
Supplier countryTextNThe country associated to the supplier.
Supplier regionTextNThe region associated to the supplier.

Purchase_order_items_base Table

Below is an overview of the attributes of the Purchase_order_items_base table.

NameTypeMandatory Y/NDescription
Purchase order item IDTextYThe unique identifier of the purchase order item
Purchase order IDTextYThe unique identifier of the purchase order
Purchase requisition IDTextN*The unique identifier of the purchase requisition.
Business areaTextNThe business area associated with the purchase order item.
Cost centerTextNThe cost center associated with the purchase order item.
CustomerTextNThe customer on behalf of whom the purchase order item is created.
Customer countryTextNThe country associated to the customer.
Customer regionTextNThe region associated to the customer.
Delivery completeBooleanNIndicator if all ordered goods are received.
Latest actual delivery dateDateNThe latest actual delivery date for the purchase order item.
Latest expected delivery dateDateNThe latest originally confirmed delivery date for the purchase order item.
MaterialTextNThe ordered materials.
Material groupTextNThe categorization of the ordered materials.
PlantTextNThe plant associated to the purchase order item.
Purchase order itemTextNA user-friendly name to identify the purchase order item.
QuantityTextNThe quantity and the unit of measurement ordered.
Storage locationTextNThe storage location associated to the purchase order item.
ValueDoubleNThe monetary value related to the purchase order item.

* If you want to include purchase requisition events in the process graphs, the Purchase requisition ID field is mandatory.

Goods_receipt_base

Below is an overview of the attributes of the Goods_receipt_base table.

NameTypeMandatory Y/NDescription
Goods receipt IDTextYThe unique identifier of the goods receipt.
Purchase order item IDTextN*The unique identifier of the purchase order item.

* If you want to include goods receipt events in the process graphs, the Purchase order item ID field is mandatory.

Invoice

Invoices_base Table

Below is an overview of the attributes of the Invoices_base table.

NameTypeMandatory Y/NDescription
Invoice IDTextYThe unique identifier of the invoice.
Invoice ID (accounting relation)TextN*The unique identifier of the invoice as known in the accounting system.
Creation dateDateYThe date on which invoice was created in the system.
Baseline dateDateNThe baseline date for due date calculation of the invoice.
CompanyTextNThe company associated with the invoice.
Discount percentage 1DoubleNThe discount percentage for discount period 1.
Discount percentage 2DoubleNThe discount percentage for discount period 2.
Discount period 1IntegerNThe payment period for which discount percentage 1 applies.
Discount period 2IntegerNThe payment period for which discount percentage 2 applies.
Fiscal yearTextNThe fiscal year that the invoice belongs to.
InvoiceTextNA user-friendly name to identify the invoice.
Invoice creatorTextNThe person who created the invoice.
Invoice dateDateNThe date on which the received invoice was created.
Invoice typeTextNCategorization of invoices.
Net payment periodIntegerNThe net payment period for the invoice in days.
Payment methodTextNThe payment method of the invoice.
Payment termsTextNThe payment terms applicable for the invoice.
Posting dateDateNThe date on which the invoice was posted (accounting).

* If you want to include accounts payable events in the process graphs, the Invoice ID field is mandatory.

Invoice_items_base Table

Below is an overview of the attributes of the Invoice_items_base table.

NameTypeMandatory Y/NDescription
Invoice Item IDTextYThe unique identifier of the invoice item.
Invoice IDTextN*The unique identifier of the invoice.
Purchase order item IDTextN*The unique identifier of the purchase order item.
Invoice itemTextNA user-friendly name to identify the invoice item.
MaterialTextNThe material invoiced.
PlantTextNThe plant associated to the invoice item.
QuantityTextNThe quantity and the unit of measure for the invoice item.
ValueDoubleNThe monetary value of the invoice item.

* If you want to include events related to accounts payable in the process graphs, the Invoice ID and Purchase order item ID fields are mandatory.

Accounting

Accounting_documents_base Table

Below is an overview of the attributes of the Accounting_documents_base table.

NameTypeMandatory Y/NDescription
Accounting document IDTextYThe unique identifier of the accounting document.
Invoice IDTextN*The unique identifier of the invoice as known in the accounting system.

* If you want to include events related to accounts payable in the process graphs, both the Accounting document ID and Invoice ID fields are mandatory.

Payment

Payments_base Table

Below is an overview of the attributes of the Payments_base table.

NameTypeMandatory Y/NDescription
Payment IDTextYThe unique identifier of the payment.
Accounting document IDTextN*The unique identifier of the accounting document.
Payment is completeBooleanNAn indicator if the payment is a full clearing

* If you want to include payment events in the process graphs, the Accounting document ID field is mandatory.

Events

Events_base Table

The Events_base table contains all sub-event logs for all entities. Below is an overview of the attributes of the Events_base table.

NameTypeMandatory Y/NDescription
ActivityTextYThe name of the event. This describes the step in the process.
Event endDateTimeYThe timestamp associated with the end of executing the event
Purchase requisition IDTextYThe unique identifier of the purchase requisition.
Purchase order IDTextYThe unique identifier of the purchase order.
Purchase order item IDTextYThe unique identifier of the purchase order item.
Goods receipt IDTextYThe unique identifier of the goods receipt.
Invoice IDTextYThe unique identifier of the invoice.
Invoice item IDTextYThe unique identifier of the invoice item.
Accounting document IDTextYThe unique identifier of the accounting document.
Payment IDTextYThe unique identifier of the payment.
Activity categoryTextNThe type of activity that takes place (e.g. change, set/remove block)
Activity codeTextNThe code for the activity that takes place used to define metrics and tags in the Purchase-to-Pay Discovery Accelerator.
Activity orderIntegerNThe number that defines in which order activities are executed in case they have the same Event end.
Activity triggerTextNAn attribute that describes the reason for the executed activity.
DepartmentTextNThe department that executed the event.
Event detailTextNInformation related to the event.
AutomatedBooleanNAn indicator whether the event is manually executed or automated.
UserTextNThe user who executed the event.
User functionTextNThe function associated with the user.
User typeTextNThe categorization of the user.
Note:

It is expected that for each record exactly one of the ID fields is filled in, which is the one of the entity on which the event takes place. The other ID fields may be empty. Next to the standard mandatory attributes (Activity and Event end), one entity ID is mandatory. This field depends on the entity the event is part of.

Activity Code

Several activities in the Purchase-to-Pay Discovery Accelerator are used to calculate metrics or tags. If your source system uses a different name for a certain activity, the Activity code can be used to map your activity to the appropriate activity in Purchase-to-Pay Discovery Accelerator to make sure that the correct activities are used for calculation.

If you define the (optional) Activity code attribute, make sure that the available activity codes are defined in your input data.

Below is an overview of the Activity codes that are available in Purchase-to-Pay Discovery Accelerator.

Activity code

Description

Usage

APPROVE_PO

Purchase order is approved

(on any level)

Metrics

• Throughput times:

  • Purchase order approval until Goods are received;
  • Purchase requisition creation until the Purchase order is approved;
  • Purchase requisition approval to Purchase order approval.

• Number of Purchase order approvals.

Tags

• Goods are delivered before/without the Purchase order is approved or unreasonably quick;

• Invoice is received before/without the Purchase order is approved.

APPROVE_PR

Purchase requisition is approved

(on any level)

Metrics

• Throughput times:

  • Purchase requisition approval to Purchase order approval.

• Number of Purchase requisition approvals.

CREATE_INVOICE

Invoice is created

Metrics

• Throughput times:

  • Invoice creation until the last outgoing payment.

CREATE_INVOICE_ITEM

Invoice item is created

Tags

• Invoice is received before/without the Purchase order is approved or Purchase order item is created.

• An invoice is received too soon after an Purchase order approval.

CREATE_OUTGOING_PAYMENT

Outgoing payment is executed

Metrics

• Throughput times:

  • Invoice creation until the last outgoing payment.

CREATE_PO

Purchase order is created

Metrics

• Throughput times:

  • Purchase requisition approval to Purchase order approval.

CREATE_PO_ITEM

Purchase order item is created

Tags

• Goods are delivered before the Purchase order item is created;

• Invoice is received before the Purchase order item is created.

CREATE_PR

Purchase requisition is created

Metrics

• Throughput times:

  • Purchase order approval until Goods are received.

GOODS_RECEIPT

Goods are received

Metrics

• Throughput times:

  • Purchase order is approved until Goods are received.

Tags

• Goods are delivered before/without the Purchase order is approved or before the Purchase order item is created;

• Goods are delivered too quickly after the Purchase order is approved.

REVOKE_APPROVED_PO

Purchase order approval is revoked (on any level)

Metrics

• Number of purchase order approval revocation.

REVOKE_APPROVED_PR

Purchase requisition approval is revoked (on any level)

Metrics

• Number of purchase requisition approval revocation.

Attribute Type

Below is an overview of the different attribute types and their default format settings.

Attribute typeSpecification
Booleann/a
DateFormat: YYYY-M-D
DateTimeDate format: YYYY-M-D Time format: h:mm[:ss[[.zzz]]]
DoubleDecimal separator:. (dot) Thousand separator: none
IntegerThousand separator: none
Textn/a.

Input Format

Some of the attribute types of the input attributes can have multiple format settings which can differ. For example, two attributes can be both of type Date, but they can each have a specific format.

If your input data is of a different format than the default format in the Purchase-to-Pay Discovery Accelerator, you can edit the format settings for all the input attributes of that type in the Edit Datasource Attribute dialog in the Purchase-to-Pay Discovery Accelerator to match the format of your input data. See the illustration below for an example.

docs image

Changing the display format

If you want to use different display formats in the Purchase-to-Pay Discovery Accelerator than the default format that is set for the attribute type, you can change the display format settings in Purchase-to-Pay Discovery Accelerator. For example, if you want to use a different currency string you can change the settings in the Display Format dialog.

Follow these steps to open the Display Format dialog.

StepAction
1Click on the Home button and select Settings....
2Click on DISPLAY FORMAT....

See the illustration below.

docs image

In a similar way, you can change the decimal separator or thousand separator for specific attributes.

For more information see Display Format.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated