Form module event handlers defined in 1C:Enterprise script





We recommend that you assign the Attachable_ prefix to the form module event handlers defined using the SetAction script method.

Example:

Procedure Attachable_AllowEditingObjectAttributes() 
...
Procedure Attachable_ContactInfoBeginSelection() 
...

If you attach a handler not in the form module (for example, you attach it in a common module), a configuration check with the Find unused procedures and functions option returns the following errors:

Catalog._DemoPartners.Form.ItemForm.Form No links to procedure found: 
"Attachable_ContactInfoBeginSelection"

The prefix ensures that you easily identify these handlers in the check result and ignore them.

If you attach a handler in a form module,  a configuration check with the Find unused procedures and functions option does not return errors.


Comments
0
Add comment