示例#1
0
        public string ComponentMoving_all(string WERKS, string LGORT, string LGNUM, string LPTYP, string NLTYP, string NLBER, string NLPLA, string VLTYP, string VLBER, string VLPLA, string MATNR, string ANFME, string MEINS, string POSID, string BESTQ, string CHARG)
        {
            string           token = AppClass.GetSession("token").ToString();
            ZSL_PSS_INC_LJYC i_in  = new ZSL_PSS_INC_LJYC();

            i_in.WERKS = WERKS;
            i_in.LGORT = LGORT;
            i_in.LGNUM = LGNUM;
            i_in.LPTYP = LPTYP;
            i_in.NLTYP = NLTYP;
            i_in.NLBER = NLBER;
            i_in.NLPLA = NLPLA;
            i_in.VLTYP = VLTYP;
            i_in.VLBER = VLBER;
            i_in.VLPLA = VLPLA;
            i_in.MATNR = MATNR;
            i_in.ANFME = ANFME;
            i_in.MEINS = MEINS;
            i_in.POSID = POSID;
            i_in.BESTQ = BESTQ;
            i_in.CHARG = CHARG;


            Sonluk.UI.Model.PS.ComponentMoveService.PS_MSG ps_msg = psmodels.ComponentMove.ComponentMoving_all(i_in, token);
            string json = Newtonsoft.Json.JsonConvert.SerializeObject(ps_msg);

            return(json);
        }
示例#2
0
        public string ComponentSoldout(string RSNUM, string RSPOS, string MATNR, string SENUM, string ZROWSNUM, string LGPLA, string VERME, string MENGE, string LGBER, string LPTYP, string LGNUM, string WERKS, string LGORT, string LGTYP, string ZJUDGE)
        {
            string           token = AppClass.GetSession("token").ToString();
            ZSL_PSS_INC_LJXJ ps_i  = new ZSL_PSS_INC_LJXJ();

            ps_i.RSNUM    = RSNUM;
            ps_i.RSPOS    = RSPOS;
            ps_i.MATNR    = MATNR;
            ps_i.SENUM    = SENUM;
            ps_i.ZROWSNUM = ZROWSNUM;
            ps_i.LGPLA    = LGPLA;
            ps_i.VERME    = VERME;
            ps_i.MENGE    = MENGE;
            ps_i.LGBER    = LGBER;
            ps_i.LPTYP    = LPTYP;
            ps_i.LGNUM    = LGNUM;
            ps_i.WERKS    = WERKS;
            ps_i.LGORT    = LGORT;
            ps_i.LGTYP    = LGTYP;
            ps_i.ZJUDGE   = ZJUDGE;
            ps_i.ZUSER    = Session["NAME"].ToString();

            //ZSL_PSS_IN_LJXJ ps_t = new ZSL_PSS_IN_LJXJ();
            //ps_t.MENGE = MENGE;
            //ps_t.LGPLA = LGPLA;
            //ps_t.VERME = VERME;
            Sonluk.UI.Model.PS.ComponentMoveService.PS_MSG ps_msg = psmodels.ComponentMove.ComponentSoldout(ps_i, token);
            string json = Newtonsoft.Json.JsonConvert.SerializeObject(ps_msg);

            return(json);
        }