iVendNextDevelopers My apps

A price list with a photo for each item

The customer asks: A price list as a document with a photo for each item

What next

What you build

A print format on Price List in your manifest that lists the list's prices through ivn_rows("Item Price", …) and each item's photo through ivn_value("Item", name=…, field="image"), with the rights of the person printing:

{% for r in ivn_rows("Item Price", filters={"price_list": doc.name}, fields=["item_code", "item_name", "price_list_rate", "uom"], order_by="item_code asc", limit=200) %}
{% set photo = ivn_value("Item", name=r.item_code, field="image") %}
<tr><td>{% if photo %}<img src="{{ photo }}" style="height:60px">{% endif %}</td><td>{{ r.item_code }}</td><td>{{ r.item_name }}</td><td>{{ r.price_list_rate }} / {{ r.uom }}</td></tr>
{% endfor %}

Sample S29 ships this format, general prices only and up to 1,000 rows (price_list_manifest.json). For a file made on demand (a spreadsheet as well, or one list per distributor), S29's outside program does it instead.

Limits

Tell the customer

iVendNext prints each price list with a photo of each item, from its own prices and images, from the price list in Desk.

What next

  1. Tell the customer the 4 limits above, and write them into the proposal.
  2. Start from: Print template readers — ivn_rows and ivn_value · A layout for each customer's invoice, and a price list with photos.
  3. Copy the sample: S29 — a layout of its own for each distributor's invoice, and a price list with photos, and change it.
  4. Build and test it on your sandbox (request one if you have none; what is on it).
  5. Run the checks: your own tests, the kit's checks and the money kit's release gate (the release gate).
  6. Release through the customer's own release gate (The customer's release gate); an app other retailers install goes through the App library.

Install it on your sandbox the way the shop's administrator will; the checker refuses a manifest that declares code.

Start a project shortlist with this need · Put it in your blueprint · Every need

This card in the kit