1b.app
Link copied -

How to populate a field depending on another?

How to make it so that, depending on the field "Legal entity (order.order_contractorid)" which is already filled in, an additional field is filled in with a value from the directory. If, for a simple reason, I have selected one of the FOPs, and this FOP has three cash desks whose names are stored in the directory. I want that at a certain stage, depending on the selected FOP, a certain cash register from the directory is filled in?
Original question is available on version: ru

Answers:

Congratulations!

You can configure like this

In this way, you will immediately have a cash register filled when you select a legal entity, provided that the selected legal entity. the person has a corresponding entry in the directory.
23.05.2023, 18:22
Original comment available on version: ua

Something was misunderstood. I am clarifying. I have a directory "Payment Accounts". I'm adding a screenshot. And it is necessary that when I go to a certain stage, if, for example, FOP Pupkin is selected in the upper field, then one of the payment accounts I need is selected in the lower field
23.05.2023, 18:45
Original comment available on version: ru

If you are talking about the basic directory of Accounts (payment account). Then you can fill it like this:
1. https://tppr.me/jcFMO depending on the legal entity, fill in any additional field
2. https://tppr.me/XUa5s then copy this additional field into the basic field "Account id"
24.05.2023, 13:37
Original comment available on version: ua

And with this option, will the cash register be selected from the directory, or will it be created anew?
24.05.2023, 13:50
Original comment available on version: ua

It is selected, if you copy an ID that does not exist, nothing will happen
24.05.2023, 14:03
Original comment available on version: ua


I also tried the ID, I also tried the name of the legal entity instead of the ID. Still not working. The legal entity is recorded with us in the following field "Legal entity (order.order_contractorid)" and the cash register is selected in the field "[Account] (order.customorder_Oblkoviizapis)". I tried in the action to copy 1 (this is the id of the fop) and in the field Account (id) and in [Account] but nothing happens
24.05.2023, 14:53
Original comment available on version: ua

[Account] (order.customorder_Oblkoviizapis) this field works for us as a drop-down list from which we select the required checkout
24.05.2023, 15:01
Original comment available on version: ua

Please provide a screenshot of your directory (you can "blur" your information) and the identifiers of the fields you fill in and which are required automatically.
24.05.2023, 15:19
Original comment available on version: ua

You need to fill in the field [Account] (order.customorder_Oblkoviizapis). I have attached a screenshot of the directory. When, for example, the legal entity Z... is selected, I need the field [Account] (order.customorder_Oblkoviizapis) to be filled with the payment account with id 1
24.05.2023, 16:00
Original comment available on version: ua


uabumerang@gmail.com wrote:
You need to fill in the field [Account] (order.customorder_Oblkoviizapis). I have attached a screenshot of the directory. When, for example, the legal entity Z... is selected, I need the field [Account] (order.customorder_Oblkoviizapis) to be filled with the payment account with id 1

Then you need:
1. Create an additional field with a drop-down list type and link it to the directory like this https://tppr.me/cvrAV
In the field "Field of the directory" you need to select the column "Identifier ID"
2. Do the same for the current field (order.customorder_Oblkoviizapis), but in the field "Directory field" you need to select the column "Account name"
3. Next, in the business process, put the action https://tppr.me/jMlgW instead of test 1, you need to select the additional field created in point #1
4. after completing point 3, set the action https://tppr.me/BZ0Jy
After these actions, you can test
25.05.2023, 15:53
Original comment available on version: ua

Thank you. It worked
02.06.2023, 11:15
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment