Create a 1s 8.3 configuration from scratch.

Distinctive feature This online course is a presentation of material not “from theory” (structure of system objects, language syntax), but “from practice” of developing a real application solution “from scratch”. As the configuration is created according to the principle “from simple to complex,” the student becomes familiar with the various objects and mechanisms of the system. Development techniques are demonstrated to him, comments are given on the purpose and features of the use of various objects.

The material is designed both for beginner developers who are not familiar with the 1C: Enterprise system, and for those who are already creating or maintaining applications on this platform, including students who have experience working with version 1C: Enterprise 7.7 or 8.1.

The main objective of the course is to teach students the skills of practical configuration and programming on the 1C: Enterprise 8.2 platform.

The method of training is distance learning. Each lesson contains theoretical and practical tasks for independent decision.

Course content - detailed videos and text materials, downloads of reference databases, theoretical and practical assignments.

To install the reference base, you will need the 1C:Enterprise platform 8.2 (educational version) or the 1C:Enterprise client version no lower than 8.2.15.301. You can find out the version of the 1C 8.2 client you are using by selecting in the main menu in Configurator mode or 1C:Enterprise Help - About the program...

Total viewing time (10 videos): 4h 23 min

1. Introduction to the system. System startup modes. Introducing the objects of the "Enumeration" and "Directory" system.

Configuration is an application solution developed on the 1C:Enterprise technology platform.

The 1C information base is a single repository for configuration and data, characterized by a specific storage address. Two storage options available information base 1C: file and client-server version. To use the client-server option, you additionally need third-party software (one of the DBMSs: Microsoft SQL Server, PostgreSQL, IBM DB2 or Oracle). When using the file storage option, the 1C information base is one file - 1Cv8.1CD. This file has a special format supported by the 1C:Enterprise 8 system. In our lessons we consider file version storage of information base. If in this definition terms that you do not understand are used, then do not be upset - this topic will be discussed in more detail in lesson 3.

Launch mode 1C:
"Configurator" is a special mode for launching the 1C:Enterprise 8.2 system for developing and modifying an application solution. In this mode, the developer defines the general architecture of the application solution and the data structure, creates layouts and screen forms, and uses the built-in language in object modules to define object behavior algorithms. The second “profession” of the “Configurator” is administration, which includes maintaining a list of users, setting access rights, backup information base, monitoring system events (the log is configured in the configurator; viewed both in the configurator and in 1C:Enterprise mode) and performing other actions to maintain system functionality.
"1C:Enterprise" is the end user operating mode. In this mode, the user enters data into the database, generates reports, prints documents, etc.

Configuration object tree is a window that represents the entire configuration in the form of a tree structure, each branch of which describes a specific component of the configuration. The root branches of the tree unite configuration objects that are logically related to each other and have general purpose, for example, directories, documents, document journals, listings, etc.

Naming rule in 1C - the names of details, variables, procedures and functions in 1C can contain letters of the Russian and English alphabets (lowercase and uppercase), underscores and numeric characters. The name cannot begin with numbers.

A directory is an object of an application solution that allows you to store data in an information base that has the same structure and list nature. This could be, for example, a list of employees, a list of goods, a list of suppliers or customers. Directories are used in cases where it is necessary to eliminate ambiguous information input. For example, so that the buyer, seller, storekeeper, director understand what product we're talking about, everyone should call it the same. And in this case, a reference book is needed. Usually in a trading company it has the form of a price list, and if such a directory is stored on a computer, then the entire possible range of goods that the trading company works with is entered into it.

The 1C:Enterprise system allows you to maintain an almost unlimited number of necessary directories. Each directory is a list of homogeneous objects: employees, organizations, goods, etc. Each such object (individual employee, separate organization, etc.) is called a directory element.

From the user's point of view, it should be borne in mind that in the Configurator it is not the directory itself that is created, as a list of possible values, but a blank directory, its template, is developed. During the configuration process, the structure of information that will be stored in the directory is described, a screen and, if necessary, printed representation of the directory is developed, various features his "behavior".
Each directory has a Code and Name as mandatory details. The directory element code can be either numeric or text. The 1C:Enterprise system provides ample opportunities for working with codes of directory elements: automatic assignment of codes, automatic control of code uniqueness, and others.

In addition to the code and name, the 1C:Enterprise system directories can store any additional information about a directory element. To store such information in the directory, additional details can be created. Using the directory details mechanism, it is easy to organize, for example, an employee file. For example, the Employees directory will almost certainly have the attributes Position, Salary, and others.

Enumeration - objects of an application solution that allow you to store sets of values ​​in the information base that do not change during the operation of the application solution. For example, this could be a listing of possible VAT rates (Without VAT, VAT 20, etc.), a listing of the status of orders (Planned, In Work, Completed), etc.

In order to install the reference configuration you need:

3. Launch 1C and in the 1C launch window click the “Add” button.

4. In the pop-up dialog box, select the option “Add an existing infobase to the list.” Specify the name of the infobase and indicate the path to the directory with the configuration file.

theoretical test of lesson 1 - pass

Dividing an application solution into subsystems. Introduction to the Document system object. Purpose of the tabular part of the Document.

Subsystem is a logical division of an application solution (configuration) into segments, blocks, sections. Using subsystems, the application solution is visually divided into function blocks. Subsystems form the basis for forming the interface of an application solution.

A document is an object of an application solution that allows you to store information about completed business transactions or events that have occurred. In an organization, this could be, for example, invoices, hiring or dismissal orders, invoices for payment, etc.

Accumulation registers. Introduction to balance accumulation registers. Setting up your desktop. Introducing the Form configuration object.

The accumulation register is an application configuration object. This is a special storage (table) in which numerical data is calculated (accumulated) in the context of several dimensions. For example, in such a register you can accumulate information about the balance of goods by product range and warehouse, or information on sales volumes by product range and divisions of the company. The accumulation register is an intermediary between documents and reports. Its use speeds up the generation of reports associated with obtaining various total values.

Register dimensions describe the sections in which information is stored, and the necessary numerical data is accumulated in register resources.

There are two types of accumulation registers: balance accumulation registers and turnover accumulation registers.

The balance accumulation register is an accumulation register that allows you to store both the final values ​​of resources - balances, and changes in these resources - turnover.

What is good about the accumulation register?:

Has a constructor for describing changes in the register when posting documents (we don’t write code by hand);
- allows you to get the desired results at any point in time or document;
- “remembers” exactly what changes this or that document made to the results;
- all necessary changes in the results associated with canceling the posting of a document, changing a posted document and deleting a posted document are calculated automatically by the system (if necessary, you can register it manually);
- provides control over the uniqueness of records stored in the accumulation register. Due to this, the accumulation register cannot contain two entries relating to the same line of the same document.

Document movements are records in registers that are created during the process of document posting and reflect changes made by the document.

The desktop is a kind of “assistant” for the user. Every working day begins with “communication” with him. This is the first thing we see when we launch our application solution.

Forms are configuration objects designed to display and edit information contained in a database. Forms can either belong to specific configuration objects (directories, documents, reports, etc.), or exist separately from them and be used by the entire configuration as a whole.

For example, the Contractors directory can have several forms, each of which will be used for certain actions: editing a directory element, displaying a directory list, selecting one of the directory elements, etc.

The accumulation register can have only 3 types of forms:

The list form is the same as we open all functions through the menu - the accumulation register, in this form you cannot make changes to the register, but you can make various selections and sorts;
- record set form - this is a similar form, but in it you can edit register entries: add, delete and change them;
- free form - we display what we consider necessary - in our case, in the 3rd lesson of the course, we display the current balances in it.

Uploading the reference database created in lesson 3 without completing homework

Accumulation registers. Introduction to registers for accumulating revolutions. System object Constant. Working with the Form configuration object.

A constant is an application configuration object that allows you to store data in the information base that does not change over time, or changes but very rarely. Each constant allows you to store one value. For example, the Constant can store the name of the enterprise, the address of the enterprise, the name of the chief accountant, etc. An arbitrary number of constants can be created in an application solution.

The turnover accumulation register is a more “specialized” type of accumulation register and allows you to store only changes in resources - turnover. The existence of a register for accumulating revolutions is due to the fact that there are a large number of situations when only revolutions need to be accumulated, and the values ​​of the balances do not make sense. A typical example of using a turnover accumulation register is the Revenue register or the Cost of Sales register, which stores only information about sales volumes.

Command bar is a toolbar designed to be placed on a form with a set of commands that can be used to manage information placed in the form. The command panel is a window with a set of buttons. Clicking any of the command bar buttons executes the command associated with that button. There may be several in the form command panels, or there may not be any. The configurator does not limit the number of command panels.
The command panel can be customized: add new commands, and delete unnecessary ones.

For each command bar, you can select the Autofill property and specify different action sources. In this case, the Configurator will generate the composition of the panel commands automatically based on the form type and the specified sources. Commands inserted this way cannot be deleted or corrected, but new commands can be added. Unchecking the Automatically Fill command bar property removes all automatically generated commands. Only manually added commands remain in the command panel, and you can independently create the set of commands you need.

Command bar property "Action Source" - defines the source of actions for the command bar. You can specify "All Sources" or select a specific activity source. Controls placed on a form can provide a set of actions associated with their own properties. So, for example, with a list you can do various actions for adding, editing, deleting, selecting, viewing and other actions. In the property, you can specify a specific element or shape, or you can select all elements and shapes as the source.

A compilation directive is an instruction that tells the 1C platform in which environment a given procedure or function will be executed. A directive always begins with an ampersand - the “&” sign. If there is no directive, then the default directive is used - &OnServer. Using several directives for one procedure (function) is impossible.

Built-in programming language 1C:Enterprise 8.2. Location of software modules. Structure of program modules. Primitive data types. Basic syntax of the 1C language.

A software module is a kind of “container” for placing the texts of procedures and functions in the built-in 1C language. These procedures and functions are called by the system in certain moments system operation. Software modules do not have formal boundaries for their description of the type: “Beginning of module” - “End of module”.

Software modules are placed in those places in the configuration where a description of specific operating algorithms may be required. These algorithms are formalized in the form of procedures or functions that will be called by the system itself in predetermined situations (for example, when a button is pressed in a dialog box, etc.). Each individual software module is perceived by the system as a single whole.

During the lesson we were introduced to the following software modules:

Module managed application. This module describes procedures (event handlers) that are initialized at system startup and termination. For example, when an application starts running, you can update some configuration data, display messages to the user, and when finishing work, you can ask whether it is worth exiting the program or, for example, record the user’s shutdown time in the database.
external connection module. The external connection module is triggered when the application is launched in COM connection mode. In this mode it happens program work with an infobase without launching the application window.
session module. This is a highly specialized module designed exclusively for initializing session parameters.
common modules. Common modules are intended to describe some common algorithms (procedures and functions) that will be called from other configuration modules.
configuration object module. This module is available for most configuration objects and is designed to process events directly related to the object. For example, events of recording or deleting objects, checking the completion of object details, posting a document, etc.
form module. The form module is designed to process user actions with this form (processing a button click event, changing form attributes, etc.).

Structure of program modules
The software module may include three sections:

Variable declaration area;
area of ​​description of procedures and functions;
main text of the program.

In a particular software module, any of the sections (or even all sections) may be missing. Let's get acquainted with the sections software module in more detail:

The variable declaration area is located from the beginning of the module text to the first Procedure or Function statement or any executable statement. This section can only contain Variable variable declaration statements.

The area of ​​description of procedures and functions is located from the first operator Procedure or operator Function to any executable statement outside the body of the description of procedures or functions.

The main text area of ​​the program is located from the first executable statement outside the body of procedures or functions to the end of the module. This section can only contain executable statements. The main program text area is executed at the moment of module initialization. Usually, in a section of the main program, it makes sense to place operators for initializing variables with any specific values ​​that must be assigned before the first call to procedures or functions of the module.

Types of variables in program modules
A variable is a named temporary store of a single value that can be read and modified during program execution.
There are 3 types of variables:

Global variables. The value of this variable can be read or changed from another program module;
module variables. A module variable is available for reading and writing (changing) in any procedure and function, as well as in the main program text area of ​​a given program module.
local variable. A local variable is accessible only within the procedure or function in which it is declared.

A variable is declared (explicitly) using the Variable operator. In the 1C language, variables do not have to be declared explicitly. An implicit declaration of a variable is its first appearance on the left side of the assignment operator (the = sign). The type of a variable is determined by the type of the value assigned to it. During program execution, a variable can change its type (soft typing), for example:

Variable1 = "Ivanov"; //implicit variable declaration, variable type (what it stores) String

Variable1 = 32; //assigning a new value to our variable, now it is of type Number

1C language syntax
In this lesson, we got acquainted with basic (primitive) value types, syntax and operations with them. Please pay special attention to the syntax of compound logical expressions, conditions and cycles.

Properties of Common Modules. Creating a reminder system. Advanced work with forms. Program description behavior of the form when interacting with the user.

In what cases are common modules used?

If a procedure or function is called in more than one place in the configuration, or if we need to perform server-side actions (for example, access a database), and this is not possible in this module, then in such cases we should use Common Modules!

Properties of Common Modules

The main feature of Common Modules is that you cannot declare common variables in them.
The properties of a specific Common Module are set in its properties palette:
Global – if the flag is set, then the procedures and functions of this module become available in a global context, that is, they can be called anywhere in the configuration, accessing without the name of the General module (by the name of the procedure or function itself). However, the names of procedures and functions in this Common Module must be unique within the global context.

Server - procedures and functions of this common module can be done on the server side.

External connection - the procedures and functions of this common module can be performed when connected to an external source (for example, COM).

Client – ​​procedures and functions of this common module can be executed on the client side.

Server call is a flag that allows client procedures and functions (executed on the client side) to call procedures and functions of this common module.

Privileged – if the value is True, then access rights checking will be disabled in this common module. Significantly speeds up the execution of module procedures and functions, but do not abuse this setting.

Reuse – defines settings for return values. If the option is enabled, then after the first execution the system will remember the value for these input parameters and will return a ready-made value. Can take the following values:

Not used - disabled reuse;
for the duration of a call – for the duration of a certain procedure;
for the duration of the session - until the user closes the session (has not finished working with the program).

The first part of the lesson ends with creating the form of our directory element

Part 2 of the lesson

The second part of the lesson is entirely devoted to programming the Reminders directory element form: changing the properties of the directory form details depending on user behavior.

To access the current value of an object attribute located on the form (in this case, to access the value of the Reminders directory attribute), use the Object property:

//set new value
Object.Date = "2014.02.02";

To manage the properties of form details, use the Elements property:

//set new property value
Items.Duration.Availability = True;

Advanced work with forms. Software installation selection. Using the Format() function. Reports

Even if you have previously studied other programming languages, for example, C++, PHP, Java, it is worth remembering that 1C, although similar in many ways, still has many fundamental differences.

The most important thing in 1C is that you don’t need to come up with your own types of objects. All of them are already in the configuration.

Install the 1C technology platform on your computer and open a new or existing database in the configurator. For starters, you can absolutely use it to teach programming.

On the left side of the window you will see a tree of configuration objects. These include documents, directories, registers, business processes and much more.

The data is also stored in the DBMS, but the developer usually does not work with it directly. Using the technology platform, the programmer accesses configuration objects or information base.

In 1C, as in many other programming languages, queries are used very often. similar to T-SQL language. Requests can be written in both English and Russian, just like the rest of the code.

Everything seems simple, but to work “in the field”, knowledge of a programming language is most often not enough. The fact is that most organizations using 1C have standard configurations installed, and you need to know them.

In terms of work for 1C programmers, there are two main branches: franchisees or working for oneself and working as a full-time programmer in the IT department of any organization. This choice depends only on your preferences.

When working for a franchisee, freelancing or running your own business, payment will be piecework. There can be a lot of work and you need to give it your all. There is no upper salary limit here, and you can earn an impressive amount of money.

If you decide to work as a freelancer or open your own business, you will not need to “share” your earnings with anyone (except for the state and the freelancing platform, of course). But in this case, you will need to look for clients yourself.

If you nevertheless decide to get a job in an organization as a full-time programmer, then you will have little dependence on the amount of work performed. In this case, there is some stability, but the salary level is also limited.

Of course, these two methods can be combined, working as a full-time programmer during the day and freelancing in the evenings.

What’s good about 1C programmers is that you may not have a technical education (for example, you are an economist, accountant, etc.). To prove your knowledge to clients or employers, you can provide your 1C certificates.

Certificates come in various types, both by platform (for programmers) and by standard solutions. You can get them from the 1C company by passing an exam in the form of a test or a practical task.

Books on 1C

It is best to study 1C from books that were published by 1C. So to speak, from the original source. Some of them come with standard configurations. You can also buy individual books.

The book “1C: Programming for Beginners” is intended for people who are far from programming, but want to learn how to create their own solutions on 1C 8.3 from scratch.

“Hello, 1C” shows the simplest, most basic development capabilities application solutions in the 1C:Enterprise 8 system.

"101 Tips" describes various ways solving the same problems.

Practical guide for 1C Enterprise 8.3 developer - a very detailed guide that describes development techniques with simple and understandable examples. This book one of the best for learning 1C programming.

This tutorial describes a query language from scratch for those who are not even familiar with SQL.

Creating a new information base (hereinafter referred to as the base) may be required if you need to work not in the working database, but in its copy, as well as in the case of the initial creation of a new database in 1C 8.3 Enterprise for a new enterprise.

There are two ways to create a database in 1C 8.3 from scratch:

  • Creating a database from the configurator;
  • Creating a base from a template.

Let's consider both methods.

Method 1. Creating a database from the configurator

Let's assume that there is an archive of the working 1C 8.3 database and you need to create a copy of it. First, let's create an empty folder anywhere. For example, on drive E. Let's call it - New base:

Open the 1C Enterprise 8.3 launch window, click the button Add, and in the window that opens, set the switch to the mode for creating a new database and press the button Next:

A new window will open in which you need to set the switch to create a database without configuration and click the button Next:

In the new window you must enter the name of the database, for example, New base. Next, select a location on your computer or server and click the button Next:

In the new window you need to indicate the location where the new base will be located. We will leave the default language – Russian. You can enter the path from the keyboard or click on the button and select the folder where you created it in advance - New base:

Let's press the button Folder selection, in the add database window the path to the directory will change:

A new 1C 8.3 database will appear in the launch window, and at the very bottom of this window - the path to this database, that is, where it is physically located on the computer:

If you open the folder New base, then we will see that some files were automatically created and, in particular, the file 1Cv8.1CD- this is the new empty database:

While it is empty, it must be filled with data. Let's assume that there is an archive of the working database - this is a file that can have any name with the extension - DT, for example New database.dt.

In order to unpack this archive, let’s open the configurator. Select the created new database in the launch window and click on the button Configurator. The configuration window will open. When you press the button An empty configuration will be created:

Let's open the menu Administration – Load infobase:

In the opening window select required fileNew database.dt and press the button Open:

The 1C 8.3 program will warn you that data may be lost. We agree with this and press the button Yes:

The database loading process will begin:

The download process can be quite long depending on the amount of data being downloaded and the power of the computer. When the download process is complete, the information message. Let's press the button No, that is, we will not open the configurator further:

Open the launch window, select the base - New base and press the button 1C:Enterprise. The process of launching the database will begin, select the required user in the database access window and press the button OK:

The 1C 8.3 program will open in user mode with information that the database has been moved or restored. Since we restored the database from backup copy, then press the button This is a copy of the infobase:

A new base is opening. Further actions are performed as with any other working base:

Method 2. Creating a database using a template from the ITS disk or from the 1C website

With this method, you can create a new database: empty or demo for 1C Accounting 8.3. ed. 3.0 using configuration templates. To do this, you must first install a configuration template from a special file taken from the ITS disk or from the 1C website - this archive file with name setup.

Let's assume that there is such a file, located in the folder indicated in the figure:

Let's unpack this file and run the file setup as shown in the picture:

Let's select a folder tmpts, into which configuration templates are placed. It is better to leave this field as default. The figure shows an example where the folder tmpts not specified by default:

Let's press the button Next. The installation process will begin. At the end of the installation process, you must uncheck the box. Open delivery description and press the button Ready. In a folder tmpts two folders will be created automatically:

Now let's move on to the second part. Let's launch the 1C Enterprise program launch window.

The first steps are the same as in method 1 - button Add, setting the switch to the position of creating a new base. Let's press the button Next. In the window that opens, select the option of creating a database from a template and select folder 1 C Accounting:

Please note that further actions are not possible, i.e. the button Next not available. Indeed, you only chose a folder, not a template. To choose required template You need to click on the button in the selected folder and select the required configuration release (required template) in the window that opens:

Please note that the process of creating a new 1C database is quite lengthy compared to method 1. This is normal, since now it is not an empty database that is being created, but a database of the 1C Accounting 8 program.

After creating a new clean database, it will appear in the launch window:

At the bottom of the window is the path where this base is physically located. If you press the button Change, then you can change the name and location of the database:

Important! When you click the Delete button, the selected database is not deleted from the computer, but only the link to it is deleted, that is, the path to the database indicated at the bottom of the 1C program launch window.

Select the desired database and launch it in user mode - button 1C:Enterprise:

How to create a new database using a configuration template from the ITS disk or from the 1C website, see our video lesson:

Instructions for creating an empty 1C 8.3 database for PROF and basic versions

For the basic and PRO versions, creating an empty database by loading a configuration file is not the same. You cannot create a base version from an empty base without configuration. This is only possible for PRO versions. Basic versions have restrictions on modifying the configuration, and loading a configuration file into an empty database is blocked precisely for this reason in basic version. We will consider what needs to be done in this case below.

Method for creating an empty 1C 8.3 database for the PROF version

First, let's create an empty folder anywhere on the computer and call it Empty base. Next, let's create a new database - 1C Accounting 3.0 Blank in the same way as creating a database from the configurator with Method 1.

In the 1C launch window, select the required accounting database. For example, Enterprise accounting (demo) 41.53 – 43.243:

Let's open the configurator and run the command - Configuration – Save configuration to file:

In the window that opens, select Desk, where we will save the file with the extension cf– configuration file:

Let's close the configurator window. Select in the launch window 1C – BP 3.0 Empty and open the configurator. Let's press the button

The configuration window will open:

Let's execute the command - Configuration – Load configuration from file:

In the window that opens on the Desktop, we will find the previously created work database configuration file - 1Cv8.cf, select it and press the button Open:

The download process will begin:

At the end of the process, the 1C 8.3 program will offer databases. Let's agree to this by clicking the button Yes:

After some time, a new window will open where you need to accept the changes by clicking the button Accept:

After the process is completed, you can check whether the installation is correct, as shown in the figure:

Close the configuration window and run the created database in user mode:

The initial data filling will begin:

After this it will appear home page where to enter account, click the connect button and start working:

Method for creating an empty 1C 8.3 database for the basic version

Let's assume that there is full distribution basic version. You need to install the template of this distribution on your computer. This is done in the same way as for the PROF version (see Method 2). A new database will appear in the 1C program launch window:

Thus, we installed an empty database, but it is not relevant.

In our example, the base is from 04/27/2016, and the latest base at the time of writing this article is from 07/20/2016. Therefore, it is necessary to update to the latest release. To do this, go to the user support site - http://www.users.v8.1c.ru and select Software updates:

In the window that opens, you must enter your username and password and enter program updates:

Find the group in the table Typical configurations from 1C for Russia and the required release:

Click on the name and open the update table. Let's find the release that we installed - 3.0.43.206:

The 1C program is built in such a way that it is impossible to immediately update to the desired version; a sequential update is necessary. In order to understand what updates you need to download, you need to look in the column Version update version 3.0.43.206:

We see that last entry refers to version 3.0.43.239. Therefore, you need to download this update distribution. By clicking on the version number, go to the distributions page and follow the hyperlink Update distribution, and then follow the hyperlink Download distribution:

The process of downloading this distribution will begin:

We do the same for other versions. In our case it is: 3.0.43.239 (already downloaded) 3.0.43.252, 3.0.43.253. This key versions, which cannot be “jumped over”, that is, if the version is not installed on the computer 3.0.43.239, then you can't update to versions 3.0.43.252, 3.0.43.253.

When downloading latest version Please note which version of the 1C Enterprise 8 platform this configuration can work with:

We see that the platform version must be no lower than 8.3.6.2076. If the platform version is lower, then you need to update the platform version to the specified one or higher.

After you have downloaded all the necessary distributions, close the site and return to your computer and open the folder into which the distributions are downloaded:

So it should look like:

After we have installed all the update templates, move on to the next step.

Let's open the configurator of the database we created and execute the command Update configuration:

Select search for available updates:

A description of the update will appear, you can read it, or you can immediately click on the button Continue update:

We see current version, and the version to which the database will be updated:

Let's press the button OK, the update process will begin:

Let's wait for completion and update the database using the button Yes:

We accept all changes:

Let's check that we have installed the required configuration release:

You must repeat the update operation until the latest release is installed. In our case it is - 3.0.43.253.

By button Change Let's change the name. For example, on Basic enterprise accounting 3.0.43.206-253. note that this operation can be done at any time without closing the configurator:

Close the configurator and open the database in user mode. Waiting for the update to complete:

We read what has changed, press the button Close. The base is ready for use:

The described process requires a lot of time, attention and patience, but it eliminates errors when updating the configuration.

There is another way to update the configuration, it is an order of magnitude faster, but when updating the database, that is, reorganizing the structure of the configuration information, errors are possible. Therefore, before accepting changes, they must be carefully studied. If there are errors, then it is advisable to correct them before the update begins, so that later you will not be tormented by the question: “What happened to my database?”

In order to use this method, you need to enter the configurator in the working database and save the configuration to a file named - *.cf, where * means any name:

Specify the saved file:

The configuration update window will open. Let's press the button OK and wait for the update to complete:

Before you accept the changes, you need to analyze them for errors when updating the database configuration. In our case there are no errors. Accept these changes and check that the correct version is installed. Next, close the configurator and launch the 1C 8.3 program in user mode.

21.07.2017

How to make a clean copy of an existing 1C:Enterprise infobase using a cf file

Get access to the 1C:Fresh cloud for free for 30 days!

Sometimes there is a need to create a new clean information base based on an existing one.
This may be required, for example, when you use some kind of atypical configuration 1C with unique changes and you need to create a clean information base with exactly the same configuration, but without data.

Naturally, in this way you can make a copy of the standard configuration, but when creating a new database from a cf file, as a result you get an absolutely clean configuration, even the data that is filled in automatically when creating a new database with a standard installation from a template, for example, in a standard configuration, will be empty "Enterprise Accounting" nomenclature groups are not filled in.

We do not recommend using this option for creating an information base by untrained users. To create new information bases of standard configurations, we recommend installing standard methods from the template.
How to add a new clean 1C:Enterprise database from a configuration template.

Where can I get distributions?
Registered users of the basic versions of the configurations "1C: Salary and Personnel Management" (rev. 3), "1C: Trade Management" (rev. 11) can for free download current versions complete installation distributions of configurations on the technical support website https://releases.1c.ru. Users of the basic versions of "1C: Enterprise Accounting", "1C: Management of Our Company", "1C: Retail, etc. can request installation distributions by email directly from the 1C company (free of charge) or contact 1C partners, but in this case the service may be paid. For example, in our company the cost of sending the current distribution of the basic version to the user’s email costs 500 rubles (confirmation of licensing is required. software product). For users of PROF versions of 1C programs, current installation distributions of standard configurations are provided only if they have a valid agreement for information technology support (ITS Agreement).
The minimum option for an ITS agreement for 1 month is RUB 5,493.

You can subscribe to ITS in our company even if you are in another region of the Russian Federation and purchased the 1C program itself elsewhere! The only condition is that the program must be licensed.

So let's get started.

There is an initial working information base for the "Enterprise Accounting" configuration, edition 3.0 (3.0.46.16).

It is necessary to create a copy of this database, with exactly the same configuration, but clean without any data.

The procedure consists of three main stages:

1. Saving the configuration to the file 1Cv8.cf
2. Creating a new infobase without configuration

Stage 1. Saving the configuration to the 1Cv8.cf file

We launch the source database in the "Configurator" mode.

If this line is not available, then first execute “Configuration” > “Open configuration”.

Using Explorer, select the location on the computer where we will save the 1Cv8.cf configuration file. We remember where.

After a few seconds, we receive confirmation that saving the configuration to the 1Cv8.cf file was completed successfully.

We launch a new clean database in the "Configurator" mode.

Select "Configuration" > "Load configuration from file". If this line is not available, then first execute “Configuration” > “Open configuration”.

Using Explorer, select the file 1Cv8.cf, which was saved at the first stage.

The information reorganization procedure will be launched, and a list of new configuration objects will appear in the “Changes in the structure of configuration information” window. Click "Accept".

Press F5 or the "Start debugging" button (see figure).

The program runs in "1C:Enterprise" mode.

After filling out the initial information, a standard home page will open on which you will be asked to enter your login and password on the 1C portal.

We check in the properties "About the program" - Configuration "Enterprise accounting edition 3.0 (3.0.46.16)", which is what we needed.

If this information turned out to be useful for you, then like the article on social networks and share the link on your favorite forums))).

Online Company, 2017

Login to the site as a student

Creating 1C configurations: development process

We continue to study the basics of creating configurations on 1C.

In general, configuration development looks something like this:

The programmer comes up with what types of reference books, documents, reports and processing will be needed by the user. For each species he comes up with his own name.

Invents the "Employees" directory

Well, for example, he starts new look directories "Employees".

Then he reasons like this: “Yeah, since I decided to store all employees in the directory, then they will already have the “Code” and “Name” fields, because these fields are required for all directories... So, in the “Code” field I will store the employee’s personnel number, and in the “Name” field his last name, first name and patronymic. But these fields are not enough for me, because for each employee I still need to know at least his date of birth, number and series of passport. additional fields with the names "Date of Birth", "Passport Number", "Passport Series" for the directory "Employees"".

Comes up with the document "Hiring for Work"

Next, the programmer understands that it will be necessary to somehow reflect it in the database
personnel operations for hiring employees. And then he remembers the “Documents” configuration section.

And it creates a new type of documents “Admission to Work”.

He further reasons: “Yeah, since I decided to store all job applications in the form of documents, then they will already have the fields “Number” and “Date”, because these fields are required for all documents. So in the field “Number” I will store the number of the personnel order for employment, and in the “Date” field the date of this order. But these fields are not enough for me, because I must indicate which employee this order relates to. Therefore, I will create an additional field with the name “Employee” for the document “Hiring”. ".

Creates a report "Employee List"

Here it occurs to the programmer that it would be nice to be able to output to Print list of employees. You are reading a trial version of the lesson, full lessons are available. And then he again remembers such a configuration section as “Reports”.

And it launches a new type of report “List of Employees”, which prints all employees from the “Employees” directory.

Comes up with the processing "Deleting Fired Employees"

And finally, he decides to write a processing “Deleting Fired Employees”, which, when launched, will delete from the “Employees” directory people who no longer work at the enterprise.

What comes out of this in the configurator

After all these manipulations, the configuration tree looks like this:

Since you are still ( just for now!) you can’t do all these manipulations - I did it for you (it took me a minute):

Download the download and upload "Azy" inside our database as described in the instructions "".

After this, your configuration tree should look like the figure above.

What does this mean in user mode?

Amazing. We can say that we have already developed something. Let's finally look at all this disgrace from the user's side.

To get into user mode (1C:Enterprise), we don’t have to close the configurator, launch 1C and click the “1C:Enterprise” button in the list of databases. You are reading a trial version of the lesson, full lessons are available.

If we are already in the configurator of the desired database, it is enough to execute the main menu command "Debug" -> "Start debugging":

Let’s execute this command and get into 1C:Enterprise mode, which for our database will look like this:

Pay attention to the yellow panel: here is our “Employees” directory, the “Hiring” document, the “List of Employees” report and the “Deleting dismissed employees” processing (you need to open the menu to see them).

You noticed that I began to write not “Hiring”, but “Hiring”; not “List of Employees”, but “List of Employees”?

This is explained by the fact that in configurator mode spaces cannot be used in names, so such “blind” names are used there, but in user mode spaces are allowed, so more friendly options are used as names.

For students

Be sure to repeat all the actions that we perform in the lessons of this module. A theory that is not supported by practice means nothing.

Login to the site as a student

Login as a student to access school materials

Share