/
/
Choose a supplier on cost and delivery, not habit
For buyers who want every Dynamics GP vendor for an item compared on cost trend, lead time and on-time delivery, by asking their AI assistant.
On this page
Connector
Connect Microsoft Dynamics GP, pick your AI tool and paste the prompt.
The problem
Suppliers chosen by habit, not by evidence
Choosing a supplier for an item in Dynamics GP usually comes down to whoever was used last. Comparing cost trends, lead times and on time delivery means matching orders to receipts by hand.
Without PopdockAI
- List the vendors set up for the item
- Pull receipts to build a cost history
- Match purchase order lines to receipts for lead time
- Pick the last vendor used because comparing takes too long
With PopdockAI
- Every vendor for the item is read, setting aside held or inactive ones
- Receipts give cost history and trend
- Orders are matched to receipts for actual lead time and on time share
- A short recommendation names the cost and reliability trade-off
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Compare the vendors that supply item `{item-number}` on cost and delivery over the last `{lookback-days}` days (default 365) and recommend where to buy it.
Pass `{company}` as `company` on every call (if it is empty, omit `company` and the default company is used). Pass a generous `max-records` (1000). If a result comes back with exactly that many rows, say the result may be truncated.
**Step 1: Vendor setup**
Call `dynamics-gp-get-iv-vendor-item` by `item-number`: each `vendor-id`, vendor item number, `last-receipt-cost`, `average-lead-time`, `minimum-order-quantity`, `economic-order-quantity`. Call `dynamics-gp-get-pm-vendor` for those vendors and drop any on `hold` or inactive, noting them.
**Step 2: Receipt history**
Call `dynamics-gp-get-iv-purchase-receipt` by `item-number` with `date-received.from` at the lookback. Per vendor: receipts, quantity, average and latest `unit-cost`, and the cost trend from first to last receipt.
**Step 3: Delivery**
Call `dynamics-gp-get-pm-purchase-order-line` by `item-number` and `dynamics-gp-get-pm-receivings-trx-line` by `item-number` over the lookback. Match by `po-number`: actual lead time = receipt date minus PO document date, and on-time = received by `required-date`. Per vendor: average actual lead time and on-time share.
**Step 4: Report**
A table per vendor: vendor, latest cost, average cost, trend, stated lead time, actual lead time, on-time share, minimum order, status. Then a one-paragraph recommendation that names the trade-off (cheapest against most reliable).
**Rules & Guidelines:**
* This prompt is read-only. Do not call any tool whose name does not contain `get` (no add, update, note or email tools).
**Validation:**
* If the item has only one vendor, say it is single-sourced and report that vendor's performance only.
* If the item has no vendor records, say so and stop.Who it's for
One answer, three teams that use it
Buyers
Pick the right vendor for the next order
One row per vendor with cost, stated and actual lead time and on time rate helps you place the next order with confidence.
Which vendor should we buy item LP-10 from? Compare them in Dynamics GP over the last year.
Procurement managers
Find single sourced items
Items with only one active vendor are called out, so you can line up an alternative before there is a supply problem.
Is item CART-12 single sourced in Dynamics GP, and how reliable is that vendor?
Supply chain planners
Plan on real lead times
Actual lead times from orders and receipts replace the stated ones, so reorder points are set on what really happens.
What are the actual lead times for each vendor of item SD-200 in Dynamics GP compared with what they quote?
How it works
What PopdockAI does when you ask
You name the item and a lookback window, and your AI assistant measures each Dynamics GP vendor on cost and delivery. It reports and recommends, and changes nothing.
01
Ask
You name the item and a lookback window.
02
Read
It reads the item's vendors, setting aside those on hold or inactive.
03
Measure
It reads receipts for cost trend and matches orders to receipts for lead time.
04
Report
You get one row per vendor and a recommendation on the trade-off.
What PopdockAI provides
The tools behind the answer
Ready made tools for Microsoft Dynamics GP and one secure connection to your AI tool. No code, no exports.
microsoft-dynamics-gp-get-iv-vendor-item
microsoft-dynamics-gp-get-pm-vendor
microsoft-dynamics-gp-get-iv-purchase-receipt
microsoft-dynamics-gp-get-pm-purchase-order-line
microsoft-dynamics-gp-get-pm-receivings-trx-line
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
Source each item on cost and delivery evidence
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
