Walkthrough 6: Repricing customers after a supplier increase
Trade agreement governance: sales price agreements gated by a price guard, a Block floor that cannot be approved, a Route floor and backdated dates that go to a senior approver, and posting only once the approval covers exactly what is posted.
This is a fictional story. The company, the people and the numbers are invented. What Warden does at each step has been checked against the
MGCWardenmodel; where something could not be confirmed, the text says so. See the walkthroughs index for the cast and the rules these stories follow.
The situation
Ashgrove Fasteners distributes industrial fasteners (bolts, nuts, anchors and certified aerospace hardware) to manufacturers. Most customers buy at customer-specific prices held as sales price trade agreements, maintained through trade agreement journals by a two-person pricing team. Its accounting currency is pounds sterling.
The people in this story:
| Person | Job | Warden role or grant |
|---|---|---|
| Emery Collins | Pricing manager | Warden guard administrator (writes price guard policies) |
| Lane Whitaker | Pricing analyst | Their own pricing role, plus the duty Submit trade agreement journals for price governance approval |
| Sage Holloway | Commercial controller | Their own role, plus the duty Decide Warden trade agreement price approvals |
| Darcy Fenwick | Finance director | Warden controls owner, plus the same approval duty |
The problem
Ashgrove's main steel fastener supplier announced a 9 per cent increase from 1 December. Last time this happened, the repricing journal had 600 lines and was posted by the analyst who keyed it. Two problems surfaced weeks later: several lines had been keyed from an old price list and sold below cost for a month, and one customer's prices had been backdated, so orders already invoiced were re-rated. Nobody had seen either before posting, because posting a trade agreement journal needs no approval in standard Dynamics 365.
Ashgrove wanted three things: prices below a margin floor seen by someone senior before they are posted; a hard stop on certified aerospace parts, which are sold under contract floor prices; and backdated prices approved at a higher level than ordinary ones.
What they decided
Emery entered two policies on System administration → Setup → Price guard policies.
PG-GEN, for general fasteners:
| Setting | Value |
|---|---|
| Floor basis | Minimum markup on cost percent |
| Floor value | 15 |
| Violation posture | Route |
| Effective-date approval step | CFO |
| Backdating grace (days) | 7 (the default) |
| Scope | Item code Group (the general fasteners item group), Customer code All, Priority 10 |
PG-AERO, for one certified part sold under a contract floor:
| Setting | Value |
|---|---|
| Floor basis | Fixed floor price |
| Floor value | 1.85 |
| Violation posture | Block |
| Effective-date approval step | None |
| Scope | Item code Table (item AB-M8-CERT), Customer code All, Priority 5 |
The scopes do not overlap, so each line is measured by one policy.
What the settings mean:
- Minimum markup on cost percent is measured against the item's unit cost as (price − cost) ÷ cost × 100. A floor of 15 means the price must be at least 15 per cent above cost. This is markup on cost, not the margin on revenue that sales governance's Margin percent measures. A line with no positive unit cost is not measured. The option was labeled Minimum margin percent until wave 26 (2026-11-06); only the label changed.
- Route: a line below the floor gates the journal and sends it for approval; once approved, it posts. Block: a line below the floor is refused at posting, no approval is offered, and only correcting the price lets the journal post. Annotate would record the breach and let the journal post.
- Effective-date approval step switches on the date check. A line is retroactive when its from-date is earlier than today minus the backdating grace, or it overlaps an agreement already posted for the same scope. Such a journal is gated and routed through the same approval workflow, stamped with the step named here. None, the default, leaves dates unchecked.
They also agreed:
- Workflows. A Warden price guard policy activation workflow assigned to Darcy, and a Warden trade agreement approval workflow whose step conditions read the Required approval step Warden stamps on each gated journal: journals stamped CFO go to Darcy, others to Sage.
- Who submits. Lane's pricing role gets the submit duty. Anyone who posts a trade agreement journal natively also triggers the evaluation, and is recorded as the submitter.
- Feature. Warden Trade Agreement Governance is on by default. Ashgrove confirmed it was on.
Emery submitted both policies for activation and Darcy approved them.
Walking through it
1. Lane builds the repricing journal
The week before, Ashgrove's cost accountant updated the items' cost prices for the supplier increase. On 24 November Lane creates a trade agreement journal, TAJ-000318, with 420 sales price lines: every general fastener for 31 customers, up 9 per cent from 1 December. While building it Lane also:
- holds four lines for one customer, Kellen Agricultural, at this year's price, because Kellen's contract gives price protection until 31 December;
- sets the from-date of twelve lines for another customer, Barrow Marine, to 1 November, because Barrow agreed new prices on that date and the paperwork has only just been signed;
- keys the certified part
AB-M8-CERTfor one customer at £1.79, from a quotation that predated the contract floor.
Warden does nothing while Lane edits. Trade agreement journals are evaluated when they are submitted or posted, not as each line is saved.
2. Submit, and a Block breach
Lane presses Submit for price governance approval on the journal. Warden measures every line against the policies in force and replies:
Trade agreement journal TAJ-000318 breaches the Warden price guard: 1 price line(s) are below a floor whose policy posture is Block. A Block-posture breach cannot be approved, so no approval has been requested and the journal has not been gated: it will be refused at posting until those prices are corrected, and it can still be edited. The breached lines, their floors and the policy versions are on this journal's Warden governance event log. A further 4 line(s) are below a floor whose posture is Route. They have not been routed yet; submit again after correcting the Block-posture prices and they will be. 12 line(s) have retroactive or overlapping effective dates that need approval. They have not been routed yet either.
Nothing is routed while a Block breach stands, because no approver could approve it. Lane checks the
event log, finds the AB-M8-CERT line, and corrects it to the contract price of £1.95.
3. Submit again: gated and routed
Lane presses Submit for price governance approval again. This time:
Trade agreement journal TAJ-000318 breaches the Warden price guard: 4 price line(s) are below their policy floor. The breached lines, their floors and the policy version are on this journal's Warden governance event log. The journal has been gated and routed for price governance approval. It cannot be posted until that decision is taken, and its header cannot be changed. Its lines can still be edited, but the approval covers the journal as it was submitted: a journal changed after this is measured again against the price guard when it is posted. You do not need to submit it again.
The message also carries a note on the twelve date findings. Behind the scenes Warden writes a gate for the journal, records Lane as Submitted by, stamps Required approval step CFO because of the date findings, and starts the Warden trade agreement approval workflow, which the step condition sends to Darcy.
Submit
|
+-- any Block line below floor ---> refused, nothing gated, fix and submit again
|
+-- Route lines below floor \
+-- retroactive / overlapping > --> journal gated, step stamped, approval started
|
+-- nothing found -------------> "passed" (not a permit: measured again at posting)
4. What "cannot be changed" covers
Lane tries to change the journal's description on the header and save. The save is refused:
Trade agreement journal TAJ-000318 is gated by Warden price governance; changes and posting are blocked until the gate is released.
The gate covers the journal header and posting. It does not stop Lane editing a line while the approval is pending. That is by design: the approval is stamped against the content that was submitted, so a line changed afterwards makes the approval stale the moment it is granted, and the journal is measured again from scratch when it is posted. An edit cannot slip a change past the approver; it can only make the approval useless. Lane leaves the lines alone.
5. Darcy reviews the changes
Darcy opens the work item. On System administration → Setup → Trade agreement gated journals the journal's row shows Trade agreement surface, Violations 4, Effective-date findings 12, Required approval step CFO, Gated Yes and Last evaluated. The Price changes for approval panel lists each changed line with Current price, New price, Change and Change %, and the current and new from and to dates.
Screenshot to add: Price changes for approval for TAJ-000318, showing the four Kellen lines with Current price equal to New price, and the twelve Barrow lines with New from date 1 November.
Darcy checks Kellen's contract clause and Barrow's signed agreement dated 1 November, and presses Approve.
At approval Warden runs its approve-time checks. Lane, as submitter, could not have approved it: the two-person check compares the approver with the recorded submitter. The signing-limit check does not apply: Warden records that a trade agreement journal sets prices and discounts, approving it commits no document value, so no signing limit applies. When the workflow completes, Warden records the approved content and clears the gate. See the approver's guide.
6. Lane posts
Lane posts the journal. At posting Warden measures it again, finds that the approval covers exactly the content being posted, and lets the native posting run. The new prices take effect from 1 December, and Barrow's from 1 November.
Had Lane edited a line after submitting, the approval would not have covered the journal as posted, and Warden would have measured it again from scratch. With the four Kellen lines still below the floor, it would have refused the posting, gated the journal and routed it for a fresh approval.
7. A policy changes before another journal is posted
In January Emery raises the PG-GEN floor to 18 per cent through New version, and Darcy
activates it. One approved journal from December is still unposted. A policy change does not by
itself cancel an approval already given. When the Trade agreement approval sweep next runs, it
marks that journal's approval as superseded (Approval superseded is filled in) because the
policy set it was approved under has changed, so the journal is measured against the new floor
when it is posted. See
trade agreement governance sweep.
The outcome
- The certified part could not be posted below its contract floor, and nobody could approve it past the floor.
- Prices below the margin floor were posted only after the finance director had seen them and approved them, and the reason is on record.
- The backdated prices went to the higher approver, as the policy said.
- Posting stayed native. Warden decided whether the journal could post; it did not post it.
Warden did not check whether the 9 per cent increase was right, or whether price protection for Kellen was a good commercial decision. It made sure the exceptions were seen by the right person before they took effect.
What this story simplified
- Sales prices only. The price guard governs sales price agreements, with a customer axis. Purchase price agreements are not governed by it.
- Unified pricing management. Prices maintained through unified pricing management have no enforcement point in this build and are ungoverned.
- No signing limits. This story originally set out to show signing limits at approval time. For trade agreement approvals Warden deliberately applies none, so that part of the story is in walkthrough 1, where purchase order approvals are limited.
- Posting from inside another process. A journal posted from inside another process's transaction is refused rather than gated, with a message saying no approval has been raised. Post from the trade agreement journal form.
- Deleting a gated journal. Deleting a journal while it is gated releases its gate.
- Approver duties. Warden ships the trade agreement approval duty on the Warden guard administrator role as a floor, and the submit duty on the Warden controls owner role. Ashgrove moved both to its own roles. See the security model.
- A failed workflow start. If the approval workflow cannot be started, the journal is still gated, the failure is listed on the execution exceptions workbench with a Retry action, and the Warden trade agreement route drain raises the approval once the cause is fixed. See route drains.
- Message text. The quoted messages show Warden's wording with this story's journal number; the date-finding note appended in step 3 is not quoted.