DebaratiM0823 Member since 2019 1 post
Capgemini India PVT Ltd
Posted: August 8, 2019
Last activity: August 8, 2019

Property value overriding


I'm preparing an online products store application in Pega. In the ProductsShelf screen, user will be selecting the products from the available list. In a dynamic layout I've the products dropdown and quantity dropdown (1 - 10). In this quantity dropdown property. I've specified the table type by local list with values from 1 to 10. In the next screen ShowCart, we will be displaying what all items user has selected along with the quantity and calculate the line total.

I've two problems here:

Firstly, whatever value the user is selecting from the quantity dropdown, it is taking the first choice by default for all the items (like if I choose product A qty 2, product B qty4, in the next screen it's displaying product A qty 2, product B qty 2).

Secondly, I've a declare expression to calculate the line total. I'm setting the Line total as the product of quantity and a constant value (999), but since the quantity is getting constant, so is the line total.

I'm not getting where I'm getting wrong. Is there is any solution to this ? Please suggest someone.I thought of making quantity as a page list property but can't get sure.

I've attached ss of screen 2 and 3 for your reference.

Eagerly waiting for a solution at the earliest.

Thanking in advance,

Debarati Mitra

Case Management
Moderation Team has archived post
Share this page LinkedIn