1b.app
Link copied -

Doesn't calculate margin

Here is the process https://baza.cn.ua/admin/customorder/order/25221/edit/
Here is the procedure https://baza.cn.ua/admin/shop/workflow/12/procedure/53/?status=2
Which should recalculate the margin on save
But it doesn't feel right
The order has a sales amount
Here is the amount of income https://baza.cn.ua/admin/shop/products/61863/storage/
The difference should be a margin, but shows the friend the figure
Original question is available on version: ru

Answers:

Input price set to 100
it has the highest priority
if it was 0, then it would be taken from the warehouse
23.10.2020, 15:02
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Ustimenko Igor OneBox CTO wrote:
Input price set to 100
it has the highest priority
if it was 0, then it would be taken from the warehouse

Well, the action is here https://baza.cn.ua/admin/shop/workflow/12/procedure/42/?status=0
It should somehow work https://prnt.sc/v5bywa
It should take this action from the warehouse incoming or am I wrong?
23.10.2020, 16:21
Original comment available on version: ru


Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:

Ustimenko Igor OneBox CTO wrote:
Input price set to 100
it has the highest priority
if it was 0, then it would be taken from the warehouse

Well, the action is here https://baza.cn.ua/admin/shop/workflow/12/procedure/42/?status=0
It should somehow work https://prnt.sc/v5bywa
It should take this action from the warehouse incoming or am I wrong?

it's stupid to look at actions that are turned off
if you want something more accurate to answer you, then let's go where the settings do not change 100 times
no one will sit and guess
25.10.2020, 22:57
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Ustimenko Igor OneBox CTO wrote:

Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:

Ustimenko Igor OneBox CTO wrote:
Input price set to 100
it has the highest priority
if it was 0, then it would be taken from the warehouse

Well, the action is here https://baza.cn.ua/admin/shop/workflow/12/procedure/42/?status=0
It should somehow work https://prnt.sc/v5bywa
It should take this action from the warehouse incoming or am I wrong?

it's stupid to look at actions that are turned off
if you want something more accurate to answer you, then let's go where the settings do not change 100 times
no one will sit and guess

Nothing is off, everything works
Here is the procedure when saving https://baza.cn.ua/admin/shop/workflow/12/procedure/53/?status=2
It has this action https://baza.cn.ua/admin/shop/workflow/12/procedure/42/?status=0
That is, everything works when saving
I press save and nothing works.
Here https://baza.cn.ua/admin/customorder/order/25221/edit/
26.10.2020, 10:40
Original comment available on version: ru


Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:

Ustimenko Igor OneBox CTO wrote:

Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:

Ustimenko Igor OneBox CTO wrote:
Input price set to 100
it has the highest priority
if it was 0, then it would be taken from the warehouse

Well, the action is here https://baza.cn.ua/admin/shop/workflow/12/procedure/42/?status=0
It should somehow work https://prnt.sc/v5bywa
It should take this action from the warehouse incoming or am I wrong?

it's stupid to look at actions that are turned off
if you want something more accurate to answer you, then let's go where the settings do not change 100 times
no one will sit and guess

Nothing is off, everything works
Here is the procedure when saving https://baza.cn.ua/admin/shop/workflow/12/procedure/53/?status=2
It has this action https://baza.cn.ua/admin/shop/workflow/12/procedure/42/?status=0
That is, everything works when saving
I press save and nothing works.
Here https://baza.cn.ua/admin/customorder/order/25221/edit/

product has no stock
so no price
27.10.2020, 13:51
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Ustimenko Igor OneBox CTO wrote:
product has no stock
so no price

Well, duck, within the framework of the same order, this product was written off
Product https://baza.cn.ua/admin/shop/products/61863/storage/
Order https://baza.cn.ua/admin/customorder/order/25221/edit/
27.10.2020, 17:05
Original comment available on version: ru


Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:

Ustimenko Igor OneBox CTO wrote:
product has no stock
so no price

Well, duck, within the framework of the same order, this product was written off
Product https://baza.cn.ua/admin/shop/products/61863/storage/
Order https://baza.cn.ua/admin/customorder/order/25221/edit/

well, the price should be set before the write-off and not after
and you have actions either turned off or not at all
28.10.2020, 11:19
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Ustimenko Igor OneBox CTO wrote:

Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:

Ustimenko Igor OneBox CTO wrote:
product has no stock
so no price

Well, duck, within the framework of the same order, this product was written off
Product https://baza.cn.ua/admin/shop/products/61863/storage/
Order https://baza.cn.ua/admin/customorder/order/25221/edit/

well, the price should be set before the write-off and not after
and you have actions either turned off or not at all

Nothing was said about this in the action, I wrote off with one action and counted the second immediately after the write-off
Plus, there are actions that update the purchase, and as a result of the update, there is a need to update the margin as well, since the purchase has changed
I ask you to correct the action so that it works correctly or describe in the action what conditions for its operation, so that there is a clear understanding at what point it works
28.10.2020, 12:01
Original comment available on version: ru


Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:

Ustimenko Igor OneBox CTO wrote:

Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:

Ustimenko Igor OneBox CTO wrote:
product has no stock
so no price

Well, duck, within the framework of the same order, this product was written off
Product https://baza.cn.ua/admin/shop/products/61863/storage/
Order https://baza.cn.ua/admin/customorder/order/25221/edit/

well, the price should be set before the write-off and not after
and you have actions either turned off or not at all

Nothing was said about this in the action, I wrote off with one action and counted the second immediately after the write-off
Plus, there are actions that update the purchase, and as a result of the update, there is a need to update the margin as well, since the purchase has changed
I ask you to correct the action so that it works correctly or describe in the action what conditions for its operation, so that there is a clear understanding at what point it works

in the next versions we will add a description
28.10.2020, 14:41
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Ustimenko Igor OneBox CTO wrote:
in the next versions we will add a description

It's a pity
It turns out now that if at first there was a write-off (albeit for this order), then the action stupidly does not work?
Please write down the logic why the action on the order in which I gave an example did not work now (because at first you wrote one thing and then another and I didn’t fully understand why it doesn’t work now)
I want what would remain in history and people who encounter a similar problem understood how this action works
28.10.2020, 16:24
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