1b.app
Link copied -

When adding an entry to the directory - it is duplicated

Here https://sint-master.com.ua/admin/shop/workflowstatus/139/action/new/
Adding to the directory is configured
If you uncheck https://prnt.sc/10dlf46 , then 2 entries are added to the directory
Process example https://sint-master.com.ua/admin/customorder/produkti/461/edit/
Moved to the stage https://prnt.sc/10dljwd
2 entries were added to the directory and part of the data was filled in as the entry id in the directory https://prnt.sc/10dllf1
https://sint-master.com.ua/admin/shop/custom/object/directory/4/
And if you check the https://prnt.sc/10dlf46 checkbox, then the directory field will not be filled in correctly, in the list the field is filled with https://prnt.sc/10dln32 and in fact there is no value https://prnt.sc/10dlnnz
Original question is available on version: ru

Answers:

We came across this, I don’t remember what was there, they put a bug, they transferred us to a consultation. So I recommend looking, somewhere there is an error in the settings
09.03.2021, 18:22
https://qube-soft.com/ crm erp onebox qubesoft внедрение аналитика 1с интегратор Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Korop Vladislav Pavlovich
Employee wrote:
We came across this, I don’t remember what was there, they put a bug, they transferred us to a consultation. So I recommend looking, somewhere there is an error in the settings

so what is the error?
09.03.2021, 18:24
Original comment available on version: ru

Andrey, the problem is that your record is duplicated? Is the action configured for this situation?
On the specified process it is possible to test?
10.03.2021, 11:53
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Tyndyk Maxim Vadimovich
Administrator wrote:
Andrey, the problem is that your record is duplicated? Is the action configured for this situation?
On the specified process it is possible to test?

I think that it is configured correctly, I have a unique value - the field "Service Object"
You can test on the process, for this go to the starting stage, and then back https://prnt.sc/10hwtl7
10.03.2021, 11:57
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Tyndyk Maxim Vadimovich
Administrator wrote:
Andrey, the problem is that your record is duplicated?

This is the problem if I don't use the directory entry id. And if I use it (I do not put a tick), then the fields associated with other directories are not filled.
The question is how to populate all the fields with the values that I store in the home fields?
10.03.2021, 12:01
Original comment available on version: ru


The question is how to populate all the fields with the values that I store in the home fields?

If you have a field associated with a directory, then the record identifier from this directory is stored in the database.
That is, in theory, you need to set up the output of the field in the process so that the identifier is displayed (and stored in the database), and visually (there seems to be a template for displaying the name of the additional field) so that the value. And then when copying - you will copy the identifier as you need?
11.03.2021, 17:52
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Tyndyk Maxim Vadimovich
Administrator wrote:
If you have a field associated with a directory, then the record identifier from this directory is stored in the database.
That is, in theory, you need to set up the output of the field in the process so that the identifier is displayed (and stored in the database), and visually (there seems to be a template for displaying the name of the additional field) so that the value. And then when copying - you will copy the identifier as you need?

I brought something like this, but I would like it without such strong crutches.
It's just not clear to me why a duplicate entry is being created in the https://prnt.sc/10dllf1 directory?
11.03.2021, 17:59
Original comment available on version: ru


It's just not clear to me why a duplicate entry is being created in the directory?

Judging by the difference in the data - it is not duplicate.
18.03.2021, 13:51
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Tyndyk Maxim Vadimovich wrote:
Judging by the difference in the data - it is not duplicate.

this happens when I click on the button 1 time, 2 entries are added to the directory

Sukhanitsky Andrey Grove Street Family wrote:
Process example https://sint-master.com.ua/admin/customorder/produkti/461/edit/
Moved to stage
2 entries were added to the directory and part of the data was filled in as the entry id in the directory
https://sint-master.com.ua/admin/shop/custom/object/directory/4/
18.03.2021, 14:03
Original comment available on version: ru

There was an action call both during the transition and during editing - that's what worked 2 times.
Added checks that if it was launched by status, then do not start when saving after.
18.03.2021, 14:10
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
Commentary is available in ru and not yet translated to the current language.
18.03.2021, 14:16

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