Hi there,
When I create a subscription it seems that the recurring order template is sent to the ERP (once we run the order sync task, that is). I don't think that's correct behavior as it then creates an initial order followed by the recurring one. If I place an order with a schedule that starts today, I get two orders.
I can skip the submission in OnBeforeSendingOrderToErp myself but would it make sense to add behavior for this in LI? Maybe add a setting like "Skip recurring order templates" and then have something like this in the order handler?
      if (settings.SkipRecurringOrderTemplates && order.IsRecurringOrderTemplate)
      {
        ExecutionTable.Current.Add("DynamicwebLiveIntegration.OrderHandler.UpdateOrder END");
        return new bool?(true);
      }
Imar
 
                                             
                                         
                                                     
                             
                                                     
                        							 
                                                     
                                                     
                             
                             
                            