コード例 #1
0
        public ArrayList ConsultarListaPrecio(string strCodProducto, string strTipoVenta, string strTipoOficina, string strCodDepartamento,
                                              string strCodMaterial, string strCodCampania, string intTipoOperacion, string strCodPlazo, string strCodPlan)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ConsultarListaPrecio(strCodProducto, strTipoVenta, strTipoOficina, strCodDepartamento, strCodMaterial, strCodCampania, intTipoOperacion, strCodPlazo, strCodPlan));
        }
コード例 #2
0
        public void RegistrarPedido(string CadenaCabecera, string CadenaDetalle, ref Int64 idPedidoMsSap, ref string codResp, ref string msgResp)
        {
            ConsultaMsSap objDAL = new ConsultaMsSap();

            idPedidoMsSap = objDAL.RegistrarPedido(CadenaCabecera, ref codResp, ref msgResp);
            if (idPedidoMsSap > 0)
            {
                foreach (string sDatosVentaDet in CadenaDetalle.Split('|'))
                {
                    objDAL.RegistrarPedidoDetalle(idPedidoMsSap, sDatosVentaDet);
                }
            }
        }
コード例 #3
0
        //PROY-24724-IDEA-28174 - INICIO
        public Int64 RegistrarPedidoPM(string strCadenaCabecera, string strCadenaDetalle, ref string strCodResp, ref string strMsgResp, ref Int64 intIdPedidoMsSapRef)
        {
            Int64         IntIdPedidoMsSap = 0;
            ConsultaMsSap objDAL           = new ConsultaMsSap();

            IntIdPedidoMsSap = objDAL.RegistrarPedido(strCadenaCabecera, ref strCodResp, ref strMsgResp);
            if (IntIdPedidoMsSap > 0)
            {
                intIdPedidoMsSapRef = IntIdPedidoMsSap;
                foreach (string strDatosVentaDet in strCadenaDetalle.Split('|'))
                {
                    objDAL.RegistrarPedidoDetalle(IntIdPedidoMsSap, strDatosVentaDet);
                }
            }
            return(IntIdPedidoMsSap);
        }
コード例 #4
0
        public Int64 RegistrarDevolucion(string CadenaCabecera, string CadenaDetalle, ref string codResp, ref string msgResp)
        {
            Int64         idPedidoMsSap = 0;
            ConsultaMsSap objDAL        = new ConsultaMsSap();

            idPedidoMsSap = objDAL.RegistrarDevolucion(CadenaCabecera, ref codResp, ref msgResp);
            if (idPedidoMsSap > 0)
            {
                foreach (string sDatosVentaDet in CadenaDetalle.Split('|'))
                {
                    objDAL.RegistrarDevolucionDetalle(idPedidoMsSap, sDatosVentaDet, ref codResp, ref msgResp);
                    if (codResp != "0")
                    {
                        throw new Exception(idPedidoMsSap.ToString() + "|" + msgResp);
                    }
                }
            }
            return(idPedidoMsSap);
        }
コード例 #5
0
        public DataSet ConsultaAcuerdo(string nrocontrato, string nrosubcontrato)
        {
            ConsultaMsSap objDAL = new ConsultaMsSap();

            return(objDAL.ConsultaAcuerdo(nrocontrato, nrosubcontrato));
        }
コード例 #6
0
        public string reservaSerieMaterial(string codSerie)
        {
            ConsultaMsSap objDAL = new ConsultaMsSap();

            return(objDAL.reservaSerieMaterial(codSerie));
        }
コード例 #7
0
        public ArrayList ConsultaVendedores(string oficinaVenta)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ConsultaVendedores(oficinaVenta));
        }
コード例 #8
0
        public ArrayList ListarPlanesTarifarios(string tipoproducto, string tipoventa)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ListarPlanesTarifarios(tipoproducto, tipoventa));
        }
コード例 #9
0
        public ArrayList PlanXServicios(string tipoproducto, string tipoventa)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.PlanXServicios(tipoproducto, tipoventa));
        }
コード例 #10
0
        public ArrayList ConsultaPrecioBaseMaterial(string strCodigoMaterial)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ConsultaPrecioBaseMaterial(strCodigoMaterial));
        }
コード例 #11
0
        public DataSet ParametrosOficinaVenta(string oficina)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ParametrosOficinaVenta(oficina));
        }
コード例 #12
0
        public ArrayList ListarCuotas()
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ListarCuotas());
        }
コード例 #13
0
        public ArrayList ConsultarSerieMaterial(string strCodigoOficinaMSSAP, string strCodigoAlmacen, string strCodigoCentro, Int32 intCantidad, string strCodigoMaterial, string strTipoVenta)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ConsultarSerieMaterial(strCodigoOficinaMSSAP, strCodigoAlmacen, strCodigoCentro, intCantidad, strCodigoMaterial, strTipoVenta));
        }
コード例 #14
0
        }         //SD_644347 - CUOTAS - FIN

        public string ConsultaPrecioApadece(string strCodMaterial)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ConsultaPrecioApadece(strCodMaterial));
        }
コード例 #15
0
        public double ConsultaDetallePrecio(string nropedido, string strNroSerie, ref string strNroError, ref string strDesError)         //SD_644347 - CUOTAS - INICIO
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ConsultaDetallePrecio(nropedido, strNroSerie, ref strNroError, ref strDesError));
        }         //SD_644347 - CUOTAS - FIN
コード例 #16
0
        public DataSet ConsultaPedido(string nropedido, string codoficina)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ConsultaPedido(nropedido, codoficina));
        }
コード例 #17
0
        public bool AnularPedido(Int64 p_nroPedido, string tipoficina)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.AnularPedido(p_nroPedido, tipoficina));
        }
コード例 #18
0
//		public String ActualizaCliente(BECliente beClienteSap)
//		{
//			ConsultaMsSap objDAL = new ConsultaMsSap();
//			return objDAL.ActualizarCliente(beClienteSap);
//		}

        public ArrayList ListarCampanias(string codigo, string descripcion, string tipoventa, string estado)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ListarCampanias(codigo, descripcion, tipoventa, estado));
        }
コード例 #19
0
        public ArrayList ConsultarStock(string strCodigoOficinaMSSAP, string strDescOficina, string strTipoVenta)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ConsultarStock(strCodigoOficinaMSSAP, strDescOficina, strTipoVenta));
        }
コード例 #20
0
        public ArrayList ConsultaVendedoresPVU(string oficinaVenta, string estado)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ConsultaVendedoresPVU(oficinaVenta, estado));
        }
コード例 #21
0
        public PreciosMateriales Get_PrecioVenta(string strCodigoMaterial, string strSerieMaterial, decimal dblPrecioBaseMaterial, decimal dblPrecioVentaMaterial)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.Get_PrecioVenta(strCodigoMaterial, strSerieMaterial, dblPrecioBaseMaterial, dblPrecioVentaMaterial));
        }
コード例 #22
0
        public BEParametroOficina ParametrosOficina(string sCodigoOficina)
        {
            ConsultaMsSap objDAL = new ConsultaMsSap();

            return(objDAL.ParametrosOficina(sCodigoOficina));
        }
コード例 #23
0
        public ArrayList ConsultarPrecioMaterial(string codLista, string codMaterial)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.ConsultarPrecioMaterial(codLista, codMaterial));
        }
コード例 #24
0
        public BEParametroOficina ConsultaParametrosOficina(string pCodOficina, string pdesoficina)
        {
            ConsultaMsSap objDAL = new ConsultaMsSap();

            return(objDAL.ConsultaParametrosOficina(pCodOficina, pdesoficina));
        }
コード例 #25
0
        public BECliente ConsultaCliente(string nroDocCliente, string tipodoccliente)
        {
            ConsultaMsSap objDAL = new ConsultaMsSap();

            return(objDAL.ConsultaCliente(nroDocCliente, tipodoccliente));
        }
コード例 #26
0
        public string actualizaPedido(string nroPedido)
        {
            ConsultaMsSap objDAL = new ConsultaMsSap();

            return(objDAL.actualizaPedido(nroPedido));
        }
コード例 #27
0
        public static bool GrabarInfoRentaSAP(Int64 nroPedidoMSSAP, Int32 nroCuotasSEC, double dblMontoRenta, string strNroRentaSAP)
        {
            ConsultaMsSap objDAL = new ConsultaMsSap();

            return(objDAL.GrabarInfoRentaSAP(nroPedidoMSSAP, nroCuotasSEC, dblMontoRenta, strNroRentaSAP));
        }
コード例 #28
0
        public String CambiarEstadoSerie(string codSerie, string codMaterial, string codOficina, string pestado)
        {
            ConsultaMsSap obj = new ConsultaMsSap();

            return(obj.CambiarEstadoSerie(codSerie, codMaterial, codOficina, pestado));
        }