I have parent opportunity in which it contains some child opportunity as well , but when I delete parent opportunity it is deleting. and I want that Parent opportunity should not be dlete when It contains child opportunities.
This can be controlled by the relationship mapping. Change the relationship behavior to referential, restrict delete.
Hope this helps.
Business Applications communities