iVendNextDevelopers Request a sandbox

Run one of the shop's own reports from our service

The customer asks: Our service runs one of the shop's reports, with filters, and reads the rows

What you build

From POS build 2.0.0.654, your service calls /api/method/ivendnext_mpos.api.v1.run_report with the report's name and its filters, as Desk runs it, and reads the columns and rows. A report the shop prepares in the background is queued with prepare_report and read when its run is done (recipes/shop_reports.md).

Limits

Tell the customer

Our service reads your own reports as the user you give it, and as any user a call names; a background run named by its record is read whole, whoever made it; and any signed-in user may queue a background report and read its output. Give our user only the reports and stores it needs.

What next

  1. Tell the customer the 4 limits above, and write them into the proposal.
  2. Follow the recipe: Recipe: reading the shop's own reports.
  3. Build and test it on your sandbox (request one if you have none; what is on it).
  4. Run the checks: your own tests, the kit's checks and the money kit's release gate (testing and release).
  5. Release through the customer's own release gate (14. Testing and release); an app other shops install goes through the App library.

Stop your service for a while and start it again: it must catch up from the event feed, missing nothing.

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

This card in the kit