1b.app
Link copied -

Creation of TTN when moving to the stage from mass changes - invoices are created if an error occurs

Order example https://crm.stylesalon.com.ua/admin/customorder/order/33694/edit/
TTN was created from the list of processes
But for this process, 6 requests were sent and all were successful - this is in the logs
https://crm.stylesalon.com.ua/admin/logs/showall/ajax/?file=novaposhta-2021-09-2...
Configured like this:
Open the necessary orders, switch them to the status "Order completed" https://take.ms/4OWeG
When the order enters the "Order completed" status, it is checked whether the order has a TTN (if not, we switch to the "TTN NP" status, and an invoice is created there; if there is a TTN, we do nothing)
When, when switching, it gives an error for some order (it is impossible to create a TTN or the fields are not filled), then the order that does not have an error does not enter the status, although the actions all work. That is, here all orders (except for those for which there are errors) either need to be switc
Original question is available on version: ru

Answers:

We cannot approach the new mail and say do not create the TTN that I sent you a minute ago if you received an error in one of the orders.
24.09.2021, 11:49
Original comment available on version: ru

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

anonymous duck
OneBox production
Employee wrote:
We cannot approach the new mail and say do not create the TTN that I sent you a minute ago if you received an error in one of the orders.

You didn’t understand, orders for which there are no errors do not switch to the status and it turns out that they remain in the previous status and you kind of switch them back to the status and again create an invoice and so on until there are no orders in the entire list without mistakes
24.09.2021, 12:36
Original comment available on version: ru


Sukhanitsky Andrey
Integrator
Integrator CRM wrote:

anonymous duck
OneBox production
Employee wrote:
We cannot approach the new mail and say do not create the TTN that I sent you a minute ago if you received an error in one of the orders.

You didn’t understand, orders for which there are no errors do not switch to the status and it turns out that they remain in the previous status and you kind of switch them back to the status and again create an invoice and so on until there are no orders in the entire list without mistakes

Everything is correct. If somewhere an error occurs, all orders with mass changes are rolled back to you. Conclusion: you need to configure processes so that there are no errors in np. In this case, mass changes must either apply everything or roll back everything, and this is true.
24.09.2021, 12:38
Original comment available on version: ru

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

anonymous duck
OneBox production
Employee wrote:
Everything is correct. If somewhere an error occurs, all orders with mass changes are rolled back to you. Conclusion: you need to configure processes so that there are no errors in np. In this case, mass changes must either apply everything or roll back everything, and this is true.

so that's the cant, that orders that have not received an error can be switched to status, can't you do that?
24.09.2021, 12:46
Original comment available on version: ru

No, data integrity is violated. Either everything you want to change will change or nothing. Like in L'One's "All or Nothing"
24.09.2021, 12:59
Original comment available on version: ru

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

anonymous duck
OneBox production
Employee wrote:
No, data integrity is violated. Either everything you want to change will change or nothing. Like in L'One's "All or Nothing"

But this setting seems to do what it needs, but it still needs to show where the errors are, is there an option to make another option to show where the errors are but skipped?
24.09.2021, 13:12
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
Can you tell me if it can be implemented?
15.10.2021, 13:23
Original comment available on version: ru

Yes, it will take 2 hours
25.10.2021, 11:26
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