Exemple #1
0
        public InfoComOutputBean FCKInfoCom(InfoComInputBean inBean)
        {
            object[] results = this.Invoke("FCKInfoCom", new object[] {
                inBean
            });

            return((InfoComOutputBean)(results[0]));
        }
Exemple #2
0
 /// <remarks/>
 public void FCKInfoComAsync(InfoComInputBean inBean, object userState)
 {
     if ((this.FCKInfoComOperationCompleted == null))
     {
         this.FCKInfoComOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFCKInfoComOperationCompleted);
     }
     this.InvokeAsync("FCKInfoCom", new object[] {
         inBean
     }, this.FCKInfoComOperationCompleted, userState);
 }
Exemple #3
0
        private void dispo(string minsan, int disponibile)
        {
            FCKInfo.InfoComInputBean    inbean       = new FCKInfo.InfoComInputBean();
            FCKInfo.ArticoloInputBean[] articolibean = new FCKInfo.ArticoloInputBean[1];
            FCKInfo.ArticoloInputBean   articolo     = new FCKInfo.ArticoloInputBean();

            inbean.IDSessione      = idsessione;
            inbean.codiceFornitore = codice;
            inbean.descrizioneMotivazioneMancanza = false;
            inbean.descrizioneMotivazioneMancanza = false;
            inbean.riferimentoOrdineFarmacia      = "123456";


            articolibean[0] = new FCKInfo.ArticoloInputBean();
            articolibean[0].codiceProdotto    = minsan;
            articolibean[0].quantitaRichiesta = 1;



            inbean.arrayArticoliInput = articolibean;

            FCKInfo.farmaclick2010001Service webservice2 = new FCKInfo.farmaclick2010001Service();
            webservice2.Url = url;
            FCKInfo.InfoComOutputBean outbean = webservice2.FCKInfoCom(inbean);

            //MessageBox.Show(outbean.esitoServizio.ToString());


            if (outbean.esitoServizio == 0)
            {
                disponibile = int.Parse(outbean.arrayArticoli[0].quantitaConsegnata.ToString());
            }
            else
            {
                MessageBox.Show("va no");
            }
        }
Exemple #4
0
 /// <remarks/>
 public void FCKInfoComAsync(InfoComInputBean inBean)
 {
     this.FCKInfoComAsync(inBean, null);
 }