In addition to the fact that you can access various configuration parts from a form, you can also access a form (as a script object) from other configuration parts.
And, together with standard properties and methods of the ManagedForm 1C:Enterprise object, a form can have other developer-defined properties and methods.
For example, if the module of the DocumentForm form of the GoodsReceipt document describes the MaterialsQuantityOnChange() exported procedure (listing 5.16), you can call this procedure as follows (listing 5.17).
Listing 5.16. Form module
&AtClient Procedure MaterialsQuantityOnChange(Item) TabularSectionRow = Items.Materials.CurrentData; DocumentProcessing.CalculateTotal(TabularSectionRow); EndProcedure
Listing 5.17. Form module
Form = GetForm("Document.GoodsReceipt.Form.DocumentForm"); Form.MaterialsQuantityOnChange(); Next page: Event handler procedures in form modules