mirror of
https://github.com/1C-Company/v8-code-style.git
synced 2024-12-13 05:35:39 +02:00
677 B
677 B
Notify description to Server procedure
Server procedure specified in parameter of notify description.
The call of the notify is not support by web-client.
Noncompliant Code Example
&AtClient
Procedure Noncompliant()
Notify = new NotifyDescription("NoncompliantNotify", ThisObject);
EndProcedure
&AtServer
Procedure NoncompliantNotify() Export
// Procedure is not avalable at client!
EndProcedure
Compliant Solution
&AtClient
Procedure Compliant()
Notify = new NotifyDescription("CompliantNotify", ThisObject);
EndProcedure
&AtClient
Procedure CompliantNotify() Export
// Procedure is avalable at client!
EndProcedure