Scope: managed applications, mobile applications, and ordinary applications.
1. As a rule, in this object module handler, you can fill in object attribute values (record sets or constant values; hereinafter referred to as the "objects"), check if they are correctly filled in and if object states are associated with some external data. Use this handler to access "old" object attribute values saved to the database. It makes sense upon editing already written objects, record sets, and other.
2. Make sure all actions in the BeforeWrite event handler are performed after checks by DataExchange.Import.