- 发行说明
- 在开始之前
- 入门指南
- 管理访问权限
- 使用流程应用程序
- 创建流程应用程序
- 正在加载数据
- 自定义流程应用程序
- 数据转换
- TemplateOne 应用程序模板
- “购买到付款”应用程序模板
- “订单到现金”应用模板
- 基本故障排除指南
简介
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.
如果表格或字段不是必需的,则应将其作为输入的一部分。 可选表格可能不包含任何记录,可选字段可能包含空值。
如果字段为必填字段,则不应包含NULL值。
| 实体 | 表格 | 必填 是/否 |
|---|---|---|
| 采购申请 | Purchase_requisitions_base | N |
| 采购订单 | Purchase_orders_base | Y |
| 采购订单项目 | Purchase_order_items_base | Y |
| 收货 | Goods_receipt_base | N |
| 发票 | Invoices_base | N |
| 发票项目 | Invoice_items_base | N |
| 会计 | Accounting_documents_base | N |
| 付款 | Payments_base | N |
The illustration below displays the relations between entities of Purchase-to-Pay.
表格名称和字段名称区分大小写。始终确保数据集中的字段名称(列标题)与下方表格中的字段名称匹配,并且文件名与表名称匹配。
如果您使用 CData Sync 提取数据,则必须将_raw添加到下面列出的表格名称中,例如 Purchase_orders_base_raw .
字段类型
以下是不同字段类型及其默认格式设置的概述。
| 字段类型 | 格式 |
|---|---|
| boolean | true、false、1、0 |
| 日期 | yyyy-mm-dd |
| datetime | yyyy-mm-dd hh:mm:ss[.ms],其中[.ms]是可选的。 |
| double | 小数点分隔符: . (点)千位分隔符:无 |
| 整数 | 千位分隔符:无 |
| text | 不适用 |
采购申请
Purchase_requisitions_base table
下面是 Purchase_requisitions_base 表格字段的概述。
| 名称 | 数据类型 | 必填 是/否 | 描述 |
|---|---|---|---|
purchase_requisition_id | text | Y | 采购申请的唯一标识符。 |
appproval_status | text | N | 流程中采购申请的状态。例如,“未结”、“已结”、“待定”、“已批准”等。 |
material | text | N | 请求的材料。 |
material_group | text | N | 所请求材料的分类。 |
purchase_requisition | text | N | 用于标识采购申请的用户友好名称。 |
purchase_requisition_type | text | N | 采购申请的分类。 |
requisitioner | text | N | 请求采购申请的人员 |
value | double | N | 与采购申请相关的货币值 |
采购订单
Purchase_orders_base table
下面是 Purchase_orders_base 表格字段的概述。
| 名称 | 数据类型 | 必填 是/否 | 描述 |
|---|---|---|---|
purchase_order_id | text | Y | 采购订单的唯一标识符。 |
creation_date | 日期 | Y | 创建采购订单的日期。 |
approval_status | text | N | 流程中采购订单的状态。例如,“未结”、“已结”、“待定”、“已批准”等。 |
company | text | N | 为其创建采购订单的公司。 |
purchase_order | text | N | 用于标识采购订单的用户友好名称。 |
purchase_order_creator | text | N | 创建采购订单的人员。 |
purchase_order_type | text | N | 采购订单的分类。 |
purchasing_group | text | N | 与采购订单关联的采购组。 |
purchasing_organization | text | N | 与采购订单关联的采购组织。 |
supplier | text | N | 与采购订单关联的供应商。 |
one_time_supplier | boolean | N | 供应商是否为一次性供应商的指示器。 |
supplier_country | text | N | 与供应商关联的国家/地区。 |
supplier_region | text | N | 与供应商关联的区域。 |
Purchase_order_items_base table
下面是 Purchase_order_items_base 表格字段的概述。
| 名称 | 类型 | 必填 是/否 | 描述 |
|---|---|---|---|
purchase_order_item_id | text | Y | 采购订单的唯一标识符项目 |
purchase_order_id | text | Y | 采购订单的唯一标识符 |
purchase_requisition_id | text | N* | 采购申请的唯一标识符。 |
business_area | text | N | 与采购订单项目关联的业务范围。 |
cost_center | text | N | 与采购订单项目关联的成本中心。 |
customer | text | N | 为其创建采购订单项目的客户。 |
customer_country | text | N | 与客户关联的国家/地区。 |
customer_region | text | N | 与客户关联的区域。 |
delivery_complete | boolean | N | 指示是否已收到所有订购的货物。 |
latest_actual_delivery_date | 日期 | N | 采购订单项目的最新实际交货日期。 |
latest_expected_delivery_date | 日期 | N | 采购订单项目的最初确认的最晚交货日期。 |
material | text | N | 已订购的材料。 |
material_group | text | N | 已订购材料的分类。 |
plant | text | N | 与采购订单项目关联的工厂。 |
purchase_order_item | text | N | 用于标识采购订单项目的用户友好名称。 |
quantity | text | N | 订购的数量和计量单位。 |
storage_location | text | N | 与采购订单项目关联的存储位置。 |
value | double | N | 与采购订单项目相关的货币值。 |
- 如果要在流程图中包含采购申请事件,则
Purchase_requisition_id字段为必填字段。
Goods_receipt_base
下面是 Goods_receipt_base 表格字段的概述。
| 名称 | 类型 | 必填 是/否 | 描述 |
|---|---|---|---|
goods_receipt_id | text | Y | 收货的唯一标识符。 |
purchase_order_item_id | text | N* | 采购订单的唯一标识符项目。 |
- 如果要在流程图中包含收货事件,则
purchase_order_item_id字段为必填字段。
发票
Invoices_base table
下面是 Invoices_base 表格字段的概述。
| 名称 | 类型 | 必填 是/否 | 描述 |
|---|---|---|---|
invoice_id | text | Y | 发票的唯一标识符。 |
invoice_id_accounting_relation | text | N* | 会计系统中已知的发票的唯一标识符。 |
- 如果要在流程图中包含应付账款事件,则
invoice_id字段为必填字段。
Invoice_items_base table
下面是 Invoice_items_base 表格字段的概述。
| 名称 | 类型 | 必填 是/否 | 描述 |
|---|---|---|---|
invoice_item_id | text | Y | 发票项目的唯一标识符。 |
invoice_id | text | N* | 发票的唯一标识符。 |
purchase_order_item_id | text | N* | 采购订单的唯一标识符项目。 |
- 如果要在流程图中包含与应付账款相关的事件,则
invoice_id和purchase_ order_item_id字段为必填字段。
会计
Accounting_documents_base table
下面是 Accounting_documents_base 表格字段的概述。
| 名称 | 类型 | 必填 是/否 | 描述 |
|---|---|---|---|
accounting_document_id | text | Y | 会计凭证的唯一标识符。 |
invoice_id | text | N* | 会计系统中已知的发票的唯一标识符。 |
- 如果要在流程图中包含与应付账款相关的事件,则
accounting_document_id和invoice_id字段均为必填字段。
付款
Payments_base table
下面是 Payments_base 表格字段的概述。
| 名称 | 类型 | 必填 是/否 | 描述 |
|---|---|---|---|
payment_id | text | Y | 付款的唯一标识符。 |
accounting_document_id | text | N* | 会计凭证的唯一标识符。 |
- 如果要在流程图中包含付款事件,则
accounting_document_id字段为必填字段。
Events
Events_base 表
Events_base表包含所有实体的所有子事件日志。 下面是Events_base表格字段的概述。
| 名称 | 类型 | 必填 是/否 | 描述 |
|---|---|---|---|
activity | text | Y | 事件的名称。用于描述流程中的步骤。 |
event_end | datetime | Y | 与事件执行结束相关联的时间戳 |
purchase_requisition_id | text | Y | 采购申请的唯一标识符。 |
purchase_order_id | text | Y | 采购订单的唯一标识符。 |
purchase_order_item_id | text | Y | 采购订单的唯一标识符项目。 |
goods_receipt_id | text | Y | 收货的唯一标识符。 |
invoice_id | text | Y | 发票的唯一标识符。 |
invoice_item_id | text | Y | 发票项目的唯一标识符。 |
accounting_document_id | text | Y | 会计凭证的唯一标识符。 |
payment_id | text | Y | 付款的唯一标识符。 |
activity_order | 整数 | N | The number that defines in which order activities are executed in case they have the same Event end. |
department | text | N | 执行事件的部门。 |
event_cost | double | N | 执行事件的成本。 |
event_detail | text | N | 事件相关信息。 |
event_start * | datetime | N | 与开始执行事件相关联的时间戳 |
automated | boolean | N | 指示事件是手动执行还是自动执行。 |
user | text | N | 执行事件的用户。 |
user_function | text | N | 与用户关联的函数。 |
user_type | text | N | 用户的分类。 |
- 如果在数据集中同时定义了
event_start和event_end,则事件的持续时间已知。这将用于计算事件的吞吐时间。如果仅定义了event_end,则吞吐时间将计算为先前的event_end与event_end之间的差。
event_start is only taken into account if every record in the dataset contains a not-null value.
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.
请参阅使用数据桥代理加载数据。
确保将连接器添加到数据桥代理。请参阅将自定义连接器添加到数据桥代理。
预计将为每条记录填写一个id字段,这是发生事件的实体。 其他id字段可能为空。
在标准必填字段( activity和event_end )旁边,必须有一个entity_id 。 此字段取决于事件所属的实体。
自定义字段
Additionally, custom case and event fields for both case and event properties are available for Purchase-to-Pay.
- 10 fields of type text (5 fields for events);
- 10 fields of type double (5 fields for events);
- 5 个类型为“日期时间”的字段; (格式必须为yyyy-mm-dd hh:mm.ms,其中[.ms]为可选项)。
- 10 fields of type boolean (5 fields for events);
- 10 fields of type duration (5 fields for events).
Custom fields have generic names. Below is an overview of the custom fields that can be used in a Purchase-to-Pay process app.
If you want to use custom fields 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.
请参阅使用数据桥代理加载数据。
确保将连接器添加到数据桥代理。请参阅将自定义连接器添加到数据桥代理。
| 名称 | 数据类型 | 必填 是/否 |
|---|---|---|
| custom_purchase_order_item_text_{1...10} | text | N |
| custom_purchase_order_item_number_{1...10} | double | N |
| custom_purchase_order_item_datetime_{1...5} | datetime | N |
| custom_purchase_order_item_boolean_{1...10} | boolean | N |
| custom_purchase_order_item_duration_{1...10} | 整数 | N |
| custom_event_text_{1...5} | text | N |
| custom_event_number_{1...5} | double | N |
| custom_event_datetime_{1...5} | datetime | N |
| custom_event_boolean_{1...5} | boolean | N |
| custom_event_duration_{1...5} | 整数 | N |
使用自定义字段时,应使用数据管理器将字段重命名为与值匹配的名称。请参阅字段。
Custom fields that are empty in your dataset, are not displayed in Process Mining.