Logical End of Module Source Text Encountered Error

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company:

Hello! I am trying to make a printed form of my document and received the following error:
{Document.GoodsExpence.Command.Print.CommandModule(8,13)}: Logical end of module source text encountered
EndProcedure<<?>>; (Verification: Server)
Here is the source code:
&AtClient
Procedure CommandProcessing(CommandParameter, CommandExecuteParameters)
   //{{_PRINT_WIZARD(Print)
   Spreadsheet = New SpreadsheetDocument;
   Spreadsheet.Show("PrintedForm");
   //}}
EndProcedure;

&AtServer
Procedure Print(Spreadsheet, CommandParameter)
   Documents.GoodsExpence.Print(Spreadsheet, CommandParameter);
EndProcedure

 
#2
People who like this:0Yes/0No
Active user
Rating: 3
Joined: Jul 20, 2011
Company:

Remove a semicolon after EndProcedure.

 
Subscribe
Be the first to know tips & trick 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.