Version OScar
This commit is contained in:
15
ModelosApiborrar/Inventarios/Request/RequestAlmacenGet.cs
Normal file
15
ModelosApiborrar/Inventarios/Request/RequestAlmacenGet.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Inventarios.Request
|
||||
{
|
||||
public class RequestAlmacenGet
|
||||
{
|
||||
public int CveTipoAlmacen { get; set; }
|
||||
public int Modalidad { get; set; }
|
||||
public int CveEmpresa { get; set; }
|
||||
public int CveSubProyecto { get; set; }
|
||||
}
|
||||
}
|
||||
24
ModelosApiborrar/Inventarios/Request/RequestAlmacenesGet.cs
Normal file
24
ModelosApiborrar/Inventarios/Request/RequestAlmacenesGet.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Inventarios.Request
|
||||
{
|
||||
public class RequestAlmacenesGet
|
||||
{
|
||||
|
||||
public int CveTipoAlmacen { get; set; }
|
||||
public int Modalidad { get; set; }
|
||||
public int CveEmpresa { get; set; }
|
||||
public int CveSubProyecto { get; set; }
|
||||
public RequestAlmacenesGet() { }
|
||||
public RequestAlmacenesGet(int CveTipoAlmacen, int Modalidad, int CveEmpresa, int CveSubProyecto)
|
||||
{
|
||||
this.CveTipoAlmacen = CveTipoAlmacen;
|
||||
this.Modalidad = Modalidad;
|
||||
this.CveEmpresa = CveEmpresa;
|
||||
this.CveSubProyecto = CveSubProyecto;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Inventarios.Request
|
||||
{
|
||||
public class RequestExistenciasProducto
|
||||
{
|
||||
public long CvePS { get; set; }
|
||||
public long CveUnidadMedida { get; set; }
|
||||
public long CveEmpresa { get; set; }
|
||||
public long CveAlmacen { get; set; }
|
||||
public long CveTipoAlmacen { get; set; }
|
||||
public DateTime FechaMovto { get; set; }
|
||||
public long CveVendedor { get; set; }
|
||||
public long CveCliente { get; set; }
|
||||
public long CveSeccionAlmacen { get; set; }
|
||||
public string Serie { get; set; }
|
||||
public string Lote { get; set; }
|
||||
public DateTime Caducidad { get; set; }
|
||||
public long ExcluyeAdelantado { get; set; }
|
||||
public long PendientePorSurtir { get; set; }
|
||||
public long ExcluyeApartados { get; set; }
|
||||
public long RestringirAlmacenes { get; set; }
|
||||
public long TopSelect { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Inventarios.Request
|
||||
{
|
||||
public class RequestGetExistenciasPSModel
|
||||
{
|
||||
public int CvePS { get; set; }
|
||||
public int CveUnidadMedida { get; set; }
|
||||
public int CveEmpresa { get; set; }
|
||||
public int CveAlmacen { get; set; }
|
||||
public DateTime FechaCaducidad { get; set; }
|
||||
public int CveSeccionAlmacen { get; set; }
|
||||
public int CveTipoAlmacen { get; set; }
|
||||
public int CveSubProyecto { get; set; }
|
||||
public string FechaMovto { get; set; }
|
||||
public string Serie { get; set; }
|
||||
public string Lote { get; set; }
|
||||
public int CveVendedor { get; set; }
|
||||
public int CveCliente { get; set; }
|
||||
public int ExcluyeAdelantado { get; set; }
|
||||
public int PendientePorSurtir { get; set; }
|
||||
public int ExcluyeApartados { get; set; }
|
||||
public int RestringirAlmacenes { get; set; }
|
||||
public RequestGetExistenciasPSModel()
|
||||
{
|
||||
FechaCaducidad = DateTime.MinValue;
|
||||
}
|
||||
public RequestGetExistenciasPSModel(int CvePS, int CveUnidadMedida, int CveEmpresa, int CveAlmacen, int CveSeccionAlmacen = -1, int CveTipoAlmacen = -1,
|
||||
int CveSubProyecto = -1, string FechaMovto = "-1", string Serie = "-1", string Lote = "-1", int CveVendedor = -1,
|
||||
int CveCliente = -1, int ExcluyeAdelantado = -1, int PendientePorSurtir = -1, int ExcluyeApartados = 1, int RestringirAlmacenes = -1)
|
||||
{
|
||||
this.CvePS = CvePS;
|
||||
this.CveUnidadMedida = CveUnidadMedida;
|
||||
this.CveEmpresa = CveEmpresa;
|
||||
this.CveAlmacen = CveAlmacen;
|
||||
this.FechaCaducidad = DateTime.MinValue;
|
||||
this.CveSeccionAlmacen = CveSeccionAlmacen;
|
||||
this.CveTipoAlmacen = CveTipoAlmacen;
|
||||
this.CveSubProyecto = CveSubProyecto;
|
||||
this.FechaMovto = FechaMovto;
|
||||
this.Serie = Serie;
|
||||
this.Lote = Lote;
|
||||
this.CveVendedor = CveVendedor;
|
||||
this.CveCliente = CveCliente;
|
||||
this.ExcluyeAdelantado = ExcluyeAdelantado;
|
||||
this.PendientePorSurtir = PendientePorSurtir;
|
||||
this.ExcluyeApartados = ExcluyeApartados;
|
||||
this.RestringirAlmacenes = RestringirAlmacenes;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Inventarios.Request
|
||||
{
|
||||
public class RequestInv_MovimientosDetalleGet
|
||||
{
|
||||
public int cveMovimiento { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
public int cveCompra { get; set; }
|
||||
public int cveMovimientoDetalle { get; set; }
|
||||
public RequestInv_MovimientosDetalleGet()
|
||||
{
|
||||
cveCompra = -1;
|
||||
cveMovimientoDetalle = -1;
|
||||
}
|
||||
public RequestInv_MovimientosDetalleGet(int cveMovimiento, int cveEmpresa, int cveCompra=-1, int cveMovimientoDetalle=-1)
|
||||
{
|
||||
this.cveMovimiento = cveMovimiento;
|
||||
this.cveEmpresa = cveEmpresa;
|
||||
this.cveCompra = cveCompra;
|
||||
this.cveMovimientoDetalle = cveMovimientoDetalle;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
120
ModelosApiborrar/Inventarios/Request/RequestInventarioADD.cs
Normal file
120
ModelosApiborrar/Inventarios/Request/RequestInventarioADD.cs
Normal file
@@ -0,0 +1,120 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Inventarios.Request
|
||||
{
|
||||
public class RequestInventarioADD
|
||||
{
|
||||
#region propiedades
|
||||
public int CveAlmacen { get; set; }
|
||||
public int CveConcepto { get; set; }
|
||||
public int CveMoneda { get; set; }
|
||||
public DateTime FechaMovto { get; set; }
|
||||
public int tFolio { get; set; }
|
||||
public int CveUsuario { get; set; }
|
||||
public int CveEmpresa { get; set; }
|
||||
public int CveCompra { get; set; }
|
||||
public int CveVenta { get; set; }
|
||||
public int CveSubProyecto { get; set; }
|
||||
public int CveActivoFijo { get; set; }
|
||||
public int CveOS { get; set; }
|
||||
public int CvePersonal { get; set; }
|
||||
public int IDPoliza { get; set; }
|
||||
public int CveUsuarioResponsable { get; set; }
|
||||
public int CveConsignacion { get; set; }
|
||||
public string Guia { get; set; }
|
||||
public int CveAlmacenDestino { get; set; }
|
||||
public string Observaciones { get; set; }
|
||||
public string Recibio { get; set; }
|
||||
public int CveMovimientoRelacionado { get; set; }
|
||||
public double TipoCambio { get; set; }
|
||||
public int CveVendedor { get; set; }
|
||||
public int CveCliente { get; set; }
|
||||
public bool MovimientoFijo { get; set; }
|
||||
public int CveContrato { get; set; }
|
||||
public int CveProveedor { get; set; }
|
||||
public string Remision { get; set; }
|
||||
public int CveClienteSucursal { get; set; }
|
||||
public string DepartamentoEntrega { get; set; }
|
||||
public string PedidoContrato { get; set; }
|
||||
public double GastoIndirecto { get; set; }
|
||||
public int CveChofer { get; set; }
|
||||
public string Placa { get; set; }
|
||||
public string FechaEntrega { get; set; }
|
||||
public string EspecifUnidad { get; set; }
|
||||
public string ResponsableCarga { get; set; }
|
||||
public string ResponsableRecibio { get; set; }
|
||||
public string Identificacion { get; set; }
|
||||
public string Domicilio { get; set; }
|
||||
public string Telefono { get; set; }
|
||||
public string Ciudad { get; set; }
|
||||
public string Licencia { get; set; }
|
||||
public string Modulo { get; set; }
|
||||
public int CveOP { get; set; }
|
||||
#endregion
|
||||
public RequestInventarioADD()
|
||||
{
|
||||
CveOS = -1; CvePersonal = -1; IDPoliza = -1; CveUsuarioResponsable = -1; CveConsignacion = -1; Guia = "";
|
||||
CveAlmacenDestino = -1; Observaciones = ""; Recibio = ""; CveMovimientoRelacionado = -1; TipoCambio = -1; CveVendedor = -1; CveCliente = -1;
|
||||
MovimientoFijo = false; CveContrato = -1; CveProveedor = -1; Remision = ""; CveClienteSucursal = -1; DepartamentoEntrega = ""; PedidoContrato = "";
|
||||
GastoIndirecto = -1; CveChofer = -1; Placa = ""; FechaEntrega = ""; EspecifUnidad = ""; ResponsableCarga = ""; ResponsableRecibio = "";
|
||||
Identificacion = ""; Domicilio = ""; Telefono = ""; Ciudad = ""; Licencia = ""; Modulo = ""; CveOP = -1;
|
||||
}
|
||||
public RequestInventarioADD(int CveAlmacen, int CveConcepto, int CveMoneda, DateTime FechaMovto, int tFolio, int CveUsuario, int CveEmpresa, int CveCompra, int CveVenta,
|
||||
int CveSubProyecto, int CveActivoFijo, int CveOS = -1, int CvePersonal = -1, int IDPoliza = -1, int CveUsuarioResponsable = -1, int CveConsignacion = -1, string Guia = "",
|
||||
int CveAlmacenDestino = -1, string Observaciones = "", string Recibio = "", int CveMovimientoRelacionado = -1, double TipoCambio = -1, int CveVendedor = -1, int CveCliente = -1,
|
||||
bool MovimientoFijo = false, int CveContrato = -1, int CveProveedor = -1, string Remision = "", int CveClienteSucursal = -1, string DepartamentoEntrega = "", string PedidoContrato = "",
|
||||
double GastoIndirecto = -1, int CveChofer = -1, string Placa = "", string FechaEntrega = "", string EspecifUnidad = "", string ResponsableCarga = "", string ResponsableRecibio = "",
|
||||
string Identificacion = "", string Domicilio = "", string Telefono = "", string Ciudad = "", string Licencia = "", string Modulo = "",int CveOP=-1)
|
||||
{
|
||||
|
||||
this.CveAlmacen = CveAlmacen;
|
||||
this.CveConcepto = CveConcepto;
|
||||
this.CveMoneda = CveMoneda;
|
||||
this.FechaMovto = FechaMovto;
|
||||
this.tFolio = tFolio;
|
||||
this.CveUsuario = CveUsuario;
|
||||
this.CveEmpresa = CveEmpresa;
|
||||
this.CveCompra = CveCompra;
|
||||
this.CveVenta = CveVenta;
|
||||
this.CveSubProyecto = CveSubProyecto;
|
||||
this.CveActivoFijo = CveActivoFijo;
|
||||
this.CveOS = CveOS;
|
||||
this.CvePersonal = CvePersonal;
|
||||
this.IDPoliza = IDPoliza;
|
||||
this.CveUsuarioResponsable = CveUsuarioResponsable;
|
||||
this.CveConsignacion = CveConsignacion;
|
||||
this.Guia = Guia;
|
||||
this.CveAlmacenDestino = CveAlmacenDestino;
|
||||
this.Observaciones = Observaciones;
|
||||
this.Recibio = Recibio;
|
||||
this.CveMovimientoRelacionado = CveMovimientoRelacionado;
|
||||
this.TipoCambio = TipoCambio;
|
||||
this.CveVendedor = CveVendedor;
|
||||
this.CveCliente = CveCliente;
|
||||
this.MovimientoFijo = MovimientoFijo;
|
||||
this.CveContrato = CveContrato;
|
||||
this.CveProveedor = CveProveedor;
|
||||
this.Remision = Remision;
|
||||
this.CveClienteSucursal = CveClienteSucursal;
|
||||
this.DepartamentoEntrega = DepartamentoEntrega;
|
||||
this.PedidoContrato = PedidoContrato;
|
||||
this.GastoIndirecto = GastoIndirecto;
|
||||
this.CveChofer = CveChofer;
|
||||
this.Placa = Placa;
|
||||
this.FechaEntrega = FechaEntrega;
|
||||
this.EspecifUnidad = EspecifUnidad;
|
||||
this.ResponsableCarga = ResponsableCarga;
|
||||
this.ResponsableRecibio = ResponsableRecibio;
|
||||
this.Identificacion = Identificacion;
|
||||
this.Domicilio = Domicilio;
|
||||
this.Telefono = Telefono;
|
||||
this.Ciudad = Ciudad;
|
||||
this.Licencia = Licencia;
|
||||
this.Modulo = Modulo;
|
||||
this.CveOP = CveOP;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Inventarios.Request
|
||||
{
|
||||
public class RequestMovimientoDetalleAdd
|
||||
{
|
||||
public DateTime FechaCaducidad { get; set; }
|
||||
public int CveMovimiento { get; set; }
|
||||
public decimal Cantidad { get; set; }
|
||||
public int CveUM { get; set; }
|
||||
public int CvePS { get; set; }
|
||||
public decimal PU { get; set; }
|
||||
public int CveAF { get; set; }
|
||||
public int CveSeccionAlmacen { get; set; }
|
||||
public string Serie { get; set; }
|
||||
public string Lote { get; set; }
|
||||
public string Observaciones { get; set; }
|
||||
public int CveMovimientoDetalleEntrada { get; set; }
|
||||
public decimal PUTC { get; set; }
|
||||
public decimal CostoIndirecto { get; set; }
|
||||
public int CveCompraDetalle { get; set; }
|
||||
public int CveOrdenCompraDetalle { get; set; }
|
||||
public int CveVentaDetalle { get; set; }
|
||||
public int CveContratoDetalle { get; set; }
|
||||
public int CveUsuarioModifico { get; set; }
|
||||
public int EsInterno { get; set; }
|
||||
public RequestMovimientoDetalleAdd()
|
||||
{
|
||||
|
||||
FechaCaducidad = DateTime.MinValue;
|
||||
this.CveAF = -1;
|
||||
this.CveSeccionAlmacen = -1; this.Serie = ""; this.Lote = "";
|
||||
this.Observaciones = ""; this.CveMovimientoDetalleEntrada = -1; this.PUTC = -1; this.CostoIndirecto = 0m;
|
||||
this.CveCompraDetalle = -1; this.CveOrdenCompraDetalle = -1; this.CveVentaDetalle = -1; this.CveContratoDetalle = -1;
|
||||
this.CveUsuarioModifico = -1; this.EsInterno = -1;
|
||||
}
|
||||
public RequestMovimientoDetalleAdd(int CveMovimiento, decimal Cantidad, int CveUM, int CvePS, decimal PU, int CveAF = -1,
|
||||
int CveSeccionAlmacen = -1, string Serie = "", string Lote = "",
|
||||
string Observaciones = "", int CveMovimientoDetalleEntrada = -1, decimal PUTC = -1, decimal CostoIndirecto = 0m,
|
||||
int CveCompraDetalle = -1, int CveOrdenCompraDetalle = -1, int CveVentaDetalle = -1, int CveContratoDetalle = -1,
|
||||
int CveUsuarioModifico = -1, int EsInterno = -1)
|
||||
{
|
||||
FechaCaducidad = DateTime.MinValue;
|
||||
this.CveMovimiento = CveMovimiento;
|
||||
this.Cantidad = Cantidad;
|
||||
this.CveUM = CveUM;
|
||||
this.CvePS = CvePS;
|
||||
this.PU = PU;
|
||||
this.CveAF = CveAF;
|
||||
this.CveSeccionAlmacen = CveSeccionAlmacen;
|
||||
this.Serie = Serie;
|
||||
this.Lote = Lote;
|
||||
this.Observaciones = Observaciones;
|
||||
this.CveMovimientoDetalleEntrada = CveMovimientoDetalleEntrada;
|
||||
this.PUTC = PUTC;
|
||||
this.CostoIndirecto = CostoIndirecto;
|
||||
this.CveCompraDetalle = CveCompraDetalle;
|
||||
this.CveOrdenCompraDetalle = CveOrdenCompraDetalle;
|
||||
this.CveVentaDetalle = CveVentaDetalle;
|
||||
this.CveContratoDetalle = CveContratoDetalle;
|
||||
this.CveUsuarioModifico = CveUsuarioModifico;
|
||||
this.EsInterno = EsInterno;
|
||||
}
|
||||
}
|
||||
}
|
||||
21
ModelosApiborrar/Inventarios/Request/RequestRepAlmacen.cs
Normal file
21
ModelosApiborrar/Inventarios/Request/RequestRepAlmacen.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Inventarios.Request
|
||||
{
|
||||
public class RequestRepAlmacen
|
||||
{
|
||||
public string FechaI { get; set; }
|
||||
public string FechaF { get; set; }
|
||||
public long CveEmpresa { get; set; }
|
||||
public string CveTipoAlmacen { get; set; }
|
||||
public long Inventariable { get; set; }
|
||||
public bool SoloMovimientosContables { get; set; }
|
||||
public long Modalidad { get; set; }
|
||||
public string Almacenes { get; set; }
|
||||
public long CveSubProyecto { get; set; }
|
||||
public long CveUsuarioConsulta { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Inventarios.Request
|
||||
{
|
||||
public class RequestTrasladoSolicitudAdd
|
||||
{
|
||||
public string Observaciones { get; set; }
|
||||
public int CveAlmacenOrigen { get; set; }
|
||||
public int CveAlmacenDestino { get; set; }
|
||||
public int CveTrasladoEstatus { get; set; }
|
||||
public int CveMovimientoAlmacen { get; set; }
|
||||
public DateTime Fecha { get; set; }
|
||||
public int CveUsuario { get; set; }
|
||||
public int CveEmpresa { get; set; }
|
||||
public int CveContrato { get; set; }
|
||||
public string Guia { get; set; }
|
||||
public int CvePaqueteria { get; set; }
|
||||
public int CveDireccionEnvio { get; set; }
|
||||
public int CveOS { get; set; }
|
||||
public int EstatusAlmacen { get; set; }
|
||||
public int CveOP { get; set; }
|
||||
public RequestTrasladoSolicitudAdd()
|
||||
{
|
||||
CveContrato = -1; Guia = ""; CvePaqueteria = -1; CveDireccionEnvio = -1; CveOS = -1; EstatusAlmacen = -1;
|
||||
}
|
||||
public RequestTrasladoSolicitudAdd(string Observaciones, int CveAlmacenOrigen, int CveAlmacenDestino, int CveTrasladoEstatus, int CveMovimientoAlmacen,
|
||||
DateTime Fecha, int CveUsuario, int CveEmpresa, int CveContrato = -1, string Guia = "", int CvePaqueteria = -1, int CveDireccionEnvio = -1, int CveOS = -1,
|
||||
int EstatusAlmacen = -1,int CveOP =-1)
|
||||
{
|
||||
this.Observaciones = Observaciones;
|
||||
this.CveAlmacenOrigen = CveAlmacenOrigen;
|
||||
this.CveAlmacenDestino = CveAlmacenDestino;
|
||||
this.CveTrasladoEstatus = CveTrasladoEstatus;
|
||||
this.CveMovimientoAlmacen = CveMovimientoAlmacen;
|
||||
this.Fecha = Fecha;
|
||||
this.CveUsuario = CveUsuario;
|
||||
this.CveEmpresa = CveEmpresa;
|
||||
this.CveContrato = CveContrato;
|
||||
this.Guia = Guia;
|
||||
this.CvePaqueteria = CvePaqueteria;
|
||||
this.CveDireccionEnvio = CveDireccionEnvio;
|
||||
this.CveOS = CveOS;
|
||||
this.EstatusAlmacen = EstatusAlmacen;
|
||||
this.CveOP = CveOP;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Inventarios.Request
|
||||
{
|
||||
public class RequestTrasladoSolicitudDetalleAdd
|
||||
{
|
||||
public int CveTrasladoSolicitud { get; set; }
|
||||
public decimal Cantidad { get; set; }
|
||||
public int CveUM { get; set; }
|
||||
public int CvePS { get; set; }
|
||||
public decimal Precio { get; set; }
|
||||
public string Observaciones { get; set; }
|
||||
public int CveContratoDetalle { get; set; }
|
||||
public string Serie { get; set; }
|
||||
public RequestTrasladoSolicitudDetalleAdd()
|
||||
{
|
||||
Serie = "-1";
|
||||
}
|
||||
public RequestTrasladoSolicitudDetalleAdd(int CveTrasladoSolicitud, decimal Cantidad, int CveUM, int CvePS, decimal Precio, string Observaciones, int CveContratoDetalle, string Serie = "-1")
|
||||
{
|
||||
|
||||
|
||||
this.CveTrasladoSolicitud = CveTrasladoSolicitud;
|
||||
this.Cantidad = Cantidad;
|
||||
this.CveUM = CveUM;
|
||||
this.CvePS = CvePS;
|
||||
this.Precio = Precio;
|
||||
this.Observaciones = Observaciones;
|
||||
this.CveContratoDetalle = CveContratoDetalle;
|
||||
this.Serie = Serie;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user