1b.app
Link copied -

Action - copy field from parent process

When creating a subprocess, there is a task to copy all the tawny fields from the parent process.
To solve it, we used Action - Copy the value of the field from the parent process. https://sobr.crm-onebox.com/admin/shop/workflowstatus/164/action/new/
There are checkboxes:
1. Search for a value in the entire tree of parent processes and, if the field is not empty - copy;
2. Run an action once an hour (instead of moving to a stage)
But some fields are not copied. What is connected with it is not clear.
Original question is available on version: ru

Answers:

We have a Tariff Cost field - a numeric floating point, in fact, this is a subscriber. client fee. https://sobr.crm-onebox.com/admin/shop/orderfield/184/
Here we have it sometimes equal to 0. If this field = 0, then 0 is not copied to the subprocess at all.
And we can change the currency from rub to tenge KZT. Mute to find in the settings where it changes.
14.12.2021, 06:49
Original comment available on version: ru


Mitrofanov Vitaly wrote:
Here we have it sometimes equal to 0. If this field = 0, then 0 is not copied to the subprocess at all.

Probably in action, a check for the absence of a value, and 0 with a non-strict comparison is like there is no value. Do you have further problems because of this in any miscalculations?

Mitrofanov Vitaly wrote:
And we can change the currency from rub to tenge KZT. Mute to find in the settings where it changes.

We can change the currency, but you must understand that all entities in your OneBox have exchange rates relative to rubles - and, accordingly, the amounts in the base currency will not be correct.
14.12.2021, 16:52
Original comment available on version: ru

Good afternoon.
If the subscription fee was 500, and then it became 0 for several months, but was not 0 in the subprocess, then of course the result will be correct.
I didn’t understand anything about rubles, why do we need rubles, we have Kazakhstan, tenge!
16.12.2021, 06:44
Original comment available on version: ru

https://sobr.crm-onebox.com/admin/customorder/zadachi-bukhgalterii/392231/edit/
https://sobr.crm-onebox.com/admin/customorder/zadachi-bukhgalterii/392210/edit/
two examples, where the fields Jur. the face was not copied from the parent process.
There is no such thing that it is not totally copied everywhere, but there is such a thing that for some reason it is not copied in some processes.
20.12.2021, 12:53
Original comment available on version: ru


Mitrofanov Vitaly wrote:
Good afternoon.
If the subscription fee was 500, and then it became 0 for several months, but was not 0 in the subprocess, then of course the result will be correct.

Probably your problem is that you specified the setting "Search for a value in the entire tree of parent processes and, if the field is not empty - copy" - in fact, if your parent has a field of 0 - it is considered that there is no value - that's not copying.
If you copy specifically from the parent 1 level up - you can remove this setting - and then if you do not specify the setting "Do not overwrite existing values" - it should be overwritten.

Mitrofanov Vitaly wrote:
I didn’t understand anything about rubles, why do we need rubles, we have Kazakhstan, tenge!

The bottom line was that in each entity, where the cost and currency appear, the amounts are stored in the base currency recalculated at the rate of the system at the time the entity was created. Actually, if you change the base currency and rates, all these previously created entities will have incorrect base amounts. You must understand the risks after changing the currency - this should be done from the very beginning.
29.12.2021, 12:00
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