Method or variable accessible AtClient in manager or object module
Var moduleVar;
Procedure BeforeDelete(Cancel)
// Non-compliant
EndProcedure
Procedure Noncompiant() Export
// empty
EndProcedure
moduleVar = Undefined;
#If Server Or ThickClientOrdinaryApplication Or ExternalConnection Then
Var moduleVar;
Procedure BeforeDelete(Cancel)
// Compliant
EndProcedure
Procedure Compiant() Export
// empty
EndProcedure
moduleVar = Undefined;
#Else
Raise NStr("en = 'Invalid object call on the client.'");
#EndIf