Loading...

Dynamics 365 Field Service : Create purchase orders

Dynamics 365 Field Service : Create purchase orders

A Purchase Order (PO) in Dynamics 365 Field Service allows organizations to manage the procurement of products and services needed for work orders, inventory replenishment, or customer delivery.

 When is it used?

  • Stock levels in warehouses or vans are below minimum thresholds.
  • Field agents require parts to fulfill work orders.
  • A customer requests parts that are not in stock (backorder).
  • To maintain vendor relationships and track external purchases.

Typical Flow:

1. Detect need for replenishment

  • System detects stock levels below reorder point.

2. Create Purchase Order

  • A PO record is created and linked to a vendor and warehouse.

3. Submit for approval (optional)

  • Some businesses configure approval workflows.

4. Receive Products

  • When vendor ships items, receiving is recorded.

5. Adjust inventory

  • Stock levels are updated once the items are received.

Technical Components & Dataverse Tables


Relationships

  •  Purchase Order → Vendor (N:1)
  •  Purchase Order → Warehouse (N:1)
  •  Purchase Order → Purchase Order Products (1\:N)
  •  Purchase Order Product → Product (N:1)

Out-of-the-box Configuration Steps

Create a Purchase Order

1. Navigate to Field Service > Inventory > Purchase Orders.

2. Click + New.

3. Enter:

  • Vendor
  • Warehouse
  • Status = Draft (initial)

4. Add Products:

  • Select products, set quantities.

5. Submit for approval (if workflows enabled).

6. Change status to Submitted or Approved.

7. When items arrive, set status to Received.

Technical Flow: Under the Hood

Here’s what happens step by step:

User creates PO (UI / API)

  •  Record inserted into `msdyn_purchaseorder`.
  •  Plugins validate:
    •    Vendor existence.
    •    Warehouse association.
    •    Correct price lists.

Add products

  •  For each product, a record is created in `msdyn_purchaseorderproduct`.
  •  Quantity, unit price, tax calculated.

Status change triggers workflows

  • Draft → Submitted:
    • Triggers Power Automate Flow or plugin for approval.
  •  Submitted → Approved:
    •  Locks PO for editing.
    •  Approved → Received:
  • Automatically creates `msdyn_inventoryadjustment` records.
  • Stock levels updated in `msdyn_productinventory`.

Adjust Inventory

 When PO is received, system:

  • Creates inventory transaction records.
  • Updates warehouse stock.

Security Roles

  •  Field Service Admin: Full CRUD
  •  Field Service Dispatcher: Read, create
  •  Field Technician: View-only

Gotchas (Important Points)

  • Vendor must be linked to a price list.
  • Warehouse must have capacity defined.
  • Multi-warehouse scenarios need separate POs per warehouse.
  • Work order-linked POs automatically reserve inventory for the work order.
  • Plugins/Flows should handle partial receipts (not all products delivered at once).

Customization Ideas

  •  Auto-create POs when stock falls below threshold (plugin or Power Automate).
  •  Integrate directly with supplier APIs (EDI, XML, JSON).
  •  Add custom fields like Expected Delivery Date, Shipping Costs.
  •  Dashboard for procurement analytics (PO status, vendor performance).

Published on:

Learn more
Power Platform , D365 CE & Cloud
Power Platform , D365 CE & Cloud

Dynamics 365 CE, Power Apps, Powerapps, Azure, Dataverse, D365,Power Platforms (Power Apps, Power Automate, Virtual Agent and AI Builder), Book Review

Share post:

Related posts

Dynamics 365 Field Service – Tailor Copilot chat experience with Copilot Studio

We are announcing the ability of makers being able to customize their experience of the Copilot side pane by using the customization capabilit...

13 days ago

Fixed – Workflow must be in Published state (Dynamics 365 Field Service)

Recently, we got the following error while booking a resource in our schedule board. We earlier got the same error while trying to delete book...

22 days ago

Workflow must be in Published state while deleting the Bookings / Work Orders (Dynamics 365 Field Service)Workflow must be in Published state

Recently we were cleaning some of the work orders and related records in one of our environments. However when trying to delete the bookable r...

1 month ago

Mastering the Schedule Assistant in Dynamics 365 Field Service

In the dynamic world of field service management, assigning the right technician to the right job at the right time is both a science and an a...

1 month ago

Fix – The FnO Integration solution install failed. HCMScheduling and HCMSchedulingAnchor solutions must be installed. See Field Service documentation for details (Dynamics 365 Field Service)

While trying to install Finance and Operations from Field Service Settings, we might encounter the following error. “The FnO Integration solut...

1 month ago

Unlocking Scheduling Efficiency: A Deep Dive into Schedule Board & Schedule Assistant in Dynamics 365 Field Service

In today’s fast-paced service industry, scheduling the right technician at the right time is key to providing excellent customer service and m...

1 month ago

Study Guide for Exam MB-240: Microsoft Dynamics 365 Field Service Functional Consultant

Microsoft Dynamics 365 Field Service Functional Consultant (MB 240) Skills at a glanceConfigure field service applications (20–25%)Manage...

1 month ago

Dynamics 365 Field Service : Embed apps in Field Service

In today’s fast-paced field service environments, technicians and back-office staff need highly tailored tools to perform their work efficient...

1 month ago

Dynamics 365 Field Service : Use Power Automate cloud flows to automate tasks and enhance Field Service

The field service landscape is evolving fast. Customers demand quicker responses, technicians need seamless access to information, and busines...

1 month ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy