Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

OutSystems Exam Associate-Reactive-Developer Topic 1 Question 12 Discussion

Actual exam question for OutSystems's Associate-Reactive-Developer exam
Question #: 12
Topic #: 1
[All Associate-Reactive-Developer Questions]

For 4 Entity Customer, Order, OrderProduct, OrderReceipt are related to each other as shown in the image below.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Elizabeth
17 days ago
Ah, the joys of database relations. It's like playing a game of 'Catch the Dangling Foreign Key' - you never know what's going to get deleted next!
upvoted 0 times
...
Marti
27 days ago
Wait, so if I delete an order, the customer and receipt just vanish into thin air? That's like deleting your entire Amazon order history - poof, gone! Talk about a magic trick.
upvoted 0 times
...
Roxanne
28 days ago
Hmm, I'm going with C. Deleting a customer should delete the order, but deleting an order shouldn't delete the customer. Gotta be careful with those referential integrity rules, you know?
upvoted 0 times
Aliza
18 days ago
I agree, referential integrity is crucial when dealing with database relationships.
upvoted 0 times
...
...
Cristal
1 months ago
D? Really? That can't be right. If you delete a customer, it should delete the order as well, not just the customer. These questions can be so tricky sometimes, ugh.
upvoted 0 times
Albina
8 days ago
I see your point. It can be confusing sometimes to understand the relationships between entities.
upvoted 0 times
...
Lynelle
20 days ago
But if you delete a customer, shouldn't it also delete the order associated with that customer?
upvoted 0 times
...
Isreal
21 days ago
I think D is correct. Deleting a customer should only delete the customer information, not the order.
upvoted 0 times
...
...
Phil
1 months ago
Okay, let's see... Option B seems to be the correct answer here. You can't delete an order because it's referenced in the OrderProduct table, but you can delete an OrderReceipt and it'll take the order with it. Simple enough!
upvoted 0 times
Melinda
9 days ago
So, deleting an OrderReceipt will also delete the Order.
upvoted 0 times
...
Vincent
15 days ago
I agree, Option B is the correct answer.
upvoted 0 times
...
...
Floyd
2 months ago
I see your point, Skye. But I think the correct answer is C. Deleting information in Customer should delete information in both Customer and Order. It just seems more logical to me.
upvoted 0 times
...
Skye
2 months ago
I disagree, I believe the correct answer is B. It makes sense that you cannot delete information in OrderProduct table from Entity Order, but deleting information in OrderReceipt will delete information in both OrderReceipt and Order.
upvoted 0 times
...
Amie
2 months ago
I think the correct answer is A because when deleting information in Assubmit Order, all relevant information in Customer and CustomerReceipt will also be deleted.
upvoted 0 times
...

Save Cancel