1b.app
Link copied -

The Create order to supplier action does not work correctly. Product is removed

An order was created for the supplier using the "Create order for supplier" action in the sales order.

The order to the supplier has been sent to the supplier and transferred to the Waiting for goods stage.

In the customer's order, the product was deleted, and in the order to the supplier, the product was also deleted, although it has already been ordered and is on its way to us, it does not need to be deleted. The order to the supplier is not at the starting stage.

The description of the process states: when the Cancel business process to the supplier checkbox is enabled (if the business process is still in the initial state - not sold / not paid / not closed / not shipped) - if we find a business process to the supplier with a product from the process, then delete this product from process to supplier

But at the stage where this action is set, the option Create or check a business process for a supplier is enabled (nothing is written about deleting a product in the description)

The option Remove products from the supplier process that were deleted in the associated customer process is disabled.

I am attaching a screenshot of the action settings.

Why is the product removed?
Original question is available on version: ru

Answers:

Good day.
You probably just don't know that when you delete a product in a supplier's order, by default the related product is deleted from the supplier's order (this does not require a transition to a stage, the action is triggered when a product is changed when the customer's order is in the stage with this action).
In order for this not to happen, you need:
- or for the supplier's order to be paid/sold/closed/shipped
- or the client's order was at the stage where there is no action to create an order for the supplier
Other logics - only through refinement.
26.04.2024, 08:50
Original comment available on version: ua



Tindik Maxim Vadimovich

OneBox production wrote:

Surely you just don’t know that when you delete a product in a supplier’s order, by default the associated product under the supplier’s order is deleted (this does not require a transition to a stage, the action is launched when the product is changed when the customer’s order is in a stage with this action).



Yes, I didn’t know, because there is no information about this anywhere. But there is information about deleting a product under the conditions described by you, which refers to the “Cancel business process to the supplier” option, but we have enabled the “Create or check BP to the supplier” option (I attach a screenshot).

Shouldn't the product be deleted only with this option?
29.04.2024, понедельник, 12:52
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