cancel
Showing results for 
Search instead for 
Did you mean: 

Issue displaying data in item list in Build Apps

Ludovic_MOOS
Explorer
0 Kudos
298

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:

Ludovic_MOOS_0-1726522227538.png

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):

Ludovic_MOOS_1-1726522227579.png

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):

Ludovic_MOOS_2-1726522227555.png

Here is how I configured the Open Page properties ("approvedInvoice" being my page parameter):

Ludovic_MOOS_3-1726522227547.png

And here you can see how I configured my list item in the Balance page:

Ludovic_MOOS_4-1726522227551.png

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.

gregorw
Active Contributor
0 Kudos
Is your target deployment the SAP BTP? Then the authentication part should be handled by the Identity Provider configured for the BTP Subaccount.
View Entire Topic
shakirali7
Participant
0 Kudos

Dear LM,

You have to restrict data on some criteria to move forward as I mentioned.

Regards,

M.Shakir