I have a customer where the shipping options are dependent on the items in the cart. This means that even though the the shipping fee is calculated by the ERP (BC), we have created a shipping provider to let the user have access to the different delivery methods.
When a cart is going through the checkout process, we send the cart to BC using the custom shipping provider. BC then returns a list of shipping options including the fee and we shows this to the customer, who then selects the wanted shipping provider. This provider is then sent to BC with the order.
The problem is now that when we set the Live Integration option "ERP controls discoint calculations" our custom shipping provider is never called, BUT if we disable it, a standard shipping line is added to the order using the Live Integration/Code Unit. Is there a way to prevent the Live Integration from creating the additional order line?