Parsware
All articles

Power Apps

An expense receipt with a QR code

One page per expense, laid out exactly as drawn, with a QR code that opens the expense in the app when scanned.

An expense receipt for Client lunch, USD 86.40, with a QR code

A receipt is one page about one thing, and it should look the same every time it is printed. This demo is one: Demos → Expense receipt, or Print this expense on an expense.

The receipt: Client lunch, USD 86.40, submitted by Daniel Hughes, the date and status, and a QR code

One page per expense

The report’s one dataset is the expense table with recordScopeField: "par_expenseid". From the navigation it holds every expense, and the row band is as tall as the page, so each expense gets a page of its own. From an expense form it holds just that one.

A code that opens it

The QR code is bound to the record’s address in the app:

concat(app.url, '/main.aspx?pagetype=entityrecord&etn=par_expense&id=', row.par_expenseid)

app.url is new: a report shown in Power Apps can now read the app’s own address. A phone pointed at the paper opens the expense in the Power Apps app.

Try it

  1. Install the three Parsware for Power Apps solutions, samples included (Install it).
  2. Open Sample data and press Replace, so the newest columns are filled (The samples, and sample data).
  3. Open Demos → Expense receipt, or an expense and its Print this expense button.

The pictures show the shipped report laid out on demo data by Parsware’s report engine. In Power Apps it opens in the app, from the navigation or a form.