Event Relationships:

Company: PC & Web Xperience, Inc.

Author: Jason A. Pattie

Date Started: 06/06/2001

Effects of Deleting Events

Affecting Event

Affected Event(s) in sec_event_tb

Consequences

Solution

10 - buy

All events associated with the lot are affected, however only local events need to be removed

sell, stock transfer, fee - events deleted

return of capital, stock swap, spin off, acquisition, stock split, stock dividend - not affected

Invalidates all future local events (sell, stock tranfser, fee, etc.) associated with the lot generated by the buy event

All associated events with the lot generated by the buy are deleted from the security event table; user will have to re-enter all events associated with the buy event

20 - sell

No events affected

Does not affect any future events

*

30 - stock transfer

sell, stock transfer, fee - events deleted

return of capital, stock swap, spin off, acquisition, stock split, stock dividend - not affected

The same effects as the buy event except the lot affected is the lot generated by the transfer event

*

40 - fee

No events affected

Does not affect any future events, but invalidates cost for all future nodes in the tree

*

50 - return of capital

No events affected

Invalidates cost for all future events

*

60 - stock swap

A <-> B

(company A spins off company B)

(company B spins off company A)

Sell - event deleted: only those sell events that are associated with company A and B that contain lots generated by the swap of company A to company B and vice versa are deleted

stock transfer - A and B events deleted

fee - A and B events deleted

return of capital, stock swap, spin off, acquisition, stock split, stock dividend - not affected


*

70 - spin off

A -> B

(company A spins off company B)

Sell - event deleted: only those sell events that are associated with company B that contain lots generated by the spinoff of company A to company B are deleted

stock transfer - B events deleted

fee - B events deleted

return of capital, stock swap, spin off, acquisition, stock split, stock dividend - not affected


*

80 - acquisition

sell, stock transfer, fee - events deleted

return of capital, stock swap, spin off, acquisition, stock split, stock dividend - not affected


*

90 - stock split

No events affected


*

100 - stock dividend

No events affected


*

*Security events sell, stock transfer, fee, etc. need to have the parent branch of the tree they were linked to re-propagated by retrieving the parent lot node of the lot node generated by the event about to be deleted and, after deleting the tree associated with the event and the event itself from the security event table, calling propagateLot() on the parent lot node.


Copyright (c) 2001 HLR
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1; A copy of the license is available at http://www.gnu.org/licenses/licenses.html#FDL.

Updated: $Id: event_relationships.html,v 1.1.1.1 2001/08/09 19:02:51 moreejt Exp $