Your Purchase to Pay - Requisition Data Template

Microsoft Dynamics 365
Your Purchase to Pay - Requisition Data Template

Your Purchase to Pay - Requisition Data Template

This template outlines the key attributes to collect and the crucial activities to track, enabling a deep dive into your requisition process. It also provides practical guidance on extracting this data, helping you prepare your event log efficiently for detailed analysis.
  • Recommended attributes to collect
  • Key activities to track
  • Extraction guidance
New to event logs? Learn how to create a process mining event log.

Purchase to Pay - Requisition Attributes

These are the recommended data fields to include in your event log for a comprehensive analysis of your Purchase to Pay - Requisition process.
5 Required 7 Recommended 6 Optional
Name Description
Activity Name
ActivityName
The name of the specific business event or step that occurred in the requisition process.
Description

This attribute records the name of each activity performed within the purchase requisition lifecycle. Examples include 'Requisition Created', 'Approval Step Approved', and 'Purchase Order Created'. These activities form the nodes in the discovered process map.

Analyzing the sequence, frequency, and duration between these activities is the core of process mining. It helps identify bottlenecks, rework loops, and deviations from the standard process flow, providing insights into operational inefficiencies.

Why it matters

This attribute defines the steps in the process map, making it possible to visualize, analyze, and understand the requisition workflow.

Where to get

This is typically derived from status change logs, workflow history tables, or specific event tables within Microsoft Dynamics 365, such as WorkflowTrackingStatusTable.

Examples
Requisition Submitted for ApprovalApproval Step ApprovedRequisition Amended
Event Time
EventTime
The precise timestamp when a specific activity or event occurred.
Description

Event Time, or the timestamp, captures the date and time that a business event was recorded in the system. It is the temporal foundation for all time-based process analysis.

This attribute is critical for calculating cycle times, durations, and waiting times between activities. It enables the analysis of process performance, bottleneck identification, and SLA compliance monitoring. Accurate timestamps are essential for a reliable process mining analysis.

Why it matters

It provides the chronological order of events, which is necessary for calculating process durations, identifying bottlenecks, and analyzing performance over time.

Where to get

Found in workflow history or document log tables, often as a 'CreatedDateTime' or 'ModifiedDateTime' field associated with each status change or event record.

Examples
2023-10-26T10:00:00Z2023-10-26T11:30:15Z2023-10-27T14:22:05Z
Purchase Requisition ID
PurchaseRequisitionId
The unique identifier for a purchase requisition, serving as the primary case identifier.
Description

The Purchase Requisition ID is the central key that links all activities related to a single request for goods or services. Each requisition process, from creation to final approval and closure, is tracked under this unique ID.

In process mining, this attribute is fundamental for reconstructing the end-to-end journey of each requisition. It allows for the analysis of process variants, cycle times, and compliance for individual cases, providing a complete view of the requisition lifecycle.

Why it matters

It is essential for grouping all related events into a single process instance, enabling a complete, end-to-end analysis of each requisition's lifecycle.

Where to get

This is typically the primary key in the main purchase requisition header table, such as PurchReqTable in Microsoft Dynamics 365.

Examples
PR-001254PR-001255PR-001256
Last Data Update
LastDataIngestionTimestamp
The timestamp when the data was last extracted and loaded into the process mining tool.
Description

This attribute indicates the freshness of the data being analyzed. It shows the date and time of the most recent data refresh from the source system. This is not a field from Dynamics 365 itself, but metadata added during data ingestion.

This timestamp is critical for users to understand the timeliness of the insights. It helps them know if they are looking at real-time data or a snapshot from a specific point in time, which affects the relevance of their conclusions.

Why it matters

It informs users about the freshness of the data, ensuring they understand the time frame of the analysis and the relevance of the insights.

Where to get

This value is generated and appended to the dataset during the data ingestion or ETL process.

Examples
2024-05-20T08:00:00Z2024-05-21T08:00:00Z2024-05-22T08:00:00Z
Source System
SourceSystemId
The system of record from which the data was extracted.
Description

This attribute identifies the source system where the event data originated. For this context, it would be 'Microsoft Dynamics 365'. In environments with multiple integrated systems, this field is crucial for data lineage and context.

In analysis, it helps differentiate processes that may span multiple systems or confirms that the data comes from a single, authoritative source. This is important for data validation and ensuring the analysis is based on the correct dataset.

Why it matters

It provides context about the data's origin, which is crucial for data governance, validation, and in environments where multiple systems are integrated.

Where to get

This is a static value, 'Microsoft Dynamics 365', added during the data extraction and transformation process.

Examples
Microsoft Dynamics 365 F&OD365MSD365
Approval Step
ApprovalStep
The name or stage of a specific approval step in the workflow.
Description

This attribute identifies the particular stage in the approval workflow, such as 'Manager Approval' or 'Finance Approval'. It provides more granular detail than the general activity name.

This attribute is essential for the 'Approval Step Bottleneck Analysis'. By tracking the time spent in each distinct approval step, it becomes possible to pinpoint exactly which stages are causing delays in the overall process. This allows for targeted interventions to improve workflow efficiency.

Why it matters

It allows for a granular analysis of the approval workflow, making it possible to identify specific stages that are causing bottlenecks.

Where to get

This information is contained within the workflow history tables, such as WorkflowTrackingStatusTable, which details each step of the configured workflow.

Examples
Manager ApprovalDepartment Head ApprovalFinance Review
Department
Department
The department of the requester or the cost center associated with the requisition.
Description

This attribute specifies the business department or cost center that initiated the purchase requisition, such as 'Marketing', 'IT', or 'Operations'. This information is usually part of the requisition header.

Segmenting the process by department is crucial for comparative analysis. It allows you to see which departments have the longest cycle times, highest rejection rates, or most frequent amendments. These insights help tailor process improvements to specific departmental needs.

Why it matters

It allows for filtering and comparing process performance across different business units, revealing department-specific patterns, bottlenecks, or inefficiencies.

Where to get

This information is often stored on the purchase requisition header (PurchReqTable) and linked to the financial dimensions configuration in Dynamics 365.

Examples
IT DepartmentFinanceOperations
Processing Time
ProcessingTime
The active time spent working on a specific task.
Description

Processing Time represents the duration a resource actively spends executing a task. It is calculated as the difference between the end time and start time of an activity. Unlike cycle time, it excludes waiting or queue time.

This calculated metric is vital for understanding resource efficiency and the actual effort required for each process step. It helps in the 'Approval Step Bottleneck Analysis' by distinguishing between long processing times, which may indicate a complex task, and long queue times, which suggest a resource availability issue.

Why it matters

It measures the active work duration for activities, helping to distinguish between value-adding time and waiting time for accurate bottleneck analysis.

Where to get

This is calculated during data transformation by subtracting an activity's start time from its end time. This requires having both StartTime and EndTime for each activity.

Examples
864000003600000600000
Requisition Status
RequisitionStatus
The current or final status of the purchase requisition.
Description

This attribute indicates the overall status of the purchase requisition at any given point, such as 'In Review', 'Approved', 'Rejected', or 'Closed'. This is often a case-level attribute representing the final outcome.

Analyzing the final status helps in understanding the overall outcomes of the process. For example, a high number of 'Rejected' or 'Withdrawn' requisitions can indicate problems in the initial request phase or a cumbersome approval process. It is key for measuring success rates and process efficiency.

Why it matters

It provides a clear outcome for each case, enabling analysis of approval, rejection, and withdrawal rates, which are key performance indicators.

Where to get

The status field is typically located on the purchase requisition header table, PurchReqTable, often named 'Status' or 'PurchReqStatus'.

Examples
ApprovedIn reviewRejectedDraft
Requisition Total Amount
RequisitionTotalAmount
The total monetary value of the purchase requisition.
Description

This attribute captures the total value of all line items on a purchase requisition. The amount often influences the complexity of the approval workflow, with higher value requisitions requiring more approval steps.

In process analysis, this attribute is essential for value-based filtering and analysis. It helps answer questions like, 'Do high-value requisitions take longer to approve?' or 'What is the value of requisitions currently stuck in the process?'. This provides a financial context to process performance.

Why it matters

It adds a financial dimension to the analysis, allowing for the prioritization of high-value cases and understanding how monetary value impacts process behavior.

Where to get

This value is typically on the purchase requisition header table or calculated as a sum of line item amounts from the purchase requisition line table (PurchReqLine).

Examples
1500.0025000.50500.75
Urgency Level
UrgencyLevel
A classification of the requisition's urgency, such as 'High', 'Medium', or 'Low'.
Description

The Urgency Level, or priority, indicates how quickly the requested goods or services are needed. This attribute is often used to influence the approval path or to prioritize work for approvers.

Analyzing this attribute helps to determine if the priority system is effective. For instance, you can compare the cycle times of 'High' urgency requisitions to 'Low' urgency ones. If there's no significant difference, it may indicate that the priority field is being ignored or misused, which is a key insight for the 'Urgency Level Impact Analysis' dashboard.

Why it matters

It helps assess whether priority settings effectively expedite critical requests and uncovers potential misuse of the urgency classification.

Where to get

This could be a standard or custom field on the PurchReqTable. Its existence and name may vary based on system configuration.

Examples
HighMediumLow
User
User
The user ID or name of the person who performed the activity.
Description

This attribute identifies the employee or system user responsible for executing a specific process step, such as submitting a requisition or approving a request. It can be a user ID, full name, or email address.

Analyzing activities by user helps identify training needs, high-performing individuals or teams, and workload distribution. It is also essential for compliance analysis, such as segregation of duties, and for understanding how different user roles interact with the process.

Why it matters

It enables analysis of user-specific behavior, workload, and performance, which is key for resource management and identifying training opportunities.

Where to get

Typically found in workflow history tables (e.g., WorkflowTrackingStatusTable) or transaction tables (e.g., PurchReqTable) linked to a user table (e.g., UserInfo).

Examples
j.smitha.joness.patel
Amendment Count
AmendmentCount
The total number of times a requisition was amended.
Description

This is a calculated numeric attribute that counts the occurrences of the 'Requisition Amended' activity for each purchase requisition case.

This attribute is essential for the 'Requisition Amendment Frequency' dashboard and the 'Requisition Amendment Ratio' KPI. It quantifies the amount of rework per case, making it easy to identify which requisitions, departments, or users are associated with high levels of change and inefficiency. This helps target efforts to improve initial request quality.

Why it matters

It quantifies rework within a case, making it easy to measure and analyze the frequency of amendments and its impact on process efficiency.

Where to get

This is a calculated attribute. It is derived during data transformation by counting the 'Requisition Amended' activities for each unique PurchaseRequisitionId.

Examples
013
Approval Workflow Path
ApprovalWorkflowPath
A representation of the sequence of approval steps taken.
Description

This attribute is a derived field that concatenates the sequence of approval steps for a given requisition, such as 'Manager Approval -> Department Head Approval -> Finance Approval'. It effectively summarizes the process variant for the approval sub-process.

This is crucial for the 'Compliance Deviation Monitor' dashboard. By comparing the actual workflow path against a predefined standard or expected path, it becomes easy to flag non-compliant or unusual process flows that may represent policy violations or operational risks.

Why it matters

It simplifies compliance analysis by providing a clear string representation of the process variant, making it easy to spot deviations from standard procedures.

Where to get

This attribute is not a standard field. It must be derived by concatenating the 'ApprovalStep' values in chronological order for each case during data transformation.

Examples
Manager -> DirectorManager -> Director -> VP FinanceManager -> Auto-Approved
Approver Group
ApproverGroup
The user group or role responsible for an approval step.
Description

This attribute identifies the group, role, or queue assigned to handle a specific approval task, for example, 'Finance Approvers' or 'IT Managers'.

Analyzing process performance by approver group is key to understanding workload distribution and identifying which groups may be under-resourced or require additional training. It directly supports the 'Approval Step Bottleneck Analysis' dashboard by allowing performance to be sliced by the teams responsible for approvals.

Why it matters

It helps identify performance differences between approval teams, highlighting potential resource constraints or training needs within specific groups.

Where to get

This information is part of the workflow history (e.g., WorkflowTrackingStatusTable), which records the assigned user or user group for each task.

Examples
Finance ApproversIT ManagersSenior Leadership
Currency
Currency
The currency code for the requisition amount.
Description

This attribute specifies the currency, for example, USD, EUR, GBP, in which the requisition's total amount is denominated. It is crucial for financial analysis, especially in multinational organizations dealing with multiple currencies.

Using the currency attribute allows for proper handling and aggregation of financial data. It ensures that monetary values are interpreted correctly and enables conversions to a common currency for accurate reporting and comparison across different regions or business units.

Why it matters

It provides necessary context for financial attributes, ensuring accurate interpretation and aggregation of monetary values in multi-currency environments.

Where to get

This field is typically found on the purchase requisition header table, PurchReqTable, alongside the amount fields.

Examples
USDEURGBP
Is First Pass Approved
IsFirstPass
A flag indicating if a requisition was approved without any prior amendments or rejections.
Description

This is a calculated boolean attribute that is 'true' if a requisition's path to approval did not include any 'Requisition Amended' or 'Approval Step Rejected' activities. Otherwise, it is 'false'.

This attribute directly supports the 'Requisition First-Pass Approval Rate' KPI. It simplifies the analysis of process efficiency by providing a clear, case-level indicator of rework. A low rate of first-pass approvals highlights issues with initial data quality or unclear requirements, signaling an opportunity for process improvement.

Why it matters

It directly measures process quality and efficiency by identifying cases that required rework, supporting KPIs focused on first-time-right rates.

Where to get

This is a calculated attribute. It requires analyzing the full activity sequence for each case during data transformation to check for the absence of rework activities before approval.

Examples
truefalse
Purchase Order Number
PurchaseOrderNumber
The identifier of the purchase order created from the requisition.
Description

This attribute stores the unique ID of the purchase order that was generated from an approved purchase requisition. It serves as the link between the requisition process and the downstream procurement process.

Tracking this number is essential for analyzing the 'Requisition to PO Conversion Time'. It confirms that a requisition has successfully moved to the next stage of the Purchase-to-Pay cycle and allows for end-to-end process analysis that spans both requisitions and purchase orders.

Why it matters

It connects the requisition to the subsequent purchase order, enabling analysis of the Requisition-to-PO conversion and linking different stages of the P2P process.

Where to get

This information is usually found on the purchase requisition line table (PurchReqLine) after a PO has been created, linking back to the PurchTable.

Examples
PO-000987PO-000988PO-000989
Required Recommended Optional

Purchase to Pay - Requisition Activities

These are the essential process steps and milestones to capture in your event log for accurate discovery and analysis of your requisition workflow.
7 Recommended 5 Optional
Activity Description
Approval Step Approved
An approver completes their assigned task, approving the requisition for their stage of the process. This moves the requisition to the next step or to final approval.
Why it matters

Measures the processing time for each approval stage and helps pinpoint efficient parts of the workflow. It's a key component of variant analysis.

Where to get

Explicitly logged in the 'WorkflowTrackingStatusTable' when a user completes a work item with an 'Approve' outcome.

Capture

Identify 'WorkItemCompleted' events with an 'Approve' outcome in the workflow history logs.

Event type explicit
Purchase Order Created
An approved purchase requisition line is converted into a purchase order line, signaling the handoff to the procurement team. This is captured by linking the requisition line to a purchase order line.
Why it matters

This is a critical milestone connecting the requisition to the downstream procurement process. It's essential for measuring the 'Requisition to PO Conversion Time' KPI.

Where to get

Inferred by finding a record in the 'PurchLine' table that references the ID of a 'PurchReqLine' associated with the requisition case.

Capture

Join PurchReqLine with PurchLine on the linking reference field (e.g., PurchReqLineRefId).

Event type inferred
Requisition Approved
The requisition has successfully passed all required approval steps in the workflow. This activity is captured when the workflow instance completes with a final approved status.
Why it matters

This is a major milestone, marking the end of the approval cycle and the start of the procurement phase. It's the end event for 'Requisition Approval Cycle Time' KPI.

Where to get

Captured explicitly from the 'WorkflowTrackingStatusTable' when the workflow completes. This also updates the 'Status' field on the 'PurchReqTable' to 'Approved'.

Capture

Filter for workflow 'Completion' events with an 'Approved' status or track status change on PurchReqTable.

Event type explicit
Requisition Closed
The entire purchase requisition is considered complete, meaning all its lines have been processed into purchase orders or cancelled. This is a final, successful end state.
Why it matters

This activity marks the successful completion of the requisition's lifecycle. It is the final endpoint for measuring the total end-to-end process duration.

Where to get

This status is typically calculated or inferred. It occurs when all associated 'PurchReqLine' records have reached a terminal status (e.g., 'Closed', 'Cancelled').

Capture

Derive this event by checking if all child PurchReqLine records for a PurchReqTable have a final status.

Event type calculated
Requisition Created
This event marks the initial creation of the purchase requisition record in a draft state. It is captured by identifying the creation timestamp of the purchase requisition header.
Why it matters

As the process start, this activity is essential for measuring overall requisition lifecycle time and analyzing daily requisition throughput volumes.

Where to get

This activity is inferred from the 'createdDateTime' field on the 'PurchReqTable' for each new Purchase Requisition ID.

Capture

Use the creation timestamp of the record in the PurchReqTable.

Event type inferred
Requisition Rejected
The requisition has been rejected during the approval workflow and will not be processed further. This represents a terminal failure state for the requisition.
Why it matters

This end event is critical for analyzing overall rejection rates and understanding the financial or operational impact of failed requests.

Where to get

Captured explicitly from the 'WorkflowTrackingStatusTable' upon workflow completion with a 'Rejected' status, which updates the 'PurchReqTable' status field.

Capture

Filter for workflow 'Completion' events with 'Rejected' status or track status change on PurchReqTable.

Event type explicit
Requisition Submitted for Approval
The user submits the completed requisition, which initiates the formal approval workflow. This is an explicit action logged by the system's workflow engine.
Why it matters

This activity is a critical milestone that begins the approval cycle. It is the starting point for measuring 'Requisition Approval Cycle Time' and 'First-Pass Approval Rate'.

Where to get

Captured from the 'WorkflowTrackingStatusTable' or a similar workflow history table, where a 'Submission' event is logged against the purchase requisition.

Capture

Filter workflow history logs for the 'Submission' or 'Start' event type tied to the requisition.

Event type explicit
Approval Step Rejected
An approver rejects their assigned task, typically sending the requisition back to the originator for correction. This is an explicit action logged by the workflow engine.
Why it matters

This activity is fundamental for calculating the 'Requisition Rejection Rate' and identifying at which stages rejections most often occur, highlighting areas for process improvement.

Where to get

Explicitly logged in the 'WorkflowTrackingStatusTable' when a user completes a work item with a 'Reject' outcome.

Capture

Identify 'WorkItemCompleted' events with a 'Reject' outcome in the workflow history logs.

Event type explicit
Approval Step Started
An individual approval task is assigned to a user or group as part of the workflow. This represents the beginning of a wait or processing time for a specific approver.
Why it matters

This activity is crucial for 'Approval Step Bottleneck Analysis', allowing measurement of queue times for specific approval stages.

Where to get

Captured from the 'WorkflowTrackingStatusTable' when a new work item is created and assigned for the requisition's workflow instance.

Capture

Identify 'WorkItemCreated' or similar events in the workflow history logs for the specific requisition.

Event type explicit
Requisition Amended
This event occurs when a user recalls a submitted requisition from the workflow to make changes. The activity is typically captured by identifying a recall action followed by a later resubmission.
Why it matters

Tracking amendments is key to identifying rework, unclear initial requests, and process inefficiencies. It directly supports the 'Requisition Amendment Frequency' dashboard.

Where to get

Can be inferred from the workflow history ('WorkflowTrackingStatusTable') by detecting a 'Recall' or 'RequestChange' action. It can also be inferred from changes to the 'modifiedDateTime' field on 'PurchReqTable' after submission.

Capture

Detect workflow recall events or record version changes between submission events.

Event type inferred
Requisition Line Closed
An individual line item on the purchase requisition is considered fully processed. This typically occurs after the line has been completely converted to a purchase order.
Why it matters

Provides granular detail on requisition fulfillment, helping identify if requisitions are partially or fully converted to purchase orders.

Where to get

Inferred from the status field on the individual 'PurchReqLine' table. A status indicating it is ordered or received would signify closure.

Capture

Monitor the status field on the PurchReqLine table for a terminal value like 'Invoiced' or 'Closed'.

Event type inferred
Requisition Withdrawn
The creator or an authorized user cancels the requisition after it has been submitted. This action terminates the workflow and the request.
Why it matters

Tracking withdrawals helps identify issues with demand planning or overly complex processes. This supports the 'Requisition Withdrawal Insights' dashboard.

Where to get

This is inferred from a status change on the 'PurchReqTable' to 'Cancelled' or from a 'Cancel' event in the 'WorkflowTrackingStatusTable'.

Capture

Detect status change to 'Cancelled' on PurchReqTable or a workflow cancellation event.

Event type inferred
Recommended Optional

Extraction Guides

How to get your data from Microsoft Dynamics 365