iVendNextDevelopers My apps

No more than so many manager approvals for a discount per store per day

The customer asks: No more than so many manager discount approvals per store per day

What next

What you build

One save rule of kind count_per_day on the approval request: the store's managers may give so many discount approvals a day, and the next is refused when the manager presses Approve, in the retailer's words (contracts/pages/save_rules.md §8, the worked example; recipes/save_rules.md). Sample S18's README carries it.

Limits

Tell the customer

After the day's limit, a manager's further discount approval for that store is refused at Approve with our sentence, and the cashier sells at the normal price; approvals given offline are not counted.

What next

  1. Tell the customer the 5 limits above, and write them into the proposal.
  2. Follow the recipe: Save rules: one tax id per customer group, and a submit kept for a role.
  3. Copy the sample: S18 — Members-only rule guard (a check before payment), 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.

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

This card in the kit