Skip to main content

Purchase-to-Pay input fields

Introduction

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

note

When a table or field is not mandatory, it should be part of the input. Optional tables may contain no records and optional fields may contain empty values. When a field is mandatory, it should not contain NULL values.

EntityTableMandatory Y/N
Purchase requisitionPurchase_requisitions_base_rawN
Purchase orderPurchase_orders_baserawY
Purchase order itemPurchase_order_items_base_rawY
Goods receiptGoods_receipt_base_rawN
InvoiceInvoices_base_rawN
Invoice itemInvoice_items_base_rawN
AccountingAccounting_documents_base_rawN
PaymentPayments_base_rawN

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

docs image

important

Table names and field names are case-sensitive. Always make sure that the field names (column headers) in your dataset match the field names (in English) in the tables below and that the file names match the table names.

Field types

The following table describes the different field types and their default format settings.

Field typeFormat
booleantrue, false, 1, 0
dateyyyy-mm-dd
datetimeyyyy-mm-dd hh:mm:ss[.ms], where [.ms] is optional. Refer to the official Microsoft documentation if you want to change the date format.
doubleDecimal separator: . (dot) Thousand separator: none
integerThousand separator: none
textN/A

Purchase requisition

Purchase_requisitions_base_raw

The following table describes the fields of the Purchase_requisitions_base_raw table.

NameData typeMandatory Y/NDescription
Purchase_requisition_IDtextYThe unique identifier of the purchase requisition.
Purchase_requisition_creatortextN
MaterialtextNThe requested material.
Material_grouptextNThe categorization of the requested material.
Purchase_requisitiontextNA user-friendly name to identify the purchase requisition.
Appproval_statustextNThe status of the purchase requisition in the process. For example, ‘open’, ‘closed’, ‘pending’, ‘approved’, etc.
Purchase_requisition_typetextNThe categorization of purchase requisitions.
QuantitytextN
RequisitionertextNThe person who requested the purchase requisition.
ValuedoubleNA monetary value related to the purchase requisition.

Purchase order

Purchase_orders_base_raw

The following table describes the fields of the Purchase_orders_base_raw table.

NameData typeMandatory Y/NDescription
Purchase_order_IDtextYThe unique identifier of the purchase order.
CompanytextNThe company for which the purchase order is created.
Creation_datedateNThe date on which the purchase order is created.
One_time_supplierbooleanNAn indicator if the supplier is a one time supplier.
Purchase_ordertextNA user-friendly name to identify the purchase order .
Approval_statustextNThe status of the purchase order in the process. For example, ‘open’, ‘closed’, ‘pending’, ‘approved’, etc.
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.
Supplier_countrytextNThe country associated to the supplier.
Supplier_regiontextNThe region associated to the supplier.

Purchase_order_items_base_raw

The following table describes the fields of the Purchase_order_items_base_raw table.

NameTypeMandatory Y/NDescription
Purchase_order_item_IDtextYThe unique identifier of the purchase order item
Purchase_order_IDtextNThe unique identifier of the purchase order
Purchase_requisition_IDtextN*The unique identifier of the purchase requisition.
Purchase_order_item_creatortextN
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.
Storage_locationtextNThe storage location associated to the purchase order item.
QuantitytextNThe quantity and the unit of measurement ordered.
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_raw

The following table describes the fields of the Goods_receipt_base_raw 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.
CompanytextN
Delivery_completebooleanN
Goods_receipt_creatortextN
MaterialtextN
Material_grouptextN
PlanttextN
QuantitytextN
ValuedoubleN
  • If you want to include goods receipt events in the process graphs, the Purchase_order_item_ID field is mandatory.

Invoice

Invoices_base_raw

The following table describes the fields of the Invoices_base_raw table.

NameTypeMandatory Y/NDescription
Invoice_IDtextYThe unique identifier of the invoice.
Invoice_creatortextN
Baseline_datedateN
CompanytextN
Discount_captureddoubleN
Discount_percentage_1doubleN
Discount_percentage_2doubleN
Discount_period_1integerN
Discount_period_2integerN
Fiscal_yeartextN
Invoice_datedateN
Invoice_typetextN
Net_payment_periodintegerNNet payment period of the invoice in days.
Payment_methodtextN
Payment_termstextN
Posting_datedateN
  • If you want to include accounts payable events in the process graphs, the Invoice_ID field is mandatory.

Invoice_items_base_raw

The following table describes the fields of the Invoice_items_base_raw 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_item_creatortextN
MaterialtextN
Material_grouptextN
PlanttextN
QuantitytextN
ValuedoubleN
  • 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_raw

The following table describes the fields of the Accounting_documents_base_raw 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.
Accounting_document_creatortextN
Baseline_datedateN
CompanytextN
Discount_captureddoubleN
Discount_percentage_1doubleN
Discount_percentage_2doubleN
Discount_period_1integerN
Discount_period_2integerN
Document_datedateN
Document_typetextN
Fiscal_yeartextN
Net_payment_periodintegerN
Payment_datedateN
Payment_statustextN
Payment_termstextN
Posting_datedateN
Transaction_typetextN
ValuedoubleN
  • 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_raw

The following table describes the fields of the Payments_base_raw table.

NameTypeMandatory Y/NDescription
Payment_IDtextYThe unique identifier of the payment.
Accounting_document_IDtextN*The unique identifier of the accounting document.
Payment_creatortextN
CompanytextN
Fiscal_yeartextN
Payment_is_completebooleanN
Payment_is_debitbooleanN
ValuedoubleN
  • If you want to include payment events in the process graphs, the Accounting_document_ID field is mandatory.

Events

Events_base_raw

The Events_base_raw table contains all sub-event logs for all entities. Below is an overview of the fields of the Events_base_raw 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_orderintegerNThe number that defines in which order activities are executed in case they have the same Event end.
AutomatedbooleanNAn indicator whether the event is manually executed or automated.
DepartmenttextNThe department that executed the event.
Event_detailtextNInformation related to the event.
UsertextNThe user who executed the event.
User_functiontextNThe function associated with the user.
User_typetextNThe categorization of the user.
Event_costdoubleNThe costs for executing the event.
Event_start *datetimeNThe timestamp associated with the start of executing the event
  • If both Event_start and Event_end are defined in your dataset, the duration of the event is known. This will be used to calculate the throughput time of events. If only Event_end end is defined, the throughput time will be calculated as the difference between previous Event_end and the Event_end. Event_start is only taken into account if every record in the dataset contains a not-null value.
    important

    If you want to use Event_cost and/or Event_start in Purchase-to-Pay, you must add these fields to your .mvp connector and use DataBridgeAgent to load the data in your Purchase-to-Pay process app. See Loading data using DataBridgeAgent. Make sure you add the connector to DataBridgeAgent. See Adding a custom connector to DataBridgeAgent.

    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 fields (Activity and Event_end), one Entity_ID is mandatory. This field depends on the entity the event is part of.