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.
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.
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.
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.
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.
[quote]
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.
[/quote]
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?
[quote]
Mitrofanov Vitaly wrote:
And we can change the currency from rub to tenge KZT. Mute to find in the settings where it changes.
[/quote]
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.
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!
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!
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.
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.
[quote]
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.
[/quote]
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.
[quote]
Mitrofanov Vitaly wrote:
I didn’t understand anything about rubles, why do we need rubles, we have Kazakhstan, tenge!
[/quote]
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.
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
Donate
You don't have enough funds in your account Top up