Click and collect: a Desk board of web orders — the recipe
A store that sells on the web and lets its customers collect in store needs two lists: the web orders it still has to pick, and the orders waiting for their customer. And when the customer comes, someone records the hand-over. This recipe gives every store those lists and that record from a manifest alone: a Report Builder report, a workspace, and two fields on the delivery note, one of which filters the Delivery Note list into the waiting list. It is for an iVendNext Partner, or the CitiXsys Consulting Team, who wants the same board in every store without a screen of its own.
Next: the sample, S33 · Click and collectAll recipes
In the App library: Click and collect
Reference implementation: samples/s33_click_and_collect/.
When to use it. Configuration first: a retailer could make the same fields with Customize Form and the same reports with Report Builder. A manifest is for shipping it to many retailers the same way, and for removing it in one step.
The four rules, here. Nothing is called and nothing leaves the retailer's iVendNext. The fields record a hand-over; they change no money, no stock and no order.
Steps
-
Add the two fields to Delivery Note, both settable after the note is submitted (
allow_on_submit), with no default (the checker refuses a default on a record the till's booking writes, Delivery Note included):"custom_fields": [ {"dt": "Delivery Note", "fieldname": "pp_ccb_handed_over", "fieldtype": "Check", "label": "Handed over", "insert_after": "return_against", "allow_on_submit": 1, "in_list_view": 1, "in_standard_filter": 0}, {"dt": "Delivery Note", "fieldname": "pp_ccb_collected_by", "fieldtype": "Data", "label": "Collected by", "insert_after": "pp_ccb_handed_over", "allow_on_submit": 1}], "property_setters": [ {"doc_type": "Delivery Note", "field_name": "custom_mpos_pickup_handed_at", "property": "in_list_view", "value": 1, "property_type": "Check"}, {"doc_type": "Delivery Note", "field_name": "per_installed", "property": "in_list_view", "value": 0, "property_type": "Check"}]Handed over stays out of the list's filter bar (
in_standard_filter0, written so an update clears it): the bar shows a tick box, which cannot hold No, so a saved list would lose Handed over No. The two property setters show the till's own hand-over time (custom_mpos_pickup_handed_at, written by its Pickup & curbside board, never Handed over) in the list, in the column % Installed gives up. -
Add the pick list (Report Builder only: its filters are data). A web order is an order with a customer's order number (
po_no), which our WooCommerce connector fills with the web order's number:"reports": [ {"name": "PP CCB Web Orders To Pick", "ref_doctype": "Sales Order", "report_type": "Report Builder", "columns": ["name", "customer_name", "set_warehouse", "delivery_date", "po_no", "status"], "filters": [["docstatus", "=", 1], ["status", "in", ["To Deliver and Bill", "To Deliver"]], ["po_no", "is", "set"]], "order_by": "delivery_date asc", "roles": ["Retail Manager", "Stock User", "Stock Manager", "Sales User", "Sales Manager", "System Manager"]}]It names the store's warehouse (
set_warehouse), so a store filters its own. ⚠ On today's iVendNext it does not apply a manifest report'scolumns: the report opens with the record type's usual list columns, and the store adds the others from the column settings (asked of the product).
⚠ Not a report for the waiting list. A report on Delivery Note filtered on
pp_ccb_handed_overlooks right, but iVendNext refuses it: its install checks a report's columns and filters (and a card's or chart's field) against the record type as it is before the install, so a field the same manifest adds is not a field yet.ivn checkrefuses it too (tools/manifest/site_rules.py). The waiting list is the Delivery Note list itself, where Handed over is a list column (in_list_view) and a condition added under + Add a Filter. -
Add the workspace: a header, a line pointing at the report and naming the waiting list's filter, and shortcuts to the report and to the Sales Order and Delivery Note lists (iVendNext makes a manifest's workspaces after its reports, so a shortcut may open the app's own report). The workspace opens for the roles the manifest names and the administrator, so the report's
rolesdecide who opens it: name every role that works the board. Naming roles replaces the record type's own readers on the report, so keep the sales desk's roles in it.
-
Check it:
python3 tools/check/check.py samples/s33_click_and_collect, and the sample's tests.
What the store does
-
Picks a web order the usual way: from its sales order, it makes and submits the delivery note. A WooCommerce web store then tells the customer Ready to collect (the connector does that, not this app). The order leaves Web orders to pick, and its note shows in the Delivery Note list filtered on Status To Bill or Completed, Is Return No, % Returned less than 100, Handed over No, POS Pickup Handed At is not set (the till's own hand-over writes that field, not Handed over), Customer's Purchase Order No is set, Set Source Warehouse your store's warehouse, and Date on or after the install day (each person who hands orders over saves that filter once as Waiting for collection: a saved list filter is the user's own).

-
When the customer comes, it opens the note, and on its Details tab, under Is Return, ticks Handed over, writes Collected by and saves. The note leaves the list, and its history (Activity) records who ticked it and when.


Limits
- The lists are in Desk. The till's own pickup board lists till sales only, and a page on the till opens only over a sale, so these lists are not on the till.
- A Desk order typed with a customer's order number shows too, and so does a web order shipped from a store's warehouse (tick Handed over when the carrier takes it).
- A web order booked as a sales invoice has no sales order to pick: it appears once its delivery note exists.
- Who and when are the note's history, not fields.
- On today's iVendNext a delivery-note return does not update its original's % Returned (measured on our test bench), so an order returned before it is collected stays on the list: cancel its delivery note instead of returning it.
- Notes from before the install carry Handed over No, so a store's older web deliveries would wait too: add Date on or after the day you install to the saved filter.
- A return or an amended note copies Handed over and Collected by from its original (a manifest cannot mark them not-to-copy); the waiting filter leaves returns out, and an amended note's fields can be cleared by hand.
- Removing the app removes the two fields and their values (its export keeps a copy, in a private file); the delivery notes stay.
Technical notes
Proven on our test bench on 2026-10-18: see the sample's README, The bench.