Overriding functions in extensions

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Interested
Rating: 32
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
Active user
1C:Professional
Rating: 8
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
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.