the Internet Windows Android

1C Updating auxiliary data. Refresh reference identifiers of metadata objects not monopolis

Each programmer in the process of its work meets such an error.

Removed, launched 1C with the key "/ from running reducing informational base." Launched, the global process began, which ended with a curses about working users. Not trouble, you thought, I will do at night. Newbies decide the question is even easier, will interest all users, update, voila, you can work.

Once, the second. Updated, tomorrow again the same problem, already M to another report, role or something else.

We decide to try the second way, searching for the processing developer tools update auxiliary data. But it turns out and it works only in monopolistic mode.

Do you need to drive out all users every time?

It turned out that it is not necessary, so I imagine your new processing to your court that does not require monopolized access.

The processing code is not complicated, but the installation of a monopoly mode is blocked directly in the executable code, a single problem, one way or another during the processing hours, and unless updating the data, then everything happens at the time, the work of users will be blocked for a short time and no one needs to be driven out.

The only inconvenience is that with the update of the BSP version, you will probably have to update the processing itself.

Part of the processing code:

& Nasserver Procedure of Danserver () updatedanens and an object (object. Estimation, object. Estimated, object. Tolkopverter); End Controlments & Cutting Procedure Yes (Team) Danserver (); Message \u003d New user message; Message. Act \u003d "Update completed!"; Message. Schedule (); Extrudresses & Nasserver Procedure of the Server (Failure, Standard Processing) Object. Estimation \u003d Truth; Object. Estimated \u003d lies; Object. Total test \u003d false; Object. Conscitions use \u003d "2.3.5.29"; Attempting the object. ConsideySystems \u003d Standard SystemsServerer. ServicesBibelers (); Elimination failure \u003d truth; Message \u003d New user message; Message. Act \u003d "This processing cannot be executed on your system. Not installed BSP!"; Message. Schedule (); Celebrations; Extra-Procedure & Complaint Procedure (Refusal) If SOCRLP (Object. Conditions)<> Sokrlp (object. ConsideyBSSystems) Then message \u003d a new user message; Message. Text \u003d "Does not coincide the version of the BSP of your system and the version of the BSP, which is written to the processing! | Version of the BSP of your system:" + Object. ConsideyBSSystem + "| Version of the BSP, which is written processing:" + Object. Incorrect work is possible! We advise you to download a new processing for your version of the BSP. "; Message. Schedule (); Warning ("Pay attention to the difference in the versions of the BSP of your system and the version of the BSP, which is written processing!"); Ended; Extrudresses

Similar developments.

Subsystem "Developer Tools" (old Sergey, 1C 8.2, 8.3)

2017-02-15T12: 53: 51 + 00: 00

Developer's tools are written by a super professional programmer Sergey Older (Contact it) and published with its permission.

Description

Developer's tools are a wonderful collection of miracle treatments combined into one subsystem:

  • Removing objects with link control;
  • Search for broken links;
  • Search for object references;
  • Selection and processing of objects;
  • Search for a double and replacing links;
  • User editor;
  • Code console;
  • Request console;
  • Structure of storage database;
  • Analysis of the technological journal;
  • Session parameter editor;
  • Setting storage editor;
  • Analysis of registration log;
  • And many other tools.

All these treatments have written and has been supporting a real professional for many years. Sergey Starykh.

How to start working with tools

Developer's tools are supported by Sergey in two versions: main and portable.

Main option:

  • It is required to embed in the base configuration.
  • Gives more opportunities.

Portable option:

  • Does not require configuration changes and opens as external processing.
  • Gives less opportunities.

I propose to start with a portable one, and if it wanted more to the main option.

Download the tool archive

If you can - download right from Sergey's site, here is the link.

If his site does not work - this is a mirror of instruments on my site:

Unpack the archive

Unpack the downloaded archive, for example, in the Developer Tools folder on the desktop:

Open from your base you need to process "Iriportative.epf". This tool menu and already through it we will open all other processing:

Run instruments

Sweep the mouse to the icons and try, master the tools you need. When used by using them, you can work wonders!

Possible problems

Portable tools work only on ordinary forms. This means that you will not be able to run them on the client in the controlled application mode.

To use tools in such a database - Run it with the key / RunmodeOndInApplicationwhich triggers a thick client in normal mode, despite configuration settings and user.

If you use as a starter, then you can achieve this effect:

  • Highlighting the database and pressing Ctrl + F3
  • In the menu that opens clicks the thick client button (OF)

How to update tools

To update portable tools - click on the help icon on their panels:

In the window that opens, use the "Update to the Actual Version" button:

Where you can see the training rollers

Sergey has its own channel on Youtube with educational rollers on developer tools: link

Thanks

Yours faithfully, Vladimir Milkin (teacher

In adding new configuration objects for typical configurations for 8.3 (UT, BP, etc.) there are several features:

1. Added a reference book "Identifiers of metadata objects", designed to store the list of metadata objects.

2. A convenient procedure is deleted (for BP 2.0), which allows you to bring the print form to a universal print window

Universal Mechanisms. Print Document (Tabd Course, Multipleness, Shot, Header, Directorate, Link, Name Line)

Consider the solution of these features on the example of the order "order-outfit" for the model accounting of the enterprise 3.0.

1. Allowed editing configuration objects - the "Configuration" menu - "Support" - "Support Configuration". In the window that appears, select "Enable Change Ability". In the next window, set the switches to the "Edit Support Save"

2. We will add a new "Zavdon District" document with a list of details and tabular parts.

3. Add a list of the list and document, to be issued accordingly.

4. Start debugging and try to open a new document in "1C: Enterprise" mode.

The following warning will be issued:

Error when performing the function of the regional foundation. Sayentifier objectsMatadada ()...

All possible ways to solve this error are given in the message text. Consider each:

- Take advantage of the external processing "Developer's Tools: Updating Auxiliary Data"

this processing can be downloaded for ITS or use the processing offered on inforota http://infostart.ru/public/295372/index.php?id\u003d295372

Both treatments are intuitive:

Fig. Treatment "Developer Tools: Updating Auxiliary Data"


Fig. Processing "Refresh Reference Identifiers Metadata Objects"

The only remark - processing from the ITS disk does not always work out!

- Run the program with the command line parameter 1c: enterprises 8
"/ From Running Relationship Base"

To do this, click the "Edit" button in the configuration window and reach the last edit window:

In additional startup parameters, we prescribe a string / C running reducing informational base. Press ready.

Please note that the letter "C" in English layout!

- Increase the configuration version number so that the information base data update procedures are completed at the next start.

Increasing the configuration number is carried out in the configuration properties.

After changing the configuration version, launch debugging.

In the enterprise mode, confirm the legality of receiving the update.

Attention! This method does not work for ut 11

5. After one of the following procedures, the new document will appear in the metadata directory and it will be possible to start in the "1C: Enterprise" mode.

6. To display printed forms, in the form of a document and in the form of the list it is necessary to register the following procedures.

& NASTERER PROCEDURE PROCEDURE (Failure, Standard Processing) Control. The driver (form, elements. Groupworthy); Extrudresses & Clause Procedure Connectable_Textoomagress (command) Control. Completely connected Command Print (team, form, object); Extrudresses

Since I suggest displaying the print button to a group of important commands, you must add it on the form

In the document manager module, you need to register procedures for calling the print and forming a printed form.

//////////////////////////////////////////////////////////////////////////////// // Processes and Print Functions // Fills the list of print commands. // // Parameters: // Commands - Table Tables - The composition of the fields, see the Functions. Control. CalculationClectionCine // Procedure Add Command Printing (Commands) Export // invoice Text True \u003d Command Print. Add (); Trucks. Identifier \u003d "Zavrusive"; Trucks. Representation \u003d NSTR ("RU \u003d "Order- Outline""); Team typ. Slipform \u003d" Form clever , Formadocument"; Extrudruces // shape printed forms of objects // // incoming: // Nameamaches - String - the names of the layouts listed through the comma // Massive objects - an array - array of references to objects that need to be printed // Paramets Print - Structure - Structure of Additional Print Parameters // // Outgoing: // Collection Printform - Table of Values \u200b\u200b- Forged Table Documents // Parameters Overview - Structure - Settings formed tabular documents // Procedure Printing (arms, parameters, parameters, collection, objects, objects, parameters) Export parameters. AvailableProductable \u003d truth; If you control. Need the machine (collection of typographicform, "Za Zaklona") then inclusions \u003d lies; Control. Withdrawal DocumentsTlikolkiya (Collection Printform, "Zaboneda", "Order - Outfit", Patchdocumen (arms, objects, objects)," Zaboned "); ended; omnipotesBCP. FILLATING PLANTARAGEMENTSPHEMPAPERS (arms, collections. Print forms, objects, parameters); Extrudresses // Function forms a tabular document with a print form, // // Return value: // Tabular document - Printed form of the invoice // Printing Function (Massives, Object Print) Export. . . ; Return table document document; Endfunction

7. Start debugging and check the type of print button in "1C: Enterprise" mode

8. To add print options for additional external forms, you must add the option of calling the "Additional Print Forms of the Object" command.

To do this, in general commands, we adjust the type of command parameters by adding a link to our document to it.

In the form of a list and document on the command "Command Interface", the use of this command will be displayed.

9. When adding an external printed form, the print menu will look like this

Package for revaluation of fixed assets for programs "1C: Accounting 8" ed. 2.0 and ed. 3.0 and "1C: Management of the production enterprise" Ed. 1.3.

Instructions for installation "1C: Accounting 8" ed. 2.0

Installation Instructions supplements for the revaluation of fixed assets for the program "1C: UPP" Ed. 1.3. Can be found on the article.

Installation Instructions supplements for the revaluation of fixed assets for the program "1C: enterprise accounting" Ed. 3.0 Can be found on the article.

Attention!

Users program "1C: Accounting 8" can set the acquired package to update the typical configuration. For this, the configuration combined mode is used. First of all, you need to allow making changes to the configuration (see Fig. 1).

Fig. 1 Enable configuration change

cF. New objects

Fig. 2 File selection to combine configurations

Be careful when combining and install the checkboxes exactly as in Fig. 3. A part of the objects existing in the file intended for the merge is included only to set the correct type of details of the documents. These objects themselves (in fig. 3.1 they not marked with checkmarks main configurations (in fig. 3.2 they marked tickles).

Fig. 3 Configuration Combining Configuration

Fig. 3.1 Example object that no need to take from the file (a check mark should be removed)

Fig. 3.2 Example of an object that need to take from the file

When combined, a window appears, entitled as "intractable links". Do not be afraid of this, just click the "Continue" button (see Fig.4).

Fig. 4 Availability of "unresolved links" in the process of association

The union will pass normally. After combining in the configuration structure, new objects will appear (see Fig. 5), you need to take these changes. They are not yet saved. To do this, click the "Update database configuration (F7)" button, and then in the Reorganization of Information "window that appears, click the" Accept "button. This configuration combined will end. After combining, you can open the "OS Revaluation" document log through the menu: "Operations - Documents - OS Revaluation".

Fig. 5 Amendments

The OS-6 report is set as an additional external printed form to the "Fixed Tools" directory. To do this, open the list of external printed form list (see Fig. 5.2): Menu - Service - Additional reports and processing - additional external printed form. Click on the "Add" button and specify the OS6.epf file.

Fig.5.2 Installing the external printed form to the reference book "Fixed assets".

Instructions for installing a supplement for revaluation of fixed assets for the program "1C: Management of the production enterprise" Ed. 1.3.

Attention! Before combining, be sure to make the archive of the information base.

Users program "1C: Managing Production Enterprise" may install a purchased package to update a typical configuration. For this, the configuration combined mode is used. First of all, you need to allow making changes to the configuration (see Fig. 6).

Fig. 6 Enabling configuration change

When you select the configuration combination mode, you need to specify the 1CV8 file.cF. intended for combining. Attention! All modifications are installed as New objectsThus, further configuration updates are made automatically. But!

Fig. 7 File selection for configuration combined

Be careful when combining and install the checkboxes exactly as in Fig. 8. A part of the objects existing in the file intended to be associated only to set the correct type of details of the documents. These objects themselves (in fig. 8.1 they not marked with checkmarksIn no case should not participate in the union. The general rule - checkboxes must be installed only in those objects that are missing in main configurations (in fig. 8.2 they marked tickles).

Fig. 8 Configuration Configuration Setup

Fig. 8.1 Example object that no need to take from the file (a check mark should be removed)

Fig. 8.2 Example object that need to take from the file (a tick must be delivered)

When combined, a window appears, entitled as "intractable links". Do not be afraid of this, just click the "Continue" button (see Figure 9).

Fig. 9 Availability of "unsolvable references" in the process of association

The union will pass normally. After combining in the configuration structure, new objects will appear (see Fig. 10), you need to take these changes. They are not yet saved. To do this, click the "Update database configuration (F7)" button, and then in the Reorganization of Information "window that appears, click the" Accept "button. This configuration combined will end. After combining, you can open the "OS Revaluation" document log through the menu: "Operations - Documents - OS Revaluation."

Fig. 10 Adoption of Amendments

Instructions for installing a supplement for revaluation of fixed assets for the program "1C: Account Accounting" Ed. 3.0

Attention! Before combining, be sure to make the archive of the information base.

Users program "1C: Company Accounting" can set the acquired package to update the typical configuration. For this, the configuration combined mode is used. First of all, you need to allow making changes to the configuration (see Fig. 6).

When you select the configuration combination mode, you need to specify the 1CV8 file.cF. intended for combining. Attention! All modifications are installed as New objectsThus, further configuration updates are made automatically. But!

Be careful when combining and install the checkboxes exactly as in Fig. 11. A part of the objects existing in the file intended to be associated only to set the correct type of details of the documents. These objects themselves (in fig. 11 they not marked with checkmarksIn no case should not participate in the union. The general rule - checkboxes must be installed only in those objects that are missing in main configurations (in fig. 11 they marked tickles).

Important!After combining configurations, you must update the auxiliary data. To do this, specify the start parameter " Running replacing informational base"In the configurator (see Fig.13) and run the program in user mode. The same can be done via the command line parameter 1C: Enterprises" / s ".

For programmers: For updating auxiliary data, external processing developer tools is designed: updating auxiliary data, which is part of the distribution and to the BSP demonstration configuration. Refinement: For configurations based on BSP 2.1.3, use processing from the BSP demobaz " ToolsMalamountable toolsPomogandata", for configurations based on BSP 2.1.2, use processing from the BSP demobaz" ToolsMarce-proof management"- Update button on the first page.

Consider how to install an additional (external) report " The statement of the revaluation of the OS."(The same report can be installed in the configuration by combining, as described above).

For storage in the information base of additional reports and handlers serves as a reference Additional reports and processing. It is in the section Administration. By team Create The system will propose to select an external report file, you need to specify the file Vedomostuzocencios.erf. And configure its parameters (see Fig.14).

Fig.14 Installing an additional (external) report

Important: On the page Teams in a collumn Fast access You need to specify which users are intended for this report, otherwise it will not appear in the list of additional reports. The same can be done through Setting up my reports and treatmentsBut only for the current user. Here you need to determine the placement of an additional report to the necessary sections.

Fig.15 Setting up a list of users and place an additional report

In addition, you may need to configure the action panel (see Fig.16). This must be done in the case, if in the desired section, in our case, this section Fixed assets and NMA No list call Additional reports. Then you need to postpone the command Additional reports From available commands to selected commands.

Fig.16 Setting up actions panel

Report options in the program 1C: Company Accounting 8 Red.3.0 At the time of writing this instruction in the section Fixed assets and NMAnot supported, so you will not describe the placement of the report options in the sections. Nevertheless, it is important to understand that the use of report options is possible. To do this, refer to the appropriate commands in the Report menu. All actions.

A detailed description of the objects of the supplement for the revaluation of fixed assets is located.