Overriding functions in extensions


If you wish to leave comments or ask questions, please log on or sign up.

The 1C:Enterprise developers forum

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

Hello,

I have been trying to override OnSetNewNumber in configuration extension, but it seems that code inside new function never runs. What am I doing wrong? I disabled all compatibility modes to use pure 8.3.10.

&Before("OnSetNewNumber")
&AtServer
Procedure NUMC_OnSetNewNumber(StandardProcessing, Prefix)
// Some code;
EndProcedure

 
#2
People who like this:0Yes/0No
Administrator
1C:Professional
Rating: 9
Joined: Jun 25, 2013
Company: 1C Company

Hello,

In some scenarios, an extension can be attached incorrectly. Our developers are already fixing this issue.

You can try the following:
Right-click OnSetNewNumber in the configuration and click "Add to extension" for the application to reattach the extension.

1C Company support team
 
Subscribe