private int SendServiceProvider()
        {
            DateTime FromDate = DateTime.Parse(GetFromDate);
            service_provider LocalServiceProvider = QueryServiceProvider(FromDate);


            if (LocalServiceProvider != null)
            {
                ServiceProvider[] SendServiceProvider = new ServiceProvider[1];

                ServiceProvider tmp = new ServiceProvider();
                tmp.Timestamp = LocalServiceProvider.createdAt.ToString("dd.MM.yyyy HH:mm:ss", CultureInfo.InvariantCulture);
                tmp.Id = LocalServiceProvider.Id;
                tmp.Address1 = LocalServiceProvider.address_1;
                tmp.Address2 = LocalServiceProvider.address_2;
                tmp.City = LocalServiceProvider.city;
                tmp.CompanyName = LocalServiceProvider.company_name;
                tmp.CountryId = LocalServiceProvider.country_id;
                tmp.Phone1 = LocalServiceProvider.phone_1;
                tmp.Phone2 = LocalServiceProvider.phone_2;
                tmp.Taxnumber = LocalServiceProvider.tax_number;
                tmp.Zip = LocalServiceProvider.zip;
                if (LocalServiceProvider.zone_id < 1)
                {
                    tmp.ZoneId = 207;                       //Wenn die ZoneId Null ist, wird sie auf 207 (Wien) geändert. 
                }
                else
                {
                    tmp.ZoneId = LocalServiceProvider.zone_id;
                }

                //tmp.Appendix = LocalOrderItemReportAppendix[i].appendix;      funktioniert im Sync noch nicht

                SendServiceProvider[0] = tmp;

                return SyncClient.PutServiceProvider(SendServiceProvider, DateTimeNow, false);
            }
            return 0;

        }