Skip to content
ERPForAll DocsDevelopment

    Sales Full-Cycle Example: Order-to-Cash End-to-End

    This worked walkthrough follows a single real-world customer order across Sales, Inventory, and Accounting so your team can verify every status transition, stock deduction, invoice posting, payment settlement, and return credit note end to end.

    ParameterWorked Example Value
    CustomerPT Sumber Makmur Sejahtera
    PricelistHarga Grosir (Wholesale tier)
    Main ProductMeja Kerja (Kayu Jati) — Storable Goods, Cost $300.00, List/Pricelist Price $450.00
    Quantity & Discount3 Units with 5% approved volume discount ($427.50/unit, Subtotal $1,282.50, Margin $382.50 / 29.82%)
    Optional Cross-SellKursi Kantor Ergonomis added on the Optional Products tab
    Return & Refund CaseCustomer later returns 1 unit ($427.50) after full payment, settled with a partial Credit Note

    Step 1: Prepare the Draft Quotation (S00021)

    Section titled “Step 1: Prepare the Draft Quotation (S00021)”
    1. Open Sales → Orders → Quotations and click New.
    2. Select Customer: PT Sumber Makmur Sejahtera. Billing/shipping addresses, salesperson, and sales team populate automatically.
    3. Choose Pricelist: Harga Grosir.
    4. On the Order Lines tab, click Add a line, choose Meja Kerja (Kayu Jati), enter Quantity 3, verify Unit Price $450.00, and enter Discount (%) 5.
      • Check the live totals at the bottom right: Untaxed / Total = $1,282.50 and Margin = $382.50 (29.82%).
    5. Switch to the Optional Products tab and add Kursi Kantor Ergonomis so the customer can optionally include chairs.
    6. Click Save. ERPForAll assigns reference S00021 in Quotation status.

    Draft Quotation S00021 showing Harga Grosir pricelist, 3 units at 5% discount ($1,282.50), live margin ($382.50 / 29.82%), and Optional Products tab.

    Step 2: Confirm the Quotation into a Sales Order

    Section titled “Step 2: Confirm the Quotation into a Sales Order”
    1. Once the customer approves the quote, click Confirm on S00021.
    2. Verify the immediate outcomes:
      • Document status changes from Quotation to Sales Order (keeping number S00021).
      • Customer, company, and pricelist lock against accidental changes.
      • ERPForAll automatically creates outgoing Delivery Order Main/OUT/00023 (Main/Stock → Customers, Demand 3) and reveals the 1 Delivery smart button and Create Invoice action.

    Confirmed Sales Order S00021 with the 1 Delivery smart button and Create Invoice action ready.

    Step 3: Validate the Warehouse Delivery (Main/OUT/00023)

    Section titled “Step 3: Validate the Warehouse Delivery (Main/OUT/00023)”
    1. Click 1 Delivery on S00021 (or open Inventory → Operations → Deliveries → Main/OUT/00023).
    2. Confirm that 3 units of Meja Kerja (Kayu Jati) are reserved in Ready status (Main/Stock → Customers).
    3. Click Validate.
      • Delivery Main/OUT/00023 transitions to Done.
      • Warehouse On Hand stock decreases by 3 units.
    4. Return to S00021 via the breadcrumb: the order line now shows Delivered Qty = 3.

    Validated Delivery Order Main/OUT/00023 in Done status confirming 3 units shipped to the customer.

    Step 4: Invoice the Sales Order (INV/2026/00026)

    Section titled “Step 4: Invoice the Sales Order (INV/2026/00026)”
    1. On S00021, click Create Invoice.
    2. In the Create Invoice wizard, review the billing modes:
      • Regular Invoice (selected for this example — bills all 3 delivered units for $1,282.50).
      • Down Payment (percentage) or Down Payment (fixed amount) (useful when collecting an upfront deposit before shipping).
    3. Click Create Draft Invoice, review the generated lines and totals ($1,282.50), and click Confirm to post INV/2026/00026.
      • Accounting posts Debit Accounts Receivable $1,282.50 / Credit Sales Revenue $1,282.50.

    Create Invoice wizard on S00021 offering Regular Invoice and percentage or fixed-amount Down Payment options.

    Step 5: Register Customer Payment (PBNK1/2026/00031)

    Section titled “Step 5: Register Customer Payment (PBNK1/2026/00031)”
    1. On posted invoice INV/2026/00026, click Register Payment.
    2. Select Journal: Main Bank, verify Amount: $1,282.50, and click Create Payment.
    3. Verify the settled invoice:
      • Status badge updates to PAID with Amount Due = $0.00.
      • Smart buttons link directly to 1 Sales Orders (S00021) and 1 Payments (PBNK1/2026/00031).
      • Accounting posts Debit Main Bank / Outstanding Receipts $1,282.50 / Credit Accounts Receivable $1,282.50.

    Settled Customer Invoice INV/2026/00026 displaying PAID status, $0.00 Amount Due, and smart buttons to S00021 and payment PBNK1/2026/00031.

    Step 6: Handle a Customer Return and Partial Credit Note

    Section titled “Step 6: Handle a Customer Return and Partial Credit Note”

    Suppose the customer returns 1 table ($427.50) after delivery and payment:

    1. Physical Return (Main/IN/00025):
      • Open completed Delivery Main/OUT/00023 and click Return.
      • ERPForAll opens Draft return receipt Main/IN/00025 (Customers → Main/Stock).
      • Set the return move line Demand to 1, click Confirm, and click Validate to return 1 unit into Main/Stock.
    2. Financial Refund (RINV/2026/00004):
      • Open posted invoice INV/2026/00026 and click Credit Note.
      • Choose partial refund, enter the return reason, adjust the Credit Note quantity to 1 unit ($427.50), and click Confirm to post RINV/2026/00004.
      • Register the outgoing refund payment (or keep the credit open to offset the customer’s next invoice).

    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. QuotationS00021 (Draft)Sales0None
    2. Confirm OrderS00021 (Sales Order)Sales0 (3 reserved)None
    3. DeliveryMain/OUT/00023 (Done)Inventory-3 unitsInventory / COGS outflow
    4. InvoiceINV/2026/00026 (Posted)Accounting0Dr Receivable $1,282.50 / Cr Revenue $1,282.50
    5. PaymentPBNK1/2026/00031 (Paid)Accounting0Dr Bank $1,282.50 / Cr Receivable $1,282.50
    6a. Return ReceiptMain/IN/00025 (Done)Inventory+1 unitInventory / COGS reversal
    6b. Partial Credit NoteRINV/2026/00004 (Posted)Accounting0Dr Revenue $427.50 / Cr Receivable $427.50
    Net Final Position—All-2 units soldNet Revenue $855.00, $427.50 credit/refund

    Verify the final commercial results under Sales → Reporting → Sales Report and Sales Pivot & Graph, and confirm the posted ledger entries in Accounting → More → Reporting → Profit and Loss and Partner Ledger.

    Sales Report confirms S00021 revenue rolled up under PT Sumber Makmur Sejahtera with drill-down and export.