Consultor Eletrônico



Kbase P24672: Where is the best place to add logic to handle the deleting
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/02/2004
Status: Unverified

GOAL:

Where is the best place to add logic to handle the deleting of a record in a SmartObject application?

FIX:

The beginTransactionValidate procedure is a procedure that is executed immediately after the beginning of the database transaction block and before any of the current updates are made to the database. This is the appropriate place to put business logic that needs to read and lock related database records before the update takes place.

beginTransactionValidate procedure is run to handle business logic which should occur inside the transaction but before the changes themselves are written to the database.