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.

Next page: General requirements to 1C:Enterprise script clauses

Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.