Skip to content
ERPForAll DocsDevelopment

    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.

    ParameterWorked Example Value
    Blanket AgreementPA00001 (PT Global Komponen Indonesia, [ELK-MON24] Monitor 24 inci, Qty 20 @ $120.00)
    Winning RFQ / POPO00023 (Baja Sentosa Abadi, [ELK-MON24] Monitor 24 inci, Qty 10 @ $50.00 = $500.00)
    Alternative RFQPO00024 (PT Global Komponen Indonesia) compared side by side before awarding PO00023
    Warehouse ReceiptsPartial delivery Main/IN/00026 (6 units) + Backorder Main/IN/00027 (4 units) = 10 received
    Vendor Bill & PaymentBILL/2026/11/0022 ($500.00, Purchase Match: Matched) settled via PBNK1/2026/00032
    Return Case1 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”
    1. Create a Blanket Agreement (PA00001):
      • Open Purchase → Orders → Purchase Agreements and click New.
      • Select Vendor PT Global Komponen Indonesia, add [ELK-MON24] Monitor 24 inci for 20 units @ $120.00, click Save, and Confirm.
    2. 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, Quantity 10, Unit Price $50.00 (Total $500.00), and Save (PO00023).
      • Click Alternative, select a same-company vendor (PT Global Komponen Indonesia), and create PO00024.
      • Open Compare Product Lines to review competing unit prices side by side before awarding PO00023.

    Confirmed Blanket Purchase Agreement PA00001 recording contracted quantities and unit pricing.

    Alternative RFQ comparison view displaying PO00023 against PO00024 side by side so buyers can award the winning quote.

    Step 2: Confirm the Purchase Order (PO00023)

    Section titled “Step 2: Confirm the Purchase Order (PO00023)”
    1. Open the winning RFQ PO00023 ($500.00, below the $5,000 second-approval threshold) and click Confirm Order.
    2. 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, Demand 10), accessible from the 1 Receipt smart button.

    Confirmed Purchase Order PO00023 with Purchase Order status and 1 Receipt smart button linked to Main/IN/00026.

    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:

    1. Click 1 Receipt on PO00023 to open Main/IN/00026.
    2. Switch to Detailed Operations, update Quantity / Done to 6, and click Validate.
    3. On the Remaining demand dialog, click Create Backorder.
      • Main/IN/00026 moves to Done (+6 units in Main/Stock).
      • ERPForAll creates linked backorder Main/IN/00027 (Ready, Demand 4, Back Order of Main/IN/00026).
      • Returning to PO00023 shows Received Qty = 6 and 2 Receipt.
    4. When the remaining 4 units arrive, open Main/IN/00027, verify 4 units, and click Validate.
      • PO00023 updates to Received Qty = 10 and billing status Waiting Bills.

    Remaining demand dialog when validating 6 out of 10 units on Main/IN/00026, creating backorder Main/IN/00027.

    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)”
    1. On PO00023 (now Received Qty = 10), click Create Bill.
    2. ERPForAll drafts a Vendor Bill linked via 1 Purchase Orders with:
      • 10 units × $50.00 = $500.00
      • Purchase Match: Matched (Ordered 10 = Received 10 = Billed 10 under Three-Way Matching).
    3. Enter the supplier’s Bill Date (for example, 11/26/2026), verify the invoice reference, and click Confirm to post BILL/2026/11/0022.
      • Accounting posts Debit Inventory / Purchases $500.00 / Credit Accounts Payable $500.00.
      • Back on PO00023, Billed Qty = 10 and billing status becomes Fully Billed.

    Draft Vendor Bill generated from PO00023 displaying Purchase Match: Matched across ordered, received, and billed quantities.

    Step 5: Pay the Vendor Bill (PBNK1/2026/00032)

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

    Settled Vendor Bill BILL/2026/11/0022 showing PAID badge, $0.00 Amount Due, and linked payment PBNK1/2026/00032.

    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:

    1. Open validated receipt Main/IN/00027 (Done) and click Return.
    2. ERPForAll creates Draft outgoing transfer Main/OUT/00024 (Return of Main/IN/00027, Main/Stock → Vendors).
    3. Set the stock move Demand to 1, click Confirm, and click Validate to ship the defective unit back to the vendor (-1 unit from Main/Stock).
    4. 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”
    StageDocument RefModuleStock Delta (Main/Stock)Accounting Impact
    1. Blanket & Alt RFQPA00001, PO00023 / PO00024Purchase0None
    2. Confirm POPO00023 (Purchase Order)Purchase0 (10 incoming)Optional Budget AVC commitment
    3a. Partial ReceiptMain/IN/00026 (Done)Inventory+6 unitsInventory receipt
    3b. Backorder ReceiptMain/IN/00027 (Done)Inventory+4 unitsInventory receipt
    4. Vendor BillBILL/2026/11/0022 (Posted)Accounting0Dr Purchases/Stock $500.00 / Cr Payable $500.00
    5. Vendor PaymentPBNK1/2026/00032 (Paid)Accounting0Dr Payable $500.00 / Cr Bank $500.00
    6. Return DeliveryMain/OUT/00024 (Done)Inventory-1 unitInventory 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.

    Purchase Report confirming Baja Sentosa Abadi spend rolled up cleanly with drill-down to PO00023.