What is the name of the function to disable execution from the main configuration

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

I have created an extension to the configuration and it overrides one command

Code
&AtClient
Procedure Ext1_GuardarGenerado(Command)
   Ext1_Guardar("NoFirmado");
//   SetExecutionAfterEventHandlers(False);
EndProcedure


How to disable execution of the same command from main configuration? Nothing of the examples above work for me. 8.3.6 No compatibility

Syntax assistant does not help at all.

Also I would like to suggest to implement possibility to override just one function from the main configuration. It took me to copy a hundred lines just to change a few lines, because I only can start from the beginning of the command execution.

Edited: Alexey Gerasimov - Oct 06, 2016 02:37 AM
 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Alexey. Please, try doing the same using the latest platform version. As for today it is 8.3.8.2088.

 
#3
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Ehm, there is no way to make it work in 8.3.6.2100? I can not update client server just to make this small thing work

 
#4
People who like this:1Yes/0No
Active user
Rating: 4
Joined: Apr 18, 2012
Company:

Hi Alexey.

Try function SetEventHandlersExecution instead SetExecutionAfterEventHandlers.

SetEventHandlersExecution(<Action>)
Parameters:

<Action> (required)

Type: Boolean.
If set to False - upon completion of the current handler, execution of the handler chain will be interrupted.
If set to True - execution of the handler chain will be continued.

 
#5
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Thank you Alexei.

I was searching during hours to make it work and also discovered that it was renamed. But there are no references in Syntax assistant, Developer guide.. nothing I had to just try every function that seemed acceptable for the case.

It's a pity that I saw your answer after solving the problem. Nevertheless thank you very much.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks 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.