Question: Additional props, program appeal.
Good day.
I'm trying to figure out the additional details of the directories.
I figured out how to pull out the necessary data using a query, but something tells me that there is an easier way.
On the form for adding additional requisites in the "For Developers" group, there is a single parameter "Name", which indicates that using this parameter you can programmatically access additional requisites.
So the question is, how is this conversion carried out?
Answer:() Thanks a lot. I'll know.
Question: Additional information about programmatically boo 3.0
Answer:
Greetings dear ones.
I'm sitting, making additions to UT11. For the directory, the nomenclature created its own additional attribute (boolean). To use it, queries become more complex - first you need to find this attribute among others in the table "additional details" of the nomenclature, and only then connect it to the main table of the nomenclature.
If you add the props directly in the configurator, the requests do not become more complicated, just select "Nomenclature. My props". And I output it programmatically once in the form "OnCreateOnServer", which leads to a common module, i.e. one line has been added in the standard form - the update does not become more hemorrhoids because of this.
otherFormWorksServer.AddDocumentStatusToForm(ThisForm.Elements, ThisForm.Elements.Parent of NewElement); Actually the thought, if (in my case) there are a lot of improvements and it’s not worth bathing with additional. details?
Answer: It depends on how often reports and other mechanisms are created that use these details and a convenient selection for them is required somewhere.
Question: Location of additional details on the form
Answer:
Question: Exchange UT 11.3 -> site on Bitrix, uploading additional details
Hello everyone.
The exchange between UT 11.3 and the site for Bitrix is configured, the nomenclature with additional details (properties) is unloaded. There is one attribute, with the string type of unlimited length, which stores an arbitrary description of the product. So the platform does not allow writing more than 1024 characters into it, this is limited by the plan of types of characteristics. And a large text should be stored in additional props, sooooo necessary, with its subsequent uploading to the site. Do not offer standard props, yes, it allows you to store an unlimited number of characters with subsequent uploading to the site, but it is already used. Advise how to be?
Answer: Or screw an additional register to store this text
Question: Additional props or regular props + extension.
Hello.
Let's take new configurations ERP, UT11, etc.
The task is to add your attribute to the directory, you can do this using the standard mechanism for additional details, or you can add your attribute in the configurator and display it on the form with an extension.
Which experience is best? In terms of subsequent updates and the use of this attribute in algorithms / reports.
Answer: Is it necessary only for reports - do extra. props.
Question: Additional details, request
Answer:
Home 1C: Integrated Automation 2 New in versionSimplifying the creation of additional details / information
Creation of additional details and additional information is carried out by command Add – From another set.
The result of executing this command is to open a form for selecting an additional attribute/information, the use of which allows you to select an additional attribute/information for its further addition to the set.
The transition to the form for selecting the option of adding additional details/information is carried out by clicking the button Further.
Various options for adding additional details and information are supported (the option is selected in the form Adding additional details/information).
- copying a common attribute included in several sets (types of nomenclature), and all its values - option Make a copy of props,
- copying attributes according to the sample (with a common list of values) - option Make a copy of the attribute according to the sample (with a common list of values). The list of values for this attribute will be the same for both sets. This option is characterized by convenience, due to which it is ensured that the list of values is centrally configured for several attributes of the same type at once. It is possible to correct the name of the attribute and its properties. Changing the values of an additional attribute is carried out by hyperlink List of values shared with props on the form of additional props,
- adding a common prop to a set - option Share props and add to set. This option is suitable for those cases when the props must be the same for both sets. In this case, it will be possible to select data of different types by it in lists and reports.
Creating and adding additional information for item types, characteristics and series is similar to creating/adding additional details.
Using additional details and information in BP 3.0
Additional details and information (hereinafter referred to as DRS) is a mechanism that allows you to expand its functionality without changing the configuration. Writing this note was prompted by an order to print TTN and Certificates A and B with the preservation of details, with the aim of their further use in declarations for alcoholic products, and simply in order to re-look at additional information on the implementation. They use the basic BP 3.0 - you can’t change the configuration accordingly, but DRS is quite enough for this task.
For BP 2.0, in principle, I have had a solution for a long time - I also use additional details, where data on the car, driver, carrier, etc. is stored. The scheme has been worked out - when printing, additional details are recorded (during the first printing, not created ones are created), at the subsequent printing, the details of the form are filled with the saved values. I use the same data when filling out alcohol declarations. I began to do it on UV in BP 3.0 (3.0.20.18) and saw that the mechanism for using DRS has changed significantly, and IMHO for the better:
- The objects "serving" DRS have changed:
BP 2.0 |
BP 3.0 |
Reference ValuesPropertiesObjects |
|
Plan of types of characteristics AssignmentsPropertiesCategoriesObjects |
|
Characteristic types plan PropertiesObjects |
|
Information register ValuesPropertiesObjects |
|
Directory Sets of Additional Details and Information |
|
Plan of types of characteristics Additional DetailsInformation |
|
Information register Additional Information |
- In 2.0, the name "Additional details" does not quite accurately reflect the essence of the purpose of this data - after all, this is exactly "additional information", and they are stored in configuration objects that are different from the object of this information itself. In 3.0, you can specify both the information stored in the "Additional Information" register, and exactly the details stored in the tabular part of the "Additional Details" directories (in UT 11 documents now have a similar tabular part), and these details have become available in the form of a directory element , rather than being called by a button in a separate window.
As you can see, there are fewer DRS objects, and it seems to me more convenient to work with them. A significant difference is the storage of the list of configuration objects for which it is possible to store the DRS, not in terms of the types of characteristics "Assignment of Properties of Categories of Objects", but in the "Sets of Additional Details and Information" reference book, which has two tabular parts:
- - Additional Details - contains a list of details available in the form of a reference for reading / writing and a flag for their mandatory filling. these details are stored in the tabular part of the directory;
- - Additional Information - a list of information stored in the "Additional Information" register and available by an additional button.
For documents, only a selection of additional information is currently available:
For directories, you can set both information and additional details:
Moreover, additional details of the directory are edited in the form of an element:
The details registered for the directory are displayed on the element form, but additional details in the tabular section appear only if they are filled in.
The composition of objects with DRS has also changed:
- - BP 2.0 is 15 directories and a list of all configuration documents in one characteristic,
- - BP 3.0 directories became 18, and 110 documents (did not check all these documents or not), for each of which additional information is set in a separate predefined element of the directory "Sets of Additional Details and Information".
For additional attributes with the "Object property value" type, you can specify an arbitrary list for selection - in fact, an analogue of the reference book (since 2.0 it was the "ObjectPropertyValues" reference book):
The list can be edited.
One more point, from the reference to the PVC "Additional Details and Information" -"All additional details and information about objects can be displayed in reports and lists.". Indeed, now registered ADRs can be used not only for data storage purposes, but also, for example, for selection in a document list, etc.
List of RTiU without selection:
Recorded additional information for the document:
Setting up the selection of the list of RT&U by additional information:
List of RTiU with established selection for an unfilled driver:
It seems to be trifles, but it’s nice……….