Question

3
Replies
338
Views
Close popover
Daria Mamaeva (DariaShalom)
Plekhanov Russian University of Economics

Plekhanov Russian University of Economics
RU
DariaShalom Member since 2019 9 posts
Plekhanov Russian University of Economics
Posted: February 24, 2020
Last activity: February 26, 2020
Solved

How to calculate total price using declare expression

Hello!

I've tried to male it analogously to this case

https://collaborate.pega.com/question/how-calculate-totalprice-based-subtotal-row-repeat-using-declare-expression

but exception always pops out (The expression (right hand side)— Property @baseclass.TotalPrice is undefined.)

PageList:Product

And a second, related challenge is value of property TotalPrice. To calculate it, I'vet also used declare expression.

All properties (ProductPrice, ProductQuantity and TotalPrice are integer values). 

Thanks in advance!

 

 

Case Management