Subsystems

 


The first step is to define subsystems. The function of a subsystem is to group configuration objects by their business purpose. Using subsystems in the future, for example, will allow you easily create the application interface. An application interface is how an application provides a user with an access to its functionality.

First, add several subsystems. Later, when adding new configuration objects, you will include them to these subsystems.

If observe entire the project requirements that were described in Start "programming" chapter, you can see that there are three separated business purpose groups:

  • Processes related to people.
  • Processes related to events.
  • Processes related to financial activities.

That is why you will create three subsystems: Contacts, Events, and Finances.

There is a common way to add configuration objects. Right click the branch of the configuration tree where the necessary objects will be located, and from the context menu choose Add (Ins) command.

The Subsystems branch is located in the Common group of the Configuration tree. Add a subsystem.

Figure 3-1. Adding a subsystem

On the right side a new configuration object editor will open. This window contains properties of the new subsystem. Name the first subsystem Contacts. 1C:Enterprise will automatically add a value to Synonym property once you press the Enter or the Tab keys being positioned in the Name property. For now, there is no need to change anything else in this window, so click Close.

Figure 3-2. Creating the Contacts subsystem

In the same way, create other two subsystems: Events and Finances. As a result, you will have the following tree:

Figure 3-3. The Configuration object tree with newly added subsystems

You added service building blocks. Next, you will add business building blocks.

Give a name to the applied solution. right now, it has a generic name Configuration. In addition, at the same time, learn one more way to edit object properties, which is the Properties window. To open this window, double-click the top row of the Configuration object tree or right-click on the top, and then click Properties (Alt+Enter).

Now, in the same way as you did for subsystems, type in the Name property the name of applied solution: Hello1C. Then edit the automatically generated value of the Synonym property to Hello, 1C.

Figure 3-4. Applied solution properties

You can verify on your own that there is a shortcut to nearly any property of configuration object in the Properties window. In this tutorial, you will use Properties on numerous occasions.

Comments
0
Add comment