Skip to main content

Mission Control: Purchasing via Workflow - Knowledgebase / Mission Control / Mission Control Documentation - Cavallo Technical Support

Mission Control: Purchasing via Workflow

Authors list

With Mission Control's Workflow, users can choose between two different purchasing actions in the builder:

  • Create Purchase Order (Used for Dropships and Special Order)
    • This action attempts to create purchase orders for sales lines with valid purchasing codes, vendors, and remaining quantities above 0.
  • Purchase and Reserve (Used to fulfill qty remaining on sales lines)
    • This action attempts to create purchase orders for sales lines with a quantity remaining above 0 and automatically reserves inventory for the associated sales line.

The below document details examples explaining how to configure each of these options within Mission Control's workflow engine and how to utilize these actions while entering orders into Business Central.

Note: The Cavallo API must be configured correctly within Business Central before utilizing the above workflow actions. Documentation link: Mission Control in BC Configuration


Create Purchase Order

As mentioned above, this action is used hand in hand with purchasing codes in Business Central in addition to the requisition worksheet. If an item is configured with a primary vendor and a purchasing code is set to that line, the workflow engine will be able to generate a purchase order for that line. See the below setup for more information:


Prerequisites

  • Ensure items have a vendor code assigned within Business Central
    q8uz8Yqk6jJhJhrOjirByA8ZoEZi1DPZ.png?access_token=sncl93-elmbhcrufv-eea6e71a62cd6de3ff6f4bccd2cd82a2e9077ac1
  • Ensure the "Purchase Requisition Template" is set to REQ in Cavallo

28xIYQYvwYg2WVPOa3ZnwWkSuv9Rs9Am.png?access_token=sncl8y-wgqtpzytbo-115c73a529234e5efa3465b7f0b2686df5b75190

Workflow Configuration

This action can be located under either the on-entry or on-exit workflow actions menus in the Mission Control workflow builder.

SMpHHrn8NlmgddeSM4LZnmX7AM6rElbS.png?access_token=sncl8x-zepgrwydor-ad1fe670bc797f5977bb1657c810301583b2b648

Once located, the action can be configured to trigger an email out to the vendor automatically if desired.

Z0QftfnkWoM6SmHu2vZCiRiWJ4H5Q3Hc.gif?access_token=sncl90-rvqqbbbgil-5286355691eeed3892247921b62c0b3f03d90dc6

After the action is fully setup, remember to save and publish the workflow before running any testing:

CPCtBCbkH8UDdULv8GKklxdTDqQRdL0M.gif?access_token=sncl96-yscdyqqsrg-58c601b17987bb2c3faf6ee1adaa685f754242b9

Business Central Order Entry

To test the Create Purchase Order action, navigate to Business Central and initiate a new sales order.
4bmMvLH6rrh2CHhk71XmiQhmdqN9Eaw3.png?access_token=sncl95-csfqrwoqfh-295acc4ec25fbd15bddec7527c85c140b9d3764a

Notice in the above image, a purchasing code of "DROP SHIP" is selected and my item has a vendor preset on its item card for replenishment. Next, use the "submit" button to send this order to Mission Control's workflow engine. The workflow will evaluate the sales order against all conditions and run any actions in the process.

fLa1Uvw5VpLi9ukjDqdoFXVdfvtsVyPr.gif?access_token=sncl96-ppbaczygdu-8a94adc695b7c463ad9dff2a74cc8a3faa067554

Once the workflow action has ran, Cavallo will link the purchase order and sales line. This can be seen in several areas between the purchase order and sales order.

  • Sales Line Column (PO Number)

LLOoe0QQlSjXPdZuj5kPkP4qvkJgvdc1.png?access_token=sncl90-tjqbrninlv-1c05e42bbf1ba11c84d166b5db75f47932c1aeed

Clicking the PO Number will bring the user directly to the purchase order in Business Central.

  • Purchase Line Column (SO Number)

BFpKTzE5vXBoYvM9WClXq5gzNOSqZsB8.png?access_token=sncl92-qrrrawkvcc-10f97afb48a46f7f844a7331b1a9a77985682fbb

Clicking the SO number will bring the user directly to the sales order in Business Central.

  • Cavallo Document Status Factbox

0nPEkpi11J2bVt9C0cd4lMhawPiW5dyN.png?access_token=sncl96-odundyzfrs-0bfdb52316a6e3e6aa30340f27da4604e7f39bc9

Clicking the "View" button will open a window to see the list of open purchase orders for that sales document

6hhgdKJG01WFHZBrTgT3i2OsNgyrKTJm.png?access_token=sncl92-knrtpexivg-cd8ebe749923803c2b93ee4a7dcc3b4717ae547e


Purchase and Reserve

In Business Central, reservations are utilized as a way to allocate inventory to many different order types while allowing inventory numbers to remain accurate. With Mission Control's workflow engine, users can automate the reservation process and generate a purchase order for any quantity that couldn't be reserved due to inventory shortages.

Prerequisites

  • Utilizing reservations as primary method of inventory promising in Business Central

Workflow Configuration

Workflow can be setup in a number of ways for this action. The first portion of this section will focus on configuring the basic "Purchase and Reserve" workflow action, while the second portion will focus on using this action in conjunction with the "Has qty remaining" document status to ensure all sales line are purchased and fulfilled.

Purchase and Reserve

This action can be located under either the on-entry or on-exit workflow actions menus in the Mission Control workflow builder.

nOMgLk1wKgx9bLwWFYkrPd7zypet0PVs.png?access_token=sncl97-ofnedaqdtm-3c305754b15b5f858d9d96f2594de4e54e84d06b

Once located, the action can be configured to trigger an email out to the vendor automatically if desired.

kfwCV4O2Vqp9hdv9GuSZD8SxK7DkO9vB.png?access_token=sncl97-rmqttjvfph-9f36879d1811d4e8cbdc627ff23fd0a71601a829

After the action is fully setup, remember to save and publish the workflow before running any testing.

CPCtBCbkH8UDdULv8GKklxdTDqQRdL0M.gif?access_token=sncl96-yscdyqqsrg-58c601b17987bb2c3faf6ee1adaa685f754242b9

Once the workflow is published, the action will be active. This action utilizes Business Centrals purchasing logic to generate a purchase order for the quantity Business Central deems as demand and reserves that quantity back to the sales order.

Workflow Order Fulfillment

By integrating Mission Control's Document Statuses and Automatic Actions with the Purchase and Reserve function, you can streamline your order management. Sales lines with items in stock are directed to the warehouse, while backordered items automatically trigger purchase orders and reserve inventory for those backordered sales lines.

Configuration Steps

  • Once a sales order reaches the stage in the business process where the warehouse documents should be generated, the following actions can be configured.

xcdFfezkteIqIWqt276UJ5kVzJfy6eVi.png?access_token=sncl94-deqaitiaui-e9a2ac466f02d9d975458f1c943f93c17188ef43

Note: Other actions may be configured as well, but ensure inventory is reserved prior to creating the pick document

  • Next, in the same queue, configure an alternate path that will route back to a fulfillment queue. In the below example, if any of my sales lines have qty remaining after the reserve and pick process, the order is sent back up to "Needs Purchasing" .

KpwQSaqSje4B3iMyMLYMFBTgZfFLxRb5.png?access_token=sncl91-ovevfgnzld-673c94b71dde9ec3d5a7c5d17385b8a17f91b517

  • Finally, on-entry to the "Needs Purchasing" queue, the Purchase and Reserve action is set to trigger and email the newly generated Purchase Orders out to their respective vendors set on the item card.

QV1Q7NBEC0l3dShF4yCQ5fKTQBjD1HMb.png?access_token=sncl9a-mrnkounyer-312b93e4d77a4a4f572d6ba51410a5cb94ae324d

Automatic Order Fulfillment

In the above workflow configuration, each action is automatically ran when a user clicks the "submit" button to send a document to the Mission Control workflow. To make this process fully automated, simply apply Automatic Actions at each step of the workflow process looking for the desired document statuses.

kLZMOBMCFPcVJ2ho4InFvR3BIzeTj5th.png?access_token=sncl93-mmzbviykmu-8c9ae9720a2cfed41e5f7b5acaea5588ad3f8514

Note: This action looks for documents with the Has Qty Remaining status and submits them to workflow, moving them to the fulfillment queue and running all on entry actions for PO creation.


VN0UC0B8qSS8aZAXse3zsy487GqZ0GWA.png?access_token=sncl91-guuhbwklbq-1427abbe55adabdcd87a246cb9f6f8d4a8c8d1be

Note: This action looks for documents with the Full Received status and submits them to workflow, moving them back to the warehouse. This process generates new Warehouse Picks for the remaining sales lines if the correct actions are configured.

Business Central Order Entry

To test the Purchase and Reserve action, navigate to Business Central and initiate a new sales order and add sales lines.

snGjVkKpmv8OAqEMdvTRXP0R4SReuai0.png?access_token=sncl95-afjqbxbeni-f6f3650b0957dfe237d435933e3a49b9d2fbfd8f

In the above example, I have added a sales line with an item in stock and an item out of stock. Notice the Qty Remaining column will be automatically set to the full quantity as sales lines are added. The below image illustrates this, showing the "Has Qty Remaining" status is present on the order.

YM3AI1UxekyhKkhE7e2Md4h3MVtXoqQ7.png?access_token=sncl9b-ipxraisufo-034c898aeccab9bc8fe27dcc8cf28729ce119681

On the first submit to Mission Control's workflow, the automations will attempt to reserve all possible inventory to the sales lines and generate a warehouse pick for any inventory reserved. This action will also generate an open warehouse shipment as a byproduct of pick creation.

AembFNacOK6KKz0fKkHoS2xYJDxl7THq.gif?access_token=sncl99-cjsuvbrazu-40107bc419e0dca1a704cc9e551b4930105718dd

Images of the results are also below. This document is partially reserved and still has QTY remaining meaning on submit, workflow will attempt to purchase and reserve the remaining sales lines. BXV00RaHrG0U27q0gzDP9LQz4PvoWDoA.png?access_token=sncl9a-yhicctsoog-a2cc2ed273e7cc6b1ae7dd9fdd556a0519611d65

Additionally, on the sales lines there is still 150 Qty Remaining for part# 1980-S that requires fulfillment.

Lxe8ZF3mAMJD8OFJbONGvZ0FttESb9UI.png?access_token=sncl98-jhhhgmmeah-cbf60601796b745869a57a5f1459ce956d2064fa

Forwarding the document through workflow again will attempt to purchase and reserve the 150 qty.

TQ4HnN5a8bk9LTm48igx2pN87G7pO8ZI.gif?access_token=sncl93-fydcqfxrhi-69009933c1312daf5d88c5289108e67d832333ff

As seen in the below statuses, the document now has an Open PO that is directly linked to the sales order in question. The document has also transitioned to a fully reserved status.

h1M0CZ503jC0HsRvCiHX4g2fQLLQFTAc.png?access_token=sncl9c-eutajkjjaz-dbc7437a6a87543b4f5a0e9c180f792b2c0bd3f7

On the sales line view, all the inventory is accounted for and reserved.

hcocCu4X5Rajb7UVtrI83aVs9H6XrvYu.png?access_token=sncl96-kdwktwpvrp-3819e713bf62a584b3e8cfb837b5bbbbb152bd94

Lastly, once the purchase order is received, the document status will update to either Partially or Fully Received. This will allow any automatic actions that are configured to move the sales document along its process automatically, or a workflow submit can retrigger a new group of warehouse picks for the newly aquired inventory.

3xn1ZkKzcXc2GtKOuVAKFWSFewpM2qUI.png?access_token=sncl9a-bmqqtysbfs-058e03953b32c88aef1266eb6167f03877768a3d

AEyzUPdZCABji7PhS0ss3SVLs9a5JgSR.png?access_token=sncl97-daptqixlpe-4889702fed1865342c0bfe4dbc80a7c5ca9e0b37

As inventory arrives, the workflow automations allow warehouse documents to generate to continue the fulfillment process while ensuring the main sales document is in the correct workflow stage.


FAQs

1. Where is the submit button located?

  • If a submit button is not visible on screen, check under the actions menu for a "Cavallo" option. If the button is not under this menu, the Cavallo API may not be configured correctly. Please reach out to [email protected] for assistance.

2. Where can I find the PO Number and SO Number Fields?

  • By default, the PO number field can be found in the sales line personalization menu on sales order and the SO number field can be located in the purchase line personalization menu for Purchase Orders. This is a field pushed to Business Central via Cavallo.

3. Where is the Qty Remaining field?

  • By default, the Qty Remaining number field can be found in the sales line personalization menu on sales orders. This is a field pushed to Business Central via Cavallo.

4. How is Qty Remaining calculated?

  • Qty Remaining is calculated using base Business Central fields:
    • Qty Remaining = Outstanding Qty - Reserved Qty


Helpful Unhelpful