private void ProcessTransferOrderNotification(IEnumerable <OrderNotification> transferOrders, string documentNumber)
        {
            var transferOrderLines    = transferOrders as OrderNotification[] ?? transferOrders.ToArray();
            var currentTransferOrders = _orderRepo.GetOrders(_sapphConnectorID, OrderTypes.PickTicketOrder).Where(x => x.Document == documentNumber);

            List <DatColErrorMessage> listOfErrors;

            if (_notificationHelper.IsAllSubTransferOrdersAreShipped(transferOrderLines, currentTransferOrders, out listOfErrors, true))
            {
                if (_notificationHelper.IsValidTransferNotification(transferOrderLines, out listOfErrors, true))
                {
                    List <DatColOrderTransfer> listOfNotifications;
                    if (CreateTransferOrderNotification(transferOrderLines, out listOfNotifications))
                    {
                        UploadNotification(listOfNotifications, documentNumber, SaveTo.TransferPickTicketShipmentConfirmationDirectory);
                        UpdateOrderResponseLines(transferOrderLines, OrderResponseLineStatusShippedToAxapta);
                    }
                }
                else
                {
                    _orderNumber = documentNumber;
                    var fileName = ErrorNotificationFileName;
                    _archiveService.ExportToAxapta(listOfErrors, SaveTo.CorruptNotificationDirectory, fileName);
                    _log.AuditInfo(string.Format("Failed to process ShipmentNotification. Please look at file '{0}' in CorruptNotification map on ftp server for error", fileName));
                }
            }
            else
            {
                _orderNumber = documentNumber;
                var fileName = ErrorNotificationFileName;
                _archiveService.ExportToAxapta(listOfErrors, SaveTo.CorruptNotificationDirectory, fileName);
                _log.AuditInfo(string.Format("Failed to process ShipmentNotification. Please look at file '{0}' in CorruptNotification map on ftp server for error", fileName));
            }
        }