1c kerovany interface. System command area

Data Transfer Object before structuring the code, kerated form in the middle of 1C 8.2.

Enter

Let’s briefly describe the concept of “cartoon form” and related concepts of the 1C platform. Platform files may skip this section.

In 2008, a new version of the 1C platform became available: Entrepreneurship 8.2 (hereinafter referred to as the Kerovaniy Addendum), which completely changes the entire sphere of work with the interface. There is a command interface, forms, and a window system. This does not only change the model of developing the client interface in the configuration, but rather introduces a new architecture for the functionality between the client application and the server.
The coating additive supports the following types of clients:

  • Solid client (primary startup mode)
  • Thin client
  • Web client
The ceramic additive has new forms, inspired by new technologies. The stinks are called Kerovani forms. To make the transition easier, forward forms (aka primary forms) are also supported, but their functionality is not developed and is only available in the soft client launch mode.
The main features of ceramic molds for the retailer:
  • Declarative, not “behind the pixels” description of the structure. The specific placement of elements is determined by the system automatically when the form is displayed.
  • All functionality of the form is described as detailsі teams. Details are the data with which the form is processed, and commands are the actions to be entered.
  • The form is displayed on both the server and the client.
  • In the client context, almost all application types are unavailable, and, obviously, it is impossible to change data in the information base.
  • For the cutaneous method or the changeable form, the musculoskeletal method is indicated compilation directive, initial, location (client or server) and access to the context of the form.
The compilation directives of form methods are being reworked:
  • &On Client
  • &On the server
  • &On the ServerWithout Context
  • &OnClientOnServerWithout Context
We illustrate overinsurance. The screenshot shows the butt of the ceramic shaped module in the expansion mode. Find the declarative description, details, compilation directives, etc.

All further discussion will be about the right part of the illustration, about how to structure the module code and the principles that allow for the implementation of effective client-server interaction.

Significantly the problem

A number of rocks have already passed, as the new version of the 1C platform is actively being reviewed and a neutral solution (configuration) has been released by both the 1C company and its numerous partners.
How have developers developed in this hour a common understanding of the principles of client-server interaction in new forms and how has the approach to the implementation of software modules changed in new architectural realities?

Let's look at the structure of the code (form module) in several forms of the same typical configuration and try to identify patterns.
Under the structure, there are sections of code (usually blocks of comments) that contain instructions for grouping methods and directives for compiling these methods.
Butt 1:
Processing section Method - client Method - server Method - client Section of service procedures and functions Additional functions of input management
Butt 2:
Service procedures and functions Payment documents Values ​​Collections
Butt 3:
Service procedures on the server Service procedures on the client Service procedures on the server without context References for similar headings References for similar commands
Butt 4:
Procedures for legal recognition; Collections of this form; Procedures for the “contact information” subsystem
In essence, the structure of the daily code, or, to put it mildly, is similar to what was in Forms 8.1:

  • Non-informative words "Zagalni, Services, Additional".
  • It's a little difficult to try to separate client and server methods.
  • Methods are often grouped behind the interface elements “Working with the Products, Contact Information” tabular section.
  • More development of methods and group code. For example, samples of this type may be in one form above, in another below, in a third not visible, etc.
  • And it’s unforgettable that everything is within the same configuration.
  • So there are configurations in which the words “Zagalni, Sluzhbovi, Dopomizhni” are always found in the same places, or...
What structure does your code need?
  • Sorry to my supporter.
  • Forgiveness for the beginning.
  • Fixation of hidden/important/distant principles.
  • ...your option
Why doesn’t the current standard for developing a 1C company help?
We can see the principles published on ITS disks and in various “Researcher’s Handbooks...” that are recommended when writing a ceramic form.
  • Minimize the number of server calls.
  • Maximum charge on the server.
  • Non-contextual server calls are replaced by contextual ones.
  • Program the client-server relationship.
  • etc.
This is absolutely true, but how can we implement them? How to minimize the number of calls, which means programming in client-server mode?

Design templates and generational wisdom

Client-server interaction has been studied in various software technologies for dozens of years. The answer to the purpose of nutrition in the first division has long been known and is based on two basic principles.
  • Remote Facade(hereinafter referred to as the Remote Access Interface)
  • Data Transfer Object(further Object of data transfer)
A word from Martin Fowler for his description of these principles:
  • skin object, potentially useful for remote access, guilty of mother interface with a low level of detail, which allows you to change as much as possible the number of calls required for the singing procedure. ... In addition, in order to complete all the items, you need to secure and update all the items in one step. This flows into the entire structure of the object. Remember: remote access interface do not take revenge on the logic of the domain.
  • ...as if I were a loving mother, I would definitely tell my child: “Don’t write about the transfer of data!” Most types of data transfer objects have no more bloated set of fields… The value of this incredible monster lies solely in the possibility transmit as many pieces of information as possible in one call- A technique that is of great importance for the divisions of systems.
Applications of templates on the 1C platform
The application software interface available to the developer when developing a ceramic form contains many applications of these principles.
For example, the OpenForm() method is a typical “coarsening” interface.
ParameterVideCrittya = New Structure("Parameter1, Parameter2, Parameter3", Value1, Value2, Value3); Form = OpenForm(FormIm, OpenCrittParameters);
Keep in line with the style adopted in v8.1.
Form = OtrimatiForm(Im'yaFormi); Form.Parameter1 = Value1; Form.Parameter2 = Value2; Form.View();

In the context of the ceramic form there is no character “Objects of data transfer”. You can see systemicі equipped with a retailer.
The system models an applied object on the client in the form of one or several elements of these form data. It is not possible to create their pose by linking it to the form details.

  • DataFormStructure
  • DataFormyCollection
  • DataFormStructureCollection
  • DaniFormyTree
Redesigning system objects to transfer data to application types and back is done using the following methods:
  • ValueDaniForm()
  • DataFormValue()
  • CopyDataForm()
  • ValueValueRequisiteForm()
  • PropsFormValue()
Often it is explicitly re-invented to adapt the original solution. Methods can capture (examine the specifics of) input parameters, for example TableValue rather than DataFormCollection, or the value method in the application object context and become inaccessible to direct clicking from the form.
Butt 1C v8.1:
// per client in the context of the form RestoreCache Koristuvachiv(Pidrozdil Posilannya)
Butt 1C v8.2:
// on the server in the context of the form Processing Object = FormValue Details ("Object"); ProcessObject.RestoreCacheKoristuvachiv(PidrozdilPosilannya); ValueValuePropertiesForm(ProcessingObject, "Object");

The objects of data transfer, the structure of which is indicated by the developer, are a small subset of types available both on the client and on the server. Most often, the parameters and results of the methods of the “rough” interface are used:

  • Primitive types (row, number, boolean)
  • Structure
  • Appearance
  • Masiv
  • Sending to the application object (unique identifier and text submission)
Example: the method receives a list of requests for status changes and returns a description of the benefits to the client.
&OnServerWithoutContext Function ServerChangeStatusRequest(Request, NewStatus) Changes = NewView(); // [request][description of treatment] For Skin Request Iz Request Cycle StartTransaction(); Try DocOb = Agreement. OtrimatiObject(); …. other actions, perhaps not only because of the agreements... Blames Save transaction(); Pomilki.Insert(Description, DescriptionPomilki()); KinetsProby; KіnetsCycle; Pomilki turnaround; EndFunctions // ServerChangeStatusRequest()

Structured code

The main goals are to represent the module of the ceramic form and approach to perfection.
  • Clear division of client and server code. It is important to remember that at the moment of death there are two mutual processes, each of which is affected by the available functionality.
  • To clearly see the remote access interface, which server methods can be accessed from the client, and which cannot? The names of methods in the remote interface begin with the Server prefix. This allows you to read the code immediately after transferring control to the server, and will make it easier to use contextual help. It is significant that the official recommendation (ITS) recommends naming methods with postfixes, for example, ChangeStatusRequestOnServer(). However, not all server methods can be called from the client, and logical accessibility is important, not compilation location. Therefore, the prefix “Server” designates only the method available to the client, the application method is called ServerChangeStatusRequest().
  • Handiness. On the right, we accept the order when the module begins with the procedures for creating a form on the server and remote access methods.
  • Supportiveness. It is definitely the place to add a new code that is to blame. An important point, method preparations automatically created by the configurator are added to the end of the module. If fragments of these form elements are most often automatically created, then the main expansion block will remain so as not to overtighten the skin around the module.
Below is the basic structure of the module that realizes its goals.
  • The graphical version clearly shows the main flow of the Viconn.
  • The text option is an example of designing a template for the smooth insertion of the structure of a new form module.

//////////////////////////////////////////////////////////////////////////////// // <(c) Автор=""Date=""/> // <Описание> // // //////////////////////////////////////////////// // //////////////////////////// // SMALL MODULES ////////////// /// ///////////////////////////////////////////// ///// /////////////// // ON THE SERVER //******* SIGN ON THE SERVER ******* &On the Server Procedure When Created On the Server (Vidmova, StandardProcessing ) //Insert in place of the file KіnetsProcedures //******* INTERFACE FOR REMOTE ACCESS ******* //******* BUSINESS LOGIC ON THE SERVER ******* /// ////// ////////////////////////////////////////// //////// ///////////////////// // REAL METHODS FOR CLIENT AND SERVER ///////////// ////////// /////////////////////////////////////// //////////// //////// // ON CLIENTS //******* BUSINESS LOGIC ON CLIENTS ******* //*** **** TEAM ******* //******* SUBJECT TO CLIENTS ******* /////////////////// //////////// ///////////////////////////////////// ////////////// / MAIN PROGRAM OPERATORS

Knitted food
Finally, there are a number of important things to think about when programming client-server interaction.
  • Options for implementing the remote access interface. Asynchrony, level of detail.
  • Keshuvannya. In 1C, an architectural decision was recently made, introducing caching without equaling the use of methods of zagal modules and not giving the possibility of keruvannya (hour of relevance, discounted for use).
  • Implicit server calls. Don’t forget about the technological features; there are a lot of “unprofitable” operations on the client to provoke the platform to transfer to the server.

It’s time to read the previous article. Kerovaniy command interface of the 1C Accounting program 8 ed. 3.0 - the first time we knew you, it was incredibly appreciated that we never talked about special interfaces for this or that other customer. They didn’t say that the 1C Accounting 8 edition 3.0 program simply doesn’t have enough of them.

Shvidshe for everything, through the use of 1C Accounting 8 edition 2.0. It even has such interfaces.

  • Accountant.
  • PDF acquisition.
  • Administrative.
  • Povny.

That's right. So what? What did these interfaces give us? Let’s say that in addition to the head accountant, the accounting department has two more accountants. One deals only with banking and cash transactions, and the other deals with basic functions. And here it was necessary to ask the programmer to develop specialized interfaces for the skin of these patients. Only a consultant who knows the configuration well can create and correctly describe the new role and rights. Obviously, such changes are only possible when the configuration is removed from support.

For example, the 1C Accounting program has 8th edition. 3.0 users can independently or with the help of a more trained colleague formulate the command interface required for their work. Let's take a look at real butts and see how to fight.

1. Command interface for processing 1C interface

Command interface for the 1C Accounting program 8th edition. 3.0 has a ceramic interface. This means that the owner can independently handle it directly in the 1C Entrepreneurship mode. So, you yourself are a developer, and not just a programmer, in the Configurator mode.

For this purpose, on the system commands panel in the main menu there is a “View” item, which provides access to commands for editing panels of the ceramic interface.


Only two commands need explanation.

  • Sections panel. The section panel on the command interface blinks and blinks.
  • Navigation panel and action. The navigation panel and action panel on the command interface will blink and blink.

2. Create an interface for the layout

We will look at creating and adjusting the interface using a simple example. It is acceptable that our personal needs for work are divided into two categories: “Bank and cash” and “Spivrobitniki and salary.” You can delete unnecessary sections in the form by clicking on the command “INFORMATION PANEL \ Main menu \ View \ Customize sections panel”.


You don't need to use the "View" button to delete our sections. Eliminate “Bank and Casa” and “Spivrobitniki and Salary”. After saving the changes (OK button), the interface will look like this.


Change the value to the “Show” attribute in the “Customize the section panel” form. It allows you to display sections as well as images and text. For example, they can be represented only with text, like a baby.


This ability can be quite disconcerting for those who work with small screens.

3. Customize the interface for the cashier

We are adjusting the interface for the cashier, who only deals with cash transactions. Please note that the administrator has already created the account manager “Cashier” and given him additional rights.

First of all, it is important for us to note one important feature that must be taken into account when forming power interfaces.

Whenever a new program is launched, it will automatically open in the “Desktop” section.

You can completely turn on the mode for displaying the section panel or remove just one section, for example, “Bank and Cash”. Or you could complete the work, for example, in the “Purchases and sales” section. It doesn't matter. Every time a new program is launched, the “Desktop” will be updated. Yogo vidaliti is impossible.

Thus, if we only need one section of the accounting area, for example, “Bank and Cash”, then it will not be possible to display it on the section panel. At the same time, the “Work Desk” section will be displayed. In our case, the show does not require the cashier to send it.

Let's take it upon ourselves with the coming order. Activate “Desktop”. Please note that on your navigation panel there is a command message “Cash documents”. You can edit the navigation panel and action for the “Desktop” section.


To edit the navigation panel, select the command “INFORMATION PANEL \ Main menu \ View \ Customize the navigation panel”.


By manipulating the “Add”, “Add all”, “View all” and “View all” buttons, remove the “Cash documents” navigation command from the right window.


You can edit the panel from the desktop section. To do this, select the command “INFORMATION PANEL \ Main menu \ View \ Customize the action panel”.


By manipulating the “Add”, “Add all”, “View all” and “View all” buttons, remove the command from the right window, labeled with red rectangles.

We admitted that our organization does not engage in retail sales. Therefore, the cashier does not need the document “Report on general sales”. We also assumed that the cashier does not need standard accounting records. That's why we also got them from the action panel.

Following the command “INFORMATION PANEL \ Main menu \ View \ Sections panel”, enable the display of the sections panel. Quit the program and open it again as cashier. This is how your interface looks like.


Nothing funny! The only documents the cashier needs are two calls. If necessary, the list of cash documents can be opened by clicking on the navigation command “Cash Documents”. It's shown on the navigation panel.

4. Interface of the 1C Accounting 7.7 program

The 1C distributors miraculously understand that, even though the new interface is not good, many of us live by the principle: the best is the enemy of the good. So, transitioning from 1C Accounting 7.7 programs is often quite easy. I don’t understand anything about the new interface, I don’t even know how to work with it.

Such accounts can be installed in a few clicks in your program 1C: Accounting 8th edition. 3.0 is similar to the SIM card interface. It looks like a baby is shown.


The calls are obviously different from the original SIM interface. Ale structurally everything is the same.

You can only close the SIM interface if the program has the “Bookmarked” mode set to open object shapes. It is installed in the “Parameters” form by clicking on the “System command bar” command in the main menu “Service Parameters”.


Then on the sections panel, activate the “Administration” section and click on the “Administration of programs” option in the action panel.


In the “Program setup” form that has opened in the work area, go to the “Interface” tab and activate the radio button “Interface similar to 1C: Accounting 7.7”.


That's it. Save the result by pressing the OK button. Use the seven-faceted interface familiar to you. At the same time, do not forget to reserve an hour in the demo database to master the original interface. When you call the appropriate interface of the program 1C: Accounting 8th ed. 3.0 then you can quickly renew it.

To do this, click on “Service” on the section panel. On the navigation panel, click on the “Setting up programs” message. Activate the “Interface” tab and select “Standard Interface 1C: Accounting 8”. Well, of course, OK.

6. Managing object forms

Program 1C Accounting 8 ed. 3.0 adds the ability to control the command interface. In any case, it is possible to keruvate with the forms of large objects. These are the forms of journals (lists) of documents, the forms of the documents themselves and the evidence. To work with these forms, there is a “All actions” button in the upper right corner of the form’s work area. And in it there is a command “Change form”.

Naturally, the program has more capabilities when creating object forms. But let’s take a look at one simple butt.

Initially, the form of the document “Rakhunok for payment to buyers” looks like this, as shown in the little one.


And now it is acceptable that our organization is engaged in more than just providing services. Well, we don’t need the “Warehouse” and “Delivery Addresses” details. In the tabular part we also do not need the “Products” and “Return Nomenclature” bookmarks. To get started, click the “All actions” button and select the “Change form” item.


If the hole we need is not open, then click on the cross. The kitchen has a left-handed hand at the top. Then remove the marks from these details and sides that we do not need.

This way you can also modify the command panel of the document form. Let's make these changes. First of all, open the “Command Panel” tab.

  • "Swipe Close" button. Now only the text is displayed on it. In the “Form Customization” form, on the “Command Panel” slider, see the “Swipe and close” checkbox. In the right-handed window, go to the “Videobrazhennya” details and select the value “Malyunok and text”.
  • Buttons “Record” and “Order structure”. For these buttons, also assign the value “Malyunok and text” to the “Videobrazhennya” attribute.
  • Frame for hats. For beauty and clarity, the left and right sides of the cap can be decorated with a frame.

We will cancel this form for the document “Rakhunok to pay for the purchase.”


For careful lovers, I would like to mean this.

Respect. Don't be afraid to experiment with adjusted object shapes. You must not change the area instead of the information base.

Of course, it’s better to train on a demonstration basis. If you haven’t succeeded in working on a certain form in the working environment, then there is no need to consistently update the cob mill of the form.

For this purpose, select the command “All actions \ Change form” on the object’s form. “Adjusting the form” is already visible to us. Click on the command “All actions \ Set to default settings”.

7. Information about amends

Program 1C Accounting 8 ed. 3.0 controls the update of obligatory details. However, the previous editions did not work. Also, as of the latest editions, the diagnostic information of 1C Accounting 8 edition 3.0 has become more informative. They will show which details and how the settlement will take place.

For example, corn-cobs often shy away from such a treat. They are forced to fill in the details of documents without selecting from the relevant contractors, but to manually fill in the required values. The little one shows that the customer has manually entered the LLC “Zorya” at the “Counterparty” requisite. Such a counterparty Program 1C Accounting ed. 2.0 I didn’t know from the contractor “Contractors”. Just before the hour of recording the document, she told me about the pardon, as shown to the little one.


If the correspondent does not go through the training, if he does not know that most of the details are filled in by the selection process from the operatives, then similar information will not matter in any case. Liche.

And how does the 1C Accounting program ed. react to the same kind of punishment? 3.0.


Here the program not only seems to have a value that is incorrect. Let me tell you that nothing significant has been found. It’s not known, it’s easy to guess by clicking the “Select from list” button.

In forms with a lot of obligatory details, it is possible to skip filling out some of them. And here the program also provides informative information. In spite of this show, you forgot to fill in your details.


There are two ways to move from one place to another. Either use the navigation arrows in the diagnostic notification, or click the message in the notification panel.

Axis, perhaps, and that’s all. I believe that the command interface of the Accounting 1C 8th ed. 3.0 will not be a stumbling block while mastering this program. It’s really easy, but you have to waste a few hours of your precious time to master it.

We all know that the 1C company has a small number of different versions of the 1C platform; we are limited to one of the remaining versions at the time of writing this article, versions 1C 8.2 and 1C 8.3. Since you have had the opportunity to work in both versions, then V, for everything, noted differences in the interfaces of these versions, for koristuvachs, the stench is more pronounced than the sound. Essentially, choose primary or unsecured program Every system that displays forms needs to be launched, original or ceramic, and also any client of the program will be victorious about the preparation, the product or the thin one. For more detailed information about clients, read the article “What is a strong and thin client for 1C, as well as its features.”

Primary add-on 1C (primary forms, primary interface, version 1C 8.2)

1C 8.2 can only work From primary forms, from the regime of primary supplement. The image below shows the base in the "primary addition 1C" robot mode (primary forms).

Kerovaniy addendum 1C (kerovany forms, kerovany interface, version 1C 8.3)

On the 1C 8.3 platform we can work with both basic forms (in the mode of gravity) and ceramic ones. Moreover The ceramic molds have two types of display, standard and taxi.. Example configuration 1C 8.3 with standard ceramic forms of readings below, and after the new readings the “Taxi” interface.

What is the main purpose of the 1C add-on?

I already knew that The most important addition is the same for launching 1C programs. Moreover, it is important to note the importance of launching 1C ( svichayny or kerovany supplement), behind the scenes there is a singing interface ( original and ceramic forms), here are some synonyms for this concept. We would like to point out that the importance of interfaces should be increased by saturation, the hardened interface will be subject to reworking. In principle, this is all the functions required to run regular 1C programs. As far as programmers are concerned, the modified interface requires writing modified code, and the technology is already carried out in 1C 8.3, and not in 1C 8.2, and all the same. The code can also be divided into client and server and must be specified in addition to additional directives in the configurator.

I am publishing another section of my book “Basics of development in 1C: Taxi”

Chapter 2. Primary and secondary supplement 1C

In this section, we will look at what these advantages are and why they differ from one another, and before that we will look at the concept of an interface.

What is this “interface”? In essence, there is a connection between two systems that interact (often one system is a person). Let's take, for example, a car. What is the interface? So original. What is the secret cordon between cars and people? First of all, this is a working place, then. centrally located driver's seat and controls (kermo, accelerator pedal, galm pedal, etc.). In other words, these are the principles of interaction between a person and a car, which is a set of rules. For example, to speed up a car, you need to press the gas pedal, press the accelerator pedal, to turn right you need to twist the brake pedal to the right, etc. People can travel in two ways by car. It will not be possible to pick it up alone, and it will not be possible to use a car.

In the world of software security, everything is the same. One system - tselyudina - operator, koristuvach. And another system is a great addition to creations for the automation of many types of human activity (we consider applied programming).

For example, we need to independently manage the warehouse: keep goods in stock, write off the goods, and track down surpluses. What will be the sleeping cordon between the supplement, it doesn’t matter how we write it or what we write? First of all, when entering information, you will notify the program that 5 pieces of any product have arrived at the warehouse. Our guy has a computer keyboard and a computer bear. In other words, this is a system of interaction between a computer and a person. For example, here you can have a command line interface: You will use a keyboard to enter various text lines (commands) and, using them, complete the required actions (record the receipt of goods, the debit of goods, etc.). Such an interface looks something like this: div. 1.2.1.

Small 1.2.1 Command stock

This little one has the command line of the Windows operating system, with its help you can perform all the operations that you do with Explorer: copy files, delete files, create directories, etc.

This type of interface has long been archaic, and is being replaced by the graphical interface of the client (English). graphical user interface GUI). In this case, the interface of interaction between the computer and the program is based on various graphic elements painted on the display (buttons, icons, jumpers, etc.). With a graphical interface, the operator has additional access to the view of control bodies, including graphic elements. In our store, if the warehouse layout is automated, the interaction can look like this: the operator presses the “Arrived” button, the product selection form opens, where the operator selects the required product from the list and enters its quantity. If you need to make a debit, the operator presses the “Debit” button, so the selection form opens, where the operator also selects the required product and enters its quantity. If you need to check the surplus, the operator presses the “Surplus” button, and the program displays the surplus of the warehouse product. With the help of this graphical interface, you can successfully manage the appearance of goods in the warehouse.

Let's finish with the theoretical part and move directly to that section. And just before the types of interfaces of 1C programs, which are all graphical interfaces of the client. The 1C: Enterprise 8 program has two global types of graphical interfaces for add-ons. This is a basic program mode and a program mode under ceramic forms (or a ceramic program).

Edition platforms 8.0 and 8.1. Although they only run in the default mode, higher versions of the platform (8.2, 8.3, etc.) can run in both the default program mode and the advanced add-on mode.

Initial program mode

It is possible that all day-to-day changes are already operating under the emergency regime, but organizations are still being tightened up to remove older changes that are operating in the emergency supplement mode. Therefore, it is necessary to know the principles of the primary supplement. The process is very clear in my book (chapters 3 and 4). Here we are stuck in the most distant moments.

The default program mode has an interface of the same form as in platforms 8.0 and 8.1. Previously, this mode was not called anything, but is now called the “primary supplement mode,” and the forms that are developed in this mode are called “primary forms.”

Let us briefly marvel at how this regime looks. You will already be familiar with a lot of actions, especially those who have not found the work under platforms 8.0 and 8.1, you need to learn more.

Once you are interested in the program, you need to open the interface from the menu at the top (div. Fig. 1.2.2).

Fig 1.2.2 View of the user program interface

By moving through the menu items, you can open different shapes. In the main, the form is a list of documents and documents (div. Fig. 1.2.3), but you can also include details, processing, layout plans, etc.

Fig.1.2.3. Document list form

From the list of clients, you can open the form of the document as a witness (div. Fig. 1.2.4).

Small 1.2.4. Document form

The designer can use automatically generated forms, or independently design them.

The designer needs to construct the initial forms with a mouse: place the necessary elements (button, field, table) on the form, move them manually and determine the size (div. Fig. 1.2.5).

Rice. 1.2.5. Design of traditional forms

Most often, when developing folding forms, it was necessary to ensure the interaction of the form elements with each other. And bindings were established for that. Sometimes the stench bubbled up, and the shape took on a not entirely garish appearance. We do not particularly go into this mechanism and the inheritance of this incorrect vykoristanya, the fragments of different ceramic forms of wine having lost their relevance.

Finally, I would like to point out that in addition to the ceramic supplement, you can only trade under a “favorable client”. Behind the great shell, this is the main, cardinal importance of the primary forms of ceramics. Nowadays, the ceramic add-on mode has been split up for work under the “thin client”.

Curated program mode

So what is special and fundamentally different from the emergency reporting regime? The main difference is the use of the ceramic command interface and the ceramic forms. Let's ripen the skin for a few days. What is the new command interface? In order to understand the nutritional value, it is necessary to go back to the past.

Let's take a look at the simplest way of how the configuration of the initial supplement was developed. From the very beginning we constructed business logic: documents, witnesses, calls, processing and their interaction with each other. Then we adjusted the roles, for example, the correspondent with the role “Postachalnik” had access to the document “Receipt of goods”, but not to the document “Receipt of goods”. And by the way, the buyer for the “Seller” part has access to the document “Product Receipt”, but not to the document “Product Receipt”. With the next step, we have broken down the interfaces of the skin type of koristuvach. Anyone who has practiced development with basic additions remembers that there was such a configuration object as “Interface”, in which it was possible to customize the skin menu on the default menu for the baby 1.2.2. And in our case, the retailer needed to create two interfaces: one for the customer, and the other for the seller. Since, if we had developed one single interface in which you can open both the “Product Receipt” document and the “Product Receipt” document, it would not be entirely correct for the postal manager to try to open the list of “Product Receipt” documents and not be informed Nya system , but he has no rights. To avoid this, it was necessary to create two interfaces and for the skin surgeon to indicate which interface can be used.

In the cerated supplement mode, everything is much simpler. The command interface is located at the front part. From this part we will analyze it from the most recent rices. When using the “taxi” interface, the command interface looks like this:

Small 1.2.6. Hardened command interface

When developing a ceramic program, the programmer will have to take a slightly different path. First of all, we need to decompose the business logic, we need to identify the subsystems that our objects belong to (in addition, they have the same, but may be more declarative in nature). For example, the document “Incoming goods” is included in the “Post-delivery” subsystem, and the document “Exiting goods” is included in the “Sales” subsystem. At the same time, activities of objects can be in several subsystems at the same time: the “Products” subsystem is included in the “Sales” subsystem, and in the “Delivering” subsystem, and in the “Marketing” subsystem. In this case, the developer does not need to create the “Interface” object, the system itself will automatically create the required appearance for the interface, based on setting up user rights and functional options.

If any user has a role, who does not have the rights to view the subsystem, for example, “Postacchaniya”, then when you start 1C Win, you simply cannot open this menu item. Also, you should not add a document to the menu list that you do not have the right to view.

For the little one 1.2.6, you created the seller's interface with full rights, and, for example, the seller's interface looks like this:

Small 1.2.7. Koristuvach interface with exchange of rights

Another feature of the user interface is that users can independently determine the appearance of their interface by customizing navigation, actions, sections, etc. ta "Product". You will see this:

Small 1.2.8. Kistuvach interface with reduced functions of the flow section

We will discuss the detailed setup of the interface in the following sections of this part, and the interconnections between the roles and the current appearance of the interface will be discussed in the next part of this course. For now, the main features of the ceramic command interface are significant.

  • The appearance of the hardened command interface is automatically adjusted to the additional mechanisms of the platform, depending on the adjustment of user rights and functional options.
  • Koristuvach can independently adjust the appearance of the interface behind the scenes.

Now let's figure out what these ceramic forms are.

Follow programming in 1C using my book “Program in 1C in 11 kroki”

  1. Without complicated technical terms.
  2. Over 700 pages of practical material.
  3. The skin condition is accompanied by a baby (screenshot).
  4. Collection plant for home cleaning.
  5. The book is written in a smart and simple way - for a beginner.
  6. The book can be sent by email in PDF format. You can open any device!


If this lesson helped you to solve any problem, if it turned out to be a good one, then you can support my project, having overspent the sum:

You can pay manually:

Yandex.Groshi - 410012882996301
Web Money - R955262494655

Join my groups.

After having practiced the ceramic molds for three days, I fell in love with them. There is no need to arrange the fields on the form with a bear and suffer with the bindings. Everything is simple and you just have to work with a few clicks.

It became a shame that 1C was not supported by the basic forms through those that are used in the desktop mode. It would also be possible to achieve precise pixel positioning in the UV, and the original shapes would be measured within an hour. And so you have to put more effort into knowing the old functionality.

And so, naturally, UV is richer than usual, because follow the trilank scheme between the client and the server.

In addition, the UV functionality itself is richer and broader, compared to the basic ones - no wonder, many hours have passed, and they have lost a lot of interface features.

For example, displaying a dynamic table with groupings or combining object details into a dynamic list. Or move the radio button not like a dot, but like a toggle switch.

In fact, it’s not at all scary to become a vikorist, as it seemed from the beginning, I got the hang of it quickly. At the time, I had enough programming of the hidden modules that people were working on the server, and having changed the mutable values ​​of transferring them to the server, so that the hardened forms were accessible to my mind.

Modalities, access and blocking of the interface

I feel like 8.3 has a new look for modal functions on the platformFood, In advance, VidcritiFormModal. For me it was unconscious, everything was fragmented.

What happened to me, as in one of the applications, I clicked on the form with the option “Lock the entire interface”, then. really modal.

I would like to say that they were convinced of the modality.

Rose did not come immediately.

1C did not support modal windows. There are new functions to display the schedule, turn on the power supply, and open the file selection dialog modally.

The nuance is that after clicking these modal windows, the keruvanna will not freeze, as before, in the soak, if the form closes, but will continue to freeze. The form alerts you that it has closed and you need to respond to the alert.

Tobto. The 1C platform got rid of the rudiments of frozen coding and switched to form management.

Of course, this has nothing to do with the fact that browsers have difficulty displaying modal windows. This is mercy and care - forget it like a rotten dream. Everything is logical. In essence, now the wiki will be completely synchronous and asynchronous, whereas the synchronous wiki will begin.

1C now has mini-constructors - refactoring. I would like to make it easier to write notifications for asynchronous mode of operation, rather than writing them manually.

The configuration has the ability to turn on all synchronous clicks (or clicks), resulting in it being completely asynchronous and consistent with the rest of the organization's similar model.

New interface capabilities

Menu

If the ceramic forms look completely logical and correct in direct development, then in direct development of the menu system for me it becomes unreasonable.
Of course, the menu, where only one menu is shown, then you need to go to the next row and so on before selecting the required item is already obsolete, and a menu card has come to change, and a number of menu items are opened at once. The whole thing was divided into typical ones even before the release of new menu interfaces in 8.2.

In my case, often on 8.1, I worked the menu system in the view of the attached left-handed hierarchical adviser, where the visibility of each item was determined by the access rights of the assistant for which menu was displayed.

I realized that 1C was considered wrong, that the application object Interface was not being used, and decided to release a new, innovative alternative.

It turned out wonderful, in my opinion. Again, everything is tied to roles adjusted by checkboxes, which I don’t like at all - the best system of roles is written on the same level as program code, proof of which is the system of additional access rights for correspondents, which allows you to easily and without any problems adjust access rights in typical configurations.

Recently, new ways of organizing menus have arrived, in my opinion they are not far off, but there are no alternatives, and they stagnate with the standard ones.

I queried the worksheet: “It’s become less clear that the ceramic forms are needed, but there is a need to develop interfaces, so it’s not possible to modify the classic menu a little”?

I believe that the 1C system is developing to directly increase the comfort and speed of the operator’s work. In my opinion, such grandiose changes in the menu system are of no use.

Walkthrough order

Before speaking, for the productive work of gardeners, an important procedure for walking around the fields - many have already automatically learned the procedure for walking around the fields. So, just in order to bypass about 8.2, we were convinced. This clearly indicates the order in which the elements are placed. Fortunately, it is possible to programmatically exit the field and transfer focus to another field, otherwise the stated productivity would be even worse.

Work area and form inserts

There is only one working area. So he has to stuff almost all the prostitutes into her form and label her appearance as rights. In high configurations everything can lead to chaos.

It would be much simpler to create them with program code and modify the mechanism for inserting forms.

What is not implemented about 8.2-8.3

I still haven’t finished checking the included forms. It’s a pity, there aren’t any, although the stench was still in the ancient Access.

There is no dragging through the clipboard. Tobto. I have to pull with a bear, I can’t say it - I pull it and place it here, without tearing the animals with the bear, it’s a pity. I would like, perhaps, third-party software can help here, because... constriction - it is systemic Windows.

Functional options and visibility of elements

In due time RLS were created in order to show the players in addition to the table the table.

A further development of visibility was the functional options and adjustment of the display of fields behind roles. All at once it becomes like a multi-faceted zoo, lacking a zany edge and benignity.

In my humble opinion, the visibility of the fields is still simpler to follow in a programmatic way, not declaratively, placing checkboxes and disabling the folding mechanism of functional options.

I got my time that RLS The change is passed to the software control of the record only at the level of the object/subscription module. So I suspect that any functional option is sacrificed to the primary algorithmic description of controlling the visibility of elements - both the simplicity of the choice and the versatility of the approach.

The user of the interference configurator has a lot to think about how to control visibility – by roles or through functional options. Once you have written a universal algorithm for calculating the visibility of fields, you will be able to stagnate it forever without any of these platform police.

Virok - functional options and visibility through roles - are ineffective, but you need to know them, because stinks vikorista in typical configurations.

Interface 8.2 and Taxi interface

Interface 8.2 and the taxi interface are crazy, then. no new objects appeared. The configuration can be done either in 8.2 or in a taxi, you can allow the user to switch between these interfaces.

Main menu – rearranging the main menu objects. At 8.2, the stench took up a lot of space for the left hand and the animal, as a result of which the working area for the koristuvach lost a little space for the lower right corner. In the Taxi interface, the menu is automatically displayed, eliminating the appearance of a small menu, resulting in the entire screen being displayed under the work area.

Unsurprisingly, things were about to go down such a confusing path, since when the basic menu system in 8.1 was fixed, it wasted even more working space on the screen?

Also, Taxi has changed the principles of displaying windows, as a result, the form code for 8.2 is incomprehensible in some places. However, I have not yet been made aware of the difference, although I would like to inform you about the basic principles of Taxi. I’ll try to get into it in practice, although I respect all the aspects of a thoroughly detailed interface that are supernatural and unnecessary in practice for those who need business add-ons.

Before speaking, in 8.2 it is not possible to change the palette, which is the business card of the 1C platform. So, the menu organization system itself looks like 8.2 or Taxi, bringing customers up to the same standard. Prote practice shows that the new menu system can be relearned in a practical manner. The axis for beginners to work with documents and information is richer.

That is why all this noise and superstitions about the menu system are not even clear - this is not the main point of the 1C platform, except for the conscience of the platform architects and directly the development of core materials to show them.

Ideology not examined

The depositary correctly noted that the developers of the platform did not create new entities where necessary.

For example, subsystems are configured for sub-objective configuration into blocks, and for organizing functional menus (a new alternative to the main program menu). I would like to logically create a separate application object called “Functional Menu”.

It is also necessary to organize empty roles (interface roles) that are needed in order to indicate which objects are displayed in one or another form. I would like to logically develop a directly applied object “Interface”.

Doubt the effectiveness

Actions 1C to usability call out sumnivi.

For example, a lot of attention was paid to the courses so that the document form was displayed in addition to the ordering of the document form and if the document was changed, so that it was cleared. There is not much sense in this, however, it is necessary to hand over a number of copies - for example, before and after correction. Getting lost in a couple of documents and many other forms is impossible with practice, so the dispersal of energy in which seemed dubious to me.

Also, for example, it is impossible for the platform to create an entry field in the middle of a dynamic list, since it is a base table. Not for something that is technically difficult, but for the world usability.

Possibility of saving adjustments

Form adjustments are saved directly to the database, and not in the session. In case of emergency, the stench does not disappear. Apparently, a new robotic mechanism has appeared with these adjustments, where you can save your data. AlternativeSave/UpdateValue.

Now you can programmatically sort through all the savings for your needs, which means you can transfer them to another user, file, etc.

Other foods

What are ceramic forms?

For kerated forms, the code is written on the client and server.

A weak machine is running under the client, and a basic browser can be pointed at it.

And the server is located directly and directly connected to the database.

The client cannot work with the database; he can add other mathematical operations and elements of his forms. If you need to retrieve something from the database or send data there, the client connects to the server.

This is how you make ceramic forms yourself. Given the right to permanent access to the server is not difficult.

Such an organization is more effective, since it does not connect to the server via remote access, but it can also be done directly through a browser. on any platform - Windows, Linux, Android , Mac OS .

Sheet music for 1C rossip

Here I’ll make some notes that I wrote to myself in order to avenge valuable knowledge:

  1. At the 1C launch window, not information bases are registered, but entry points. Tobto. One database can be used several times, but is registered for different computers and different robotic tools - browser, thin/soft client, login for the administrator.
  2. A key appears for the administrator, which indicates role control. You can log in to the Enterprise using this method if you do not have administrative rights to configuration.
  3. The hidden details - do not confuse them with the hidden details 1C7, 82 von are selected for access in the interface.
  4. Frequently adjust the minimum height of the form's list to make it easier to scroll through the form.
  5. It is not possible to save pictures from the account details, which will lead to a decrease in the productivity of the advisers by requiring you to change the account register.
  6. In server procedures, when passing parameters, it is necessary to set the VALUE so that the parameter is not passed back to the server.
  7. New featuresBeginsWithі PageEndsAt, Possible and other, from platform 8.3.6.
  8. 1s 8.2 has a privileged mode, then. You can enable access rights control only on the level of roles in code sections.
  9. The elements of the list form, value table and value tree are divided so that the list on the server and client can still be displayed, and special objects are created for the table and tree and they need to be recreated on the server.
  10. I was pleased that the compiler liked to name objects together and name modules from the chair, so that these modules came first in order in the contextual hint.

About life and navkolo 1C

Vikladac štverdžuváv:

  1. Exploration must be done from the interface.
    My thought : The assertion is doubtful, because Knowledge and knowledge of the underlying architecture of the platform allows you to immediately launch application objects, and the interface will then appear.
  2. Kerivnik do not enter data, rather than be surprised. And you don’t need to enter data through 1C, but by phone and through a secretary. This browser only requires a browser, and the input fields are required without data filtering.
    My thought : Yes, this is similar to the truth
  3. Criticizing the BSP (Library of Standard Subsystems). Because of this, it is impossible and even important to see the necessary modules.
    My thought : Because However, the BSP could not be divided into modules, and the UPP could not be broken into modules UT, ZUP, BP, Virobnitstvo. And here it is not the platform that is at fault, but the methodology for writing standard ones is incorrect - modularity is not achieved. Same
    Navision It has long been possible to initially sell accounting to a client, and then you can purchase trade, production and wages for consumption, without rewriting the code and switching to a new program.
  4. The standard ones have become even more foldable, it is important to change them. I know again not through the foldability of the platform, but through the incorrect organization of the typical ones. In this case, the main principle is ruined - efficient and economical support and additional modification of standard configurations if necessary.
  5. A variant of registration of orders was demonstrated, if the left-handed hand has the nomenclature in the work area, and the right-handed one has a list of orders. However, nomenclatures can be set as a whole, then dragged to the list of terms and a title is formed. The advantage is that the contract table is not blocked to create a new contract.
    My thought : The advantage is far-fetched - after all, it is more important for traders to select the goods from the tabular part, you can save the agreement like a black mark or copy the agreement from the template. The documents were not invented by Zagalo for nothing.
  6. Having explained the difference between the sections “Golovne”, “Important”, “Go to”, “Divisya also”.
    My thought : I don’t particularly understand it clearly, which means that most people don’t understand the nuances built into the platform.
    usability in a taxi. Therefore, the interfaces will look the same as before, as they were already known by both the developers and 1C programs.
  7. In the case of a tabular field on the form, which is essentially an additional entry, it is not possible to enter data like in the input field. This is crushed into bark usability, so that the user focuses on the entered data in the appropriate window.
    My thought : I entered the example from the entries in the tabular part, such as the field, the defense sense is less than reasonable
  8. Separation arises from a person’s relationship with other people. Less equal - more valuable for love.
  9. It is easier to learn foreign languages ​​when you take them into account, and you tend to become narrow-minded and obsessive about one language.
  10. It is impossible to bind foreign languages, since it is necessary to link a foreign word to a native word, it is necessary to link it to an image. Lantsyuzhok foreign word - image shorter than Nizh Lantsyuzhok foreign word - real word - image. In the end, it is impossible to think foreign thoughts.

Visnovok

I appreciate the contribution.

The completion of this course allowed me to avoid delaying the ceramic forms, I clearly understood the nuances of modality, flexibility between the 8.2 and Taxi interfaces.

Now the ceramic forms do not bark at me, but, instead, pull me to know them.

I hope that as soon as you read this article, you will appreciate the ceramic forms.