a month ago - last edited a month ago
Hi,
I need a hand regarding an app I'm creating in Build Apps.
I'm building a pretty straight-forward app for our clients to approve their own invoices. It is composed of 4 screens (Authentication, Invoice list, Invoice Details and Account Balance). Basically, after authenticating, the Invoice List page appears, then the user selects an invoice and is taken to the Invoice Details page where she/he can either approve or reject the invoice. If she/he approves the invoice, the number and amount of the invoice appear on the Account Balance page. Each time an invoice is approved, the related data is added to the Balance page.
So I manage to display an approved invoice in the item list of the Balance page. However, when I approve another invoice, it is not added to the previously approved one on the Balance page: it replaces it.
Below you will find several screenshots showing how I configured both Invoice Details page and Balance page: could you please give a look to see what I am missing please? I also joined a short video.
Here is the app variable I defined, named “approvedInvoice” (list of 3 objects), where I want to store the data of the invoices that are being approved:
Here is the logic flow I added to the Approve button ("Set app variable", where I added the app variable I created in the properties and assign the value with a custom list):
When I click on the Custom list of the Assigned value from the above screen, here is what I configured (DATA ENTITY TEST being my data source, the one from which I get all the data of my invoices that are display in the Invoices page):
Here is how I configured the Open Page properties ("approvedInvoice" being my page parameter):
And here you can see how I configured my list item in the Balance page:
See the video here for better understanding (N.B.: as you will notice, I'm currently displaying the client name in place of the amount, it is just temporary and does not change the problem raised in this post):
This is what happens when I approve more than one invoice: approved invoices don't pile up, only the latest approved one is displayed...
Would you be so kind and give me just a hint to solve this please? I'm stuck on this for a week now and it is blocking the whole project...
Many thanks beforehand for your help and I'm looking forward to reading you.
BR,
LM.
Dear LM,
You have to restrict data on some criteria to move forward as I mentioned.
Regards,
M.Shakir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
11 | |
11 | |
10 | |
9 | |
8 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.