2

Side Effects - On Delete

 1 week ago
source link: https://community.sap.com/t5/enterprise-resource-planning-q-a/side-effects-on-delete/qaq-p/13679988
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Side Effects - On Delete

paulb08

Newcomer

2 hours ago

- last edited

2 hours ago

Hi Experts,

Question regarding RAP110 Exercise 9:

Just finished following the steps indicated in this exercise, functionalities that was discussed in this topic were behaving as expected. However, I tried deleting one of the bookings using Tick checkbox > Delete, but the TotalPrice is not being refreshed.

I tried setting a breakpoint in Booking class (method calculateTotalPrice) -- but it only gets triggered during create and edit, but not on delete.

Additionally, is it correct that if I don't specify "create" and or "update" inside the curly brace means this will occur for all? Including delete?

paulb08_0-1713920247524.png

Is the on delete side effect still within the scope of this exercise?

If so, any clues where should I check first to troubleshoot?

If not, what are the additional steps needed to be done that was not mentioned in the exercise? 


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK