Run a vendor deal
Outcome. Vendor deal money (a supplier rebate on purchases, a supplier's share of a customer program, or a payable to a carrier or broker on your sales) is in force, accrued as documents post, raised as a vendor claim, approved, and posted and settled by accounts payable. Who takes part: Deal manager, Deal approver, Order taker, Accountant, Accounts payable, Claims approver. How often: per vendor deal; stages 3 to 8 repeat for every order and settlement cycle while the deal is in force.
This guide assumes Earmark is set up (see Set up Earmark) with Vendor deals and the shapes you use switched on, Vendor proposal journal name set to an Invoice register journal name, and, for supplier rebates without Purchase price build-up, Headless auto-attach on purchase lines on (see I want to set the vendor deal settings and the configuration reference). A supplier-funded program also needs Customer deals, and its customer side runs as in Run a customer deal.
Supplier rebates and sales-triggered vendor accruals post through the posting profile's Accrual, Accrual offset, Claim and Claim offset rows, as customer deals do (or through the deal's own posting rows). Only the vendor side of a supplier-funded program uses the profile's Program funding receivable and Funding recovery rows; the profile's other vendor posting types are not used by any posting.
1. Write, target and submit the deal (Deal manager)
Pick the right shape. A supplier rebate is a vendor deal targeting the vendor and items, claimable by Vendor. A sales-triggered vendor accrual is a vendor deal with a Funding vendor, targeting the items and the customers whose sales trigger it; Submit refuses it until it names one. A supplier-funded program is not a vendor deal: it is funding rules on a customer deal, added while it is in Planning.
- I want to create a supplier rebate
- I want to create a sales-triggered vendor accrual
- I want to add funding rules for a supplier-funded program
- I want to target items, groups or categories and customers or vendors
- I want to check a deal before I submit it
- I want to submit a deal for approval
Done when: Validate accounts shows an account for every movement type, and Deal status reads Pending approval.
2. Approve the deal (Deal approver)
Vendor deals and funded customer deals go through the same deal approval workflow as any deal. Funding rules are approved with their customer deal.
- I want to find the deals waiting for my approval
- I want to review a deal before I approve it
- I want to approve a deal
- How the approval runs: Approval workflows
Done when: Deal status reads Approved.
3. Attach the deal to order lines (Order taker)
A deal accrues only on lines it is attached to. A supplier rebate attaches to a purchase order line when the Purchasing agent selects Build price (only while Purchase price build-up is on), or by itself just after each purchase order line is created when Headless auto-attach on purchase lines is on. A sales-triggered vendor accrual and a supplier-funded twin attach when the Sales clerk builds the sales order line's price; a twin is not created, with a warning, while the posting profile lacks its vendor-side rows. A supplier rebate leaves the purchase price at what the vendor bills unless its price mode resolves to Gross-up (the deal's own mode while Allow per-deal price mode is on, else Purchase price mode default on the Vendor deals tab of Earmark parameters). Then post the product receipt, vendor invoice or packing slip as usual.
- I want to build a price on a purchase order line
- I want to build a deal price on a sales order line
- I want to see the accruals on a purchase order
- I want to know when an accrual will appear
- How the automatic attach runs: Inbound auto-pricing and headless auto-attach
Done when: the line's Accrual instances lists a commitment for the deal (for a funded program, a second one for the funding vendor beside the customer's), and once the document posts, Accrual event queue has a row for it.
4. Turn documents into posted accruals (Accountant)
The Accrual event processor turns each queued event into an accrual with its own Earmark journal: the supplier's rebate for a supplier rebate, the funding vendor's payable for a sales-triggered accrual, and, for a funded program, the supplier's share, which Earmark posts in a session of its own straight after the customer's accrual. Post any journal held for review, and check that funded programs stay in step.
- I want to process queued accruals now
- I want to post Earmark journals that are held for review
- I want to read the accruals on an order or a return
- I want to check mirror links and pairs
- How the jobs run: Accrual event processor, Post automatically
Done when: the movement on Accrual transactions reads Posted; for a funded program, Mirror transaction pairs shows the vendor-side voucher beside the customer one, and Mirror links reads In step, or Capped once the funding rule's cap has stopped the supplier's share (a verdict, not a failure; Capped headroom shows the headroom before that accrual was clipped, not what is left).
5. Raise vendor claims (Accounts payable)
The Accounts payable manager runs vendor settlement, first as a preview, then for real: it raises one vendor claim per vendor, currency and direction (money the vendor owes you is kept apart from money you owe the vendor) for the accrued vendor money up to Period end, and, where Post automatically is on for Claim, posts each claim's journals and submits it for approval. The vendor side of a funded program is claimed only this way; supplier rebates and sales-triggered accruals can also be claimed with Generate claims.
- I want to preview a vendor settlement
- I want to run vendor settlement
- I want to read past vendor settlement runs
- I want to retry or dismiss a failed Earmark operation
- How the run works: Run vendor settlement, Generate claims
Done when: the run is listed on Vendor settlement runs with status Completed and the number of claims it raised, and each of those claims reads Pending approval (or Open when its claim journal is held for review; see stage 6). A run that reads Completed with exceptions has a Vendor settlement run item row on Earmark execution exceptions, which the Accounts payable manager retries once the cause is fixed; that retry marks the row Resolved whenever it does not fail, even if it raises no claim (at the license block date, for example), so check the vendor's claims afterwards. On production at the license block date a run is still logged Completed, with no claims.
6. Post held claim journals and submit (Accountant, Accounts payable)
For a claim still Open, because the run found its claim journal held for review or the claim came from Generate claims (which never submits): the Accountant posts any held claim journal, then the Accounts payable manager submits the claim.
- I want to post Earmark journals that are held for review
- I want to know why a vendor claim from the run is still Open
- I want to submit a vendor claim for approval
Done when: the claim's Posting status reads Posted and its Claim status reads Pending approval.
7. Approve the vendor claim (Claims approver)
Approval works as for a customer claim, but nothing posts to the vendor: each line's credit is written as a proposal on an Invoice register journal, its line left unapproved, for accounts payable to decide. A vendor claim's approval never posts automatically, whatever the posting settings say. An approver whom segregation of duties does not allow is refused before the work item completes, and passes it to another approver.
- I want to find the claims waiting for my approval
- I want to approve a claim
- I want to follow a vendor claim I approved
- How the approval runs: Approval workflows
Done when: Claim status reads Approved, each line's Posting status reads Proposed, and the claim is listed on Accounts payable > Earmark > Vendor proposals awaiting AP.
8. Post and settle the proposal (Accounts payable)
The Accounts payable clerk reviews each proposal journal on Invoice register, approves its line and posts it, or deletes it and later re-proposes it. Only the money-neutral parts of a proposal can be changed. Once it posts, settle the vendor transaction in standard accounts payable settlement.
- I want to see the vendor claim credits waiting for accounts payable
- I want to find the proposal journal for a vendor claim
- I want to review and post a vendor claim proposal
- I want to know what I may change on a proposal
- I want to reject a vendor claim proposal
- I want to propose a deleted proposal again
- I want to settle a posted vendor claim credit
Done when: every line's Posting status reads Posted, the claim has left Vendor proposals awaiting AP, and the vendor transaction with the line's Approval voucher is settled.
If something goes wrong
- A supplier rebate did not accrue on a receipt: no deal may be attached to the line. An automatic attach that fails can leave the line unattached without a workbench row; see I want to see the accruals on a purchase order and I want to see why an accrual did not happen.
- A funded program is out of step: I want to check the mirrors of a supplier-funded program.
- A Mirror vendor-side movement row is on the workbench: Retry selected on it pairs the commitment's newest movement, which may not be the one that failed, so it can close the row while the vendor side is still missing. The next accrual processed on that commitment pairs every customer movement that has no vendor side yet; check Mirror transaction pairs after either.
- A sales line of a funded program is unbuilt: Unbuild ends the customer commitments only; the vendor-side twin on the line is not ended.
- A vendor claim is missing after a settlement run: I want to find a vendor claim missing after a settlement run.
- An approved vendor claim has no proposal: I want to know why an approved vendor claim has no proposal.
- Re-propose vendor journal is refused: I want to know why Re-propose was refused.
- An approved vendor claim must be undone: the Accounts payable manager reverses it (I want to reverse an approved vendor claim), and accounts payable posts any reversal proposal (I want to post the reversal of a vendor claim approval).
- A settlement run item or a journal post failed: the Accounts payable manager fixes the cause and retries the row (I want to retry or dismiss a failed Earmark operation).
- An operation failed in the background: Respond to a failure.