Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Subsystem

Forum

Search UsersRules
Subsystem
#1
Just came
Points:: 0
Joined:: Oct 10, 2022

I want to make the catalog object that I just added in the configuration-support adjustment section "support and correct by saving" as in the picture, but it does not make the correction. Can you help me with this?

Profile
#2
Administrator
Points:: 0
Joined:: Oct 3, 2019

Hello Kadir!

Unfortunately, it is not very clear what you want to do... :-(

Could you describe your task in more detail?

For example, which object did you add? Or specify more screenshots...

Profile
#3
Just came
Points:: 0
Joined:: Dec 19, 2022

How to know if an object is in the subsystem or not? EX: I want to know if CommonModule exists in any subsystem.

Profile
#4
Administrator
Points:: 0
Joined:: Oct 3, 2019

Hi Bảo Vũ Bá,

of course it's possible.

The Designer has a filter by subsystems:

Profile
#5
Just came
Points:: 0
Joined:: Dec 19, 2022

I know that, but I want to use the code to filter

Profile
#6
Administrator
Points:: 0
Joined:: Oct 3, 2019

A, I understood you. Try like this:

Code
&AtServer
Procedure Command1AtServer()
   
   nameModule = "ExchangeWithAlaiko";
   
   objectModule = Metadata.CommonModules.Find(nameModule);
   
   If Not objectModule = Undefined Then 
   
      For Each subSystem In Metadata.Subsystems Do 
         
         If subSystem.Content.Contains(objectModule) Then 
            
            Message(subSystem.Name);
            
         EndIf;
         
      EndDo;
      
   EndIf;
   
EndProcedure

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.