V
V
vendettametal2017-03-21 05:09:56
1C
vendettametal, 2017-03-21 05:09:56

How to make autofill 1C?

We make a configuration for a computer service, it is necessary that when choosing a phone model, the remaining fields are self-filled.
For example, a client comes with an IPhone 4s phone to replace the display, it is necessary that when choosing a model from the list, the remaining fields (Manufacturer, type of equipment) are filled in automatically
Manufacturer-Apple
Type of equipment-Mobile phone
5ac663a75cc74e28a893333855c0f149.png
In general, how can you link Manufacturers to models and vice versa

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin, 2017-03-21
@fosihas

Most likely these are directories (Model, Manufacturer, type of equipment) they must be interconnected. Props or be a subordinate Directory.
For example, "Type of equipment" would make the props of the Model. For the Model, I passed the owner of the Manufacturer (Although it can also be a prop).
Further, the procedure "OnChange" is on the Form Element at the attribute Model (right-click the property of the object), You prescribe the filling of the necessary details.
There is an easier option. Because The manufacturer, the type of equipment will be fixed. On the form, you can pull out the corresponding attribute from the Model, for display.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question