/
/
See where scrap costs the most, by item and order
For production teams who want Dynamics GP manufacturing scrap totalled by item and order, by asking their AI assistant.
On this page
Connector
Connect Microsoft Dynamics GP, pick your AI tool and paste the prompt.
The problem
Scrap is recorded but never added up
Scrap in Dynamics GP manufacturing is recorded on work in process, but nobody adds it up by item and order. Without totals and rates, the orders losing the most material go unnoticed until margins slip.
Without PopdockAI
- Export work in process for the period
- Total scrap quantity and value by item and order
- Work out scrap rates in a spreadsheet
- Look up order details for the worst ones
With PopdockAI
- Work in process is read for the period
- Scrap rate and value are worked out by item and order
- The ten worst orders come with description, status and dates
- Items over 5 percent are listed, and no causes are invented
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Measure manufacturing scrap between `{from-date}` (default 90 days ago) and `{to-date}` (default today) for item `{item-number}` (default all) and identify where it is worst.
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: Work in process**
Call `dynamics-gp-get-mfg-work-in-process` with `wip-in-date.from` and `wip-in-date.to` (and `item-number` when given). Per row: `wip-quantity-in`, `wip-quantity-out`, `scrapped-quantity`, `unit-cost`, `material-unit-cost`, `labor-unit-cost`.
**Step 2: Measure**
* Scrap rate = scrapped quantity divided by quantity in.
* Scrap value = scrapped quantity times unit cost.
* Totals by `item-number` and by `manufacturing-order-number`.
**Step 3: Context**
For the ten orders with the highest scrap value, call `dynamics-gp-get-mfg-order` by `manufacturing-order` for description, status, `bom-type` and dates.
**Step 4: Report**
Headline scrap value and rate, a table by item (quantity in, scrapped, rate, value), the ten worst orders with context, and items whose scrap rate exceeds 5 percent.
**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).
* The tools do not record scrap reasons. Do not invent causes.
**Validation:**
* If there is no work in process in the period, say so and stop.Who it's for
One answer, three teams that use it
Production managers
Target the worst scrapping orders
The orders with the highest scrap value are listed first, so improvement starts where the loss is biggest.
Which Dynamics GP manufacturing orders had the most scrap value last month?
Plant controllers
Put a number on scrap
Headline scrap value and rate for the period give finance a clear figure to track.
What was our total scrap value and rate in Dynamics GP manufacturing for Q2?
Quality engineers
Find items scrapping over 5 percent
Items with high scrap rates are flagged, so process reviews focus on the right products.
Which items scrapped more than 5 percent in Dynamics GP manufacturing this year?
How it works
What PopdockAI does when you ask
You give a date range and optionally an item, and your AI assistant measures scrap from Dynamics GP manufacturing. It reports and changes nothing.
01
Ask
You give a date range, and optionally an item.
02
Read
It reads work in process for the period.
03
Measure
It works out scrap rate and value by item and manufacturing order.
04
Report
You get the worst orders and items scrapping over 5 percent.
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-mfg-work-in-process
microsoft-dynamics-gp-get-mfg-order
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
Know where scrap costs the most
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)
