Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > What is the name of the function to disable execution from the main configuration

Forum

Search UsersRules
What is the name of the function to disable execution from the main configuration
#1
Interested
Points:: 15
Joined:: Oct 27, 2011

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.

Profile
#2
Guest
Points::
Joined::

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

Profile
#3
Interested
Points:: 15
Joined:: Oct 27, 2011

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

Profile
#4
Active user
Points:: 0
Joined:: Apr 18, 2012

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.

Profile
#5
Interested
Points:: 15
Joined:: Oct 27, 2011

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.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.