Best way to hook into "DeleteRecord" event of a BC ?
Hi All,
I am trying to run some escript checks before an account record is being deleted. Therefore, I am using the BCs PreDeleteRecord event to catch record deletion.
Now I encountered an issue. This event seems to be fired, even when the record is not deleted by the user. It also fires, when an account is de-associated from a contact using the MVG applet.
It seems to me like PreDeleteRecord is called in both scenarios (real deletion and de-association from MVG) but the application afterwards handles what to do. Any ideas how I could separate those two scenarios in script?
I am trying to run some escript checks before an account record is being deleted. Therefore, I am using the BCs PreDeleteRecord event to catch record deletion.
Now I encountered an issue. This event seems to be fired, even when the record is not deleted by the user. It also fires, when an account is de-associated from a contact using the MVG applet.
It seems to me like PreDeleteRecord is called in both scenarios (real deletion and de-association from MVG) but the application afterwards handles what to do. Any ideas how I could separate those two scenarios in script?
0