Commit inicial: ITCA_API_SAP_WMS (.NET Core 3.1)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GeorgeandClaude Sonnet 5.5 committed 2026-10-05 17:53:41 -05:00
commit 2b82744eb8
168 files changed
+11066

No files matched your search

@@ -0,0 +1,13 @@
namespace Net.Business.Entities.WMS.HojaRuta
{
public class BE_HojaRutaEntities
{
public int DocEntry { get; set; }
public int IdEstadoCubico { get; set; }
public string Estado { get; set; }
public string Proceso { get; set; }
public string CodMotivo { get; set; }
public string HoraInicio { get; set; }
public string FinRuta { get; set; }
}
}
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
namespace Net.Business.Entities.WMS.Inventario
{
public class BE_Inventario
{
public DateTime Fecha { get; set; }
public DateTime FechaVencimiento { get; set; }
public string TipoMovimientoSAP { get; set; }
public string TipoMovimiento { get; set; }
public string TipoInventario { get; set; }
public string Almacen { get; set; }
public string SubAlmacen { get; set; }
public string NroInventario { get; set; }
public List<BE_InventarioItems> Detalle { get; set; }
}
}
@@ -0,0 +1,15 @@
using System.Collections.Generic;
namespace Net.Business.Entities.WMS.Inventario
{
public class BE_InventarioItems
{
public string CodigoArticulo { get; set; }
public string DescripcionArticulo { get; set; }
public decimal Cantidad { get; set; }
public string UnidadMedida { get; set; }
public double PrecioPromedio { get; set; }
public string CentroCosto { get; set; }
public List<BE_InventarioItemsLotes> Lotes { get; set; }
}
}
@@ -0,0 +1,11 @@
using System;
namespace Net.Business.Entities.WMS.Inventario
{
public class BE_InventarioItemsLotes
{
public string Lote { get; set; }
public DateTime FechaVencimiento { get; set; }
public decimal Cantidad { get; set; }
}
}
@@ -0,0 +1,14 @@
namespace Net.Business.Entities.WMS.Picking
{
public class BE_PickingDetalle
{
public int Item { get; set; }
public string CodigoArticulo { get; set; }
public string CodigoUM { get; set; }
public string LoteProducto { get; set; }
public decimal CantidadPedida { get; set; }
public string CodigoSubAlmacen { get; set; }
public string Estado { get; set; }
public double PrecioPromedio { get; set; }
}
}
@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.WMS.Picking
{
public class BE_PickingRequest
{
public string NumOrden { get; set; }
public DateTime FechaOrden { get; set; }
public string FechaEntrega { get; set; }
public string CodigoAlmacen { get; set; }
public DateTime FechaLlegada { get; set; }
public string CodigoERPCliente { get; set; }
public string CodigoERPDireccion { get; set; }
public int IdTipo { get; set; }
public int IdTipoDoc { get; set; }
public string Observacion { get; set; }
public int IdCondicion { get; set; }
public int Accion { get; set; }
public int DocEntry { get; set; }
public int IdEstadoCubico { get; set; }
public string Proceso { get; set; }
public string CodMotivo { get; set; }
// "preliminar" | "cierre" - cualquier otro valor o ausente se trata como
// "preliminar" (default seguro, nunca crea documentos en SAP por accidente).
public string Notificacion { get; set; }
public decimal Longitud { get; set; }
public decimal Latitud { get; set; }
public List<BE_PickingDetalle> Detalle { get; set; }
}
}
@@ -0,0 +1,10 @@
namespace Net.Business.Entities.WMS.ProcesoPicking
{
public class BE_ProcesoPicking
{
public string Code { get; set; }
public string U_ITCA_PROCESO { get; set; }
public string U_ITCA_GNRPROC { get; set; }
public string U_ITCA_ESTADO { get; set; }
}
}
@@ -0,0 +1,11 @@
namespace Net.Business.Entities.WMS.Recibo
{
public class BE_ReciboDetalle
{
public int Item { get; set; }
public string CodigoArticulo { get; set; }
public string CodigoUM { get; set; }
public string LoteProducto { get; set; }
public decimal CantidadPedida { get; set; }
}
}
@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.WMS.Recibo
{
public class BE_ReciboRequest
{
public string NumOrden { get; set; }
public DateTime FechaOrden { get; set; }
public string CodigoAlmacen { get; set; }
public DateTime FechaLlegada { get; set; }
public string CodigoERPProveedor { get; set; }
public int IdTipo { get; set; }
public int IdTipoDoc { get; set; }
public string Observacion { get; set; }
public int IdCuenta { get; set; }
public int DocEntry { get; set; }
public int Accion { get; set; }
public string DocImportacion { get; set; }
public string U_SYP_MDTD { get; set; }
public string U_SYP_MDSD { get; set; }
public string U_SYP_MDCD { get; set; }
public string Comentario { get; set; }
public List<BE_ReciboDetalle> Detalle { get; set; }
}
}
@@ -0,0 +1,22 @@
using System.Collections.Generic;
namespace Net.Business.Entities.WMS.SolicitudTransferencia
{
// Contrato propio del PATCH de SolicitudTransferencia - funcionalidad nueva, sin
// equivalente en el .NET original. El PATCH real SOLO actualiza cantidades de
// linea existentes en SAP (InventoryTransferRequests) y ELIMINA una linea
// cuando Cantidad = 0 - no toca fechas, almacenes ni ningun otro campo del
// documento, por eso no reusa BE_TransferenciaRequest.
public class BE_SolicitudTransferenciaPatchDetalle
{
public int Linea { get; set; }
public double Cantidad { get; set; }
}
public class BE_SolicitudTransferenciaPatchRequest
{
// No se usa para el PATCH a SAP - solo trazabilidad en el log de auditoria.
public string NumOrden { get; set; }
public List<BE_SolicitudTransferenciaPatchDetalle> Detalle { get; set; }
}
}
@@ -0,0 +1,12 @@
namespace Net.Business.Entities.WMS.Transferencia
{
public class BE_TransferenciaDetalle
{
public int Item { get; set; }
public string CodigoArticulo { get; set; }
public string CodigoUM { get; set; }
public string LoteProducto { get; set; }
public decimal CantidadPedida { get; set; }
public int Accion { get; set; }
}
}
@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.WMS.Transferencia
{
public class BE_TransferenciaRequest
{
public string NumOrden { get; set; }
public DateTime FechaOrden { get; set; }
public int IdTipo { get; set; }
public string CodigoAlmacenOrigen { get; set; }
public string CodigoSubAlmacenOrigen { get; set; }
public int IdCondicionOrigen { get; set; }
public string CodigoAlmacenDestino { get; set; }
public string CodigoSubAlmacenDestino { get; set; }
public int IdCondicionDestino { get; set; }
public string Observacion { get; set; }
public int IdCuenta { get; set; }
public int Accion { get; set; }
public int DocEntry { get; set; }
public int DocEntryEM { get; set; }
public List<BE_TransferenciaDetalle> TransferenciaDetalles { get; set; }
}
}