iVendNextDevelopers My apps

S3 — price-deviation audit: every line sold below list by more than a threshold

Start an app from this sample

After each booked sale, this sample records every line charged below its price-list rate by more than the retailer's threshold, so a store manager can read the findings in Desk. It runs as your own service outside the retailer's iVendNext and checks sales after they are booked: nothing changes at the till and no sale is held.

The recipe: Reading iVendNext's events reliably

In the App library: Price-deviation audit

A sale with two offers: the case 20% off, the charger 3% off, the cable at list price

What is in it: runs on its own server and keeps one list (deviation).

Industries: Fashion and footwear, Thrift and resale

When to use it: you want an after-the-sale check on prices, discounts or anything else a booked sale carries.

Door: Event feed

Start from it

ivn new acme_audit --from s3

What to change

What a partner usually changes:

More: the event feed recipe.

The customer sets: the threshold, as the Price-deviation audit settings (PP PDO Settings) record titled Default (a System Manager makes it). The role PP PDO Integration needs no read from the retailer's administrator: the install gives it read on POS Invoice and Sales Invoice, the two record types the feed follows. Needs POS build 2.1.0.691 or later: on an earlier site the install gives the feed's user no read, so the events wait; the service's log says which record type was refused (ivn logs).

Run it

ivn check
ivn try

Versions

1.1.4

1.1.3

1.1.2

1.1.1

1.1.0

1.0.0

This page in the kit