Hello all.
I have code : It run versions 8.3.6.2041
| Code |
|---|
&AtClient
Procedure BeforeClose(Cancel, StandardProcessing)
ChangeItem = BeforeCloseAtServer(); //debug
If ChangeItem = True then
DoMessageBox(NStr("en = 'item change';vi = 'Gia tri da thay doi'"));
EndIf;
EndProcedure
&AtServer
Function BeforeCloseAtServer()
ChangeItem = False;
If Write() and ThisObject.Items.Dvcs <> Metadata.Constants.Dvcs then
ChangeItem = True;
EndIf;
Return ChangeItem;
EndFunction
|
When i put debug &AtClient and &AtServer but it run atclient not run debug to atserver ?
And run function DoMessageBox at 1C Enterprise it error
Desktop version