Purchasing Full-Cycle Example: Procure-to-Pay End-to-End
This worked walkthrough traces one procurement cycle across Purchase, Inventory, and Accounting—covering a Blanket Purchase Agreement, competing Alternative RFQs, partial warehouse receiving with a backorder, a 3-way matched Vendor Bill, bank settlement, and a defective-unit return.
Business Scenario and Starting Data
Section titled “Business Scenario and Starting Data”| Parameter | Worked Example Value |
|---|---|
| Blanket Agreement | PA00001 (PT Global Komponen Indonesia, [ELK-MON24] Monitor 24 inci, Qty 20 @ $120.00) |
| Winning RFQ / PO | PO00023 (Baja Sentosa Abadi, [ELK-MON24] Monitor 24 inci, Qty 10 @ $50.00 = $500.00) |
| Alternative RFQ | PO00024 (PT Global Komponen Indonesia) compared side by side before awarding PO00023 |
| Warehouse Receipts | Partial delivery Main/IN/00026 (6 units) + Backorder Main/IN/00027 (4 units) = 10 received |
| Vendor Bill & Payment | BILL/2026/11/0022 ($500.00, Purchase Match: Matched) settled via PBNK1/2026/00032 |
| Return Case | 1 defective monitor returned to vendor via Main/OUT/00024 |
Step 1: Set Up a Purchase Agreement and Compare Alternative RFQs
Section titled “Step 1: Set Up a Purchase Agreement and Compare Alternative RFQs”- Create a Blanket Agreement (
PA00001):- Open Purchase → Orders → Purchase Agreements and click New.
- Select Vendor
PT Global Komponen Indonesia, add[ELK-MON24] Monitor 24 incifor20units @$120.00, click Save, and Confirm.
- Raise an RFQ (
PO00023) and Competing Alternative (PO00024):- Open Purchase → Orders → Requests for Quotation → New.
- Choose Vendor
Baja Sentosa Abadi, add[ELK-MON24] Monitor 24 inci, Quantity10, Unit Price$50.00(Total$500.00), and Save (PO00023). - Click Alternative, select a same-company vendor (
PT Global Komponen Indonesia), and createPO00024. - Open Compare Product Lines to review competing unit prices side by side before awarding
PO00023.


Step 2: Confirm the Purchase Order (PO00023)
Section titled “Step 2: Confirm the Purchase Order (PO00023)”- Open the winning RFQ
PO00023($500.00, below the$5,000second-approval threshold) and click Confirm Order. - Verify the immediate outcomes:
- Status moves from RFQ to Purchase Order.
- ERPForAll locks vendor and currency and generates incoming Receipt
Main/IN/00026(Vendors → Main/Stock, Demand10), accessible from the1 Receiptsmart button.

Step 3: Receive a Partial Shipment and Validate the Backorder
Section titled “Step 3: Receive a Partial Shipment and Validate the Backorder”Suppose only 6 of the 10 monitors arrive on the first truck:
- Click
1 ReceiptonPO00023to openMain/IN/00026. - Switch to Detailed Operations, update Quantity / Done to
6, and click Validate. - On the Remaining demand dialog, click Create Backorder.
Main/IN/00026moves to Done (+6units inMain/Stock).- ERPForAll creates linked backorder
Main/IN/00027(Ready, Demand4,Back Order of Main/IN/00026). - Returning to
PO00023shows Received Qty =6and2 Receipt.
- When the remaining
4units arrive, openMain/IN/00027, verify4units, and click Validate.PO00023updates to Received Qty =10and billing status Waiting Bills.

Step 4: Generate and Confirm the 3-Way Matched Vendor Bill (BILL/2026/11/0022)
Section titled “Step 4: Generate and Confirm the 3-Way Matched Vendor Bill (BILL/2026/11/0022)”- On
PO00023(nowReceived Qty = 10), click Create Bill. - ERPForAll drafts a Vendor Bill linked via
1 Purchase Orderswith:10units ×$50.00=$500.00- Purchase Match:
Matched(Ordered10= Received10= Billed10under Three-Way Matching).
- Enter the supplier’s Bill Date (for example,
11/26/2026), verify the invoice reference, and click Confirm to postBILL/2026/11/0022.- Accounting posts Debit Inventory / Purchases
$500.00/ Credit Accounts Payable$500.00. - Back on
PO00023, Billed Qty =10and billing status becomes Fully Billed.
- Accounting posts Debit Inventory / Purchases

Step 5: Pay the Vendor Bill (PBNK1/2026/00032)
Section titled “Step 5: Pay the Vendor Bill (PBNK1/2026/00032)”- On posted bill
BILL/2026/11/0022, click Register Payment. - Choose Journal:
Main Bank, verify Amount:$500.00, and click Create Payment. - Verify the settled bill:
- Status badge shows PAID with Amount Due =
$0.00, linked toPBNK1/2026/00032. - Accounting posts Debit Accounts Payable
$500.00/ Credit Main Bank$500.00.
- Status badge shows PAID with Amount Due =

Step 6: Process a Vendor Return (Main/OUT/00024) and Audit Reports
Section titled “Step 6: Process a Vendor Return (Main/OUT/00024) and Audit Reports”If 1 monitor from the second shipment (Main/IN/00027) fails inspection:
- Open validated receipt
Main/IN/00027(Done) and click Return. - ERPForAll creates Draft outgoing transfer
Main/OUT/00024(Return of Main/IN/00027,Main/Stock → Vendors). - Set the stock move Demand to
1, click Confirm, and click Validate to ship the defective unit back to the vendor (-1unit fromMain/Stock). - Issue a corresponding Vendor Refund (
Accounting → Vendors → Refunds) if the supplier credits your account.
End-to-End Document Chain and Financial/Stock Impact
Section titled “End-to-End Document Chain and Financial/Stock Impact”| Stage | Document Ref | Module | Stock Delta (Main/Stock) | Accounting Impact |
|---|---|---|---|---|
| 1. Blanket & Alt RFQ | PA00001, PO00023 / PO00024 | Purchase | 0 | None |
| 2. Confirm PO | PO00023 (Purchase Order) | Purchase | 0 (10 incoming) | Optional Budget AVC commitment |
| 3a. Partial Receipt | Main/IN/00026 (Done) | Inventory | +6 units | Inventory receipt |
| 3b. Backorder Receipt | Main/IN/00027 (Done) | Inventory | +4 units | Inventory receipt |
| 4. Vendor Bill | BILL/2026/11/0022 (Posted) | Accounting | 0 | Dr Purchases/Stock $500.00 / Cr Payable $500.00 |
| 5. Vendor Payment | PBNK1/2026/00032 (Paid) | Accounting | 0 | Dr Payable $500.00 / Cr Bank $500.00 |
| 6. Return Delivery | Main/OUT/00024 (Done) | Inventory | -1 unit | Inventory return outflow |
| Net Final Position | — | All | +9 net units kept | $500.00 settled (pending $50.00 vendor refund) |
Audit spend across suppliers in Purchase → Reporting → Purchase Report, Purchases by Product, and Purchase Pivot & Graph.
