/*Nächste Nummer: * gibt die nächste freie Ansprechpartner-ID aus*/ public BusPartnerEmployeeGetInternalNumberResponse InternalNumber(byte Id) { BusPartnerEmployee.BusPartnerEmployeeGetInternalNumber internalNumber = new BusPartnerEmployeeGetInternalNumber(); BusPartnerEmployee.BusPartnerEmployeeGetInternalNumberResponse response = new BusPartnerEmployeeGetInternalNumberResponse(); internalNumber.Quantity = Id; internalNumber.QuantitySpecified = true; response = client.BusPartnerEmployeeGetInternalNumber(internalNumber); return(response); }
/*zeigt auf Wunsch die nächste freie ID an*/ private void SearchButton_Click(object sender, EventArgs e) { BusPartnerEmployeeGetInternalNumberResponse res = provider.InternalNumber(1); nextIDBox.Text = res.ContactId; }