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,26 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer
{
public class BE_BaseResponseSap
{
public decimal DocTotal { get; set; }
public decimal DocTotalSys { get; set; }
public long? TransNum { get; set; }
public long? DocEntry { get; set; }
public long? AbsoluteEntry { get; set; }
public long TransId { get; set; }
public long Number { get; set; }
public long Original { get; set; }
public long DocNum { get; set; }
public bool Exito { get; set; }
public string Mensaje { get; set; }
public string CodigoHttp { get; set; }
public string U_BPP_MDCD { get; set; }
public string Currency { get; set; }
public string DocumentStatus { get; set; }
}
}
@@ -0,0 +1,115 @@
using Net.Connection.Attributes;
using System.Data;
namespace Net.Business.Entities.ServicesLayer
{
public class BE_BusinessPartners
{
[DBParameter(SqlDbType.VarChar, 15, ActionType.Everything)]
public string CardCode { get; set; }
[DBParameter(SqlDbType.VarChar, 100, ActionType.Everything)]
public string CardType { get; set; }
[DBParameter(SqlDbType.VarChar, 100, ActionType.Everything)]
public string CardName { get; set; }
[DBParameter(SqlDbType.VarChar, 32, ActionType.Everything)]
public string FederalTaxID { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string Address { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string MailAddress { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string EmailAddress { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string Phone1 { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string U_BPP_BPTD { get; set; }
public string EstadoSocio { get; set; }
public string TablaEstadoSocioNegocio { get; set; }
public string EstadoSocioStyle { get; set; }
}
public class BE_BusinessPartnersCustomersUpdate
{
[DBParameter(SqlDbType.VarChar, 15, ActionType.Everything)]
public string CardCode { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string Address { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string MailAddress { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string EmailAddress { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string Phone1 { get; set; }
public int PriceListNum { get; set; }
}
public class BE_BusinessPartnersCustomers
{
[DBParameter(SqlDbType.VarChar, 15, ActionType.Everything)]
public string CardCode { get; set; }
[DBParameter(SqlDbType.VarChar, 100, ActionType.Everything)]
public string CardType { get; set; }
[DBParameter(SqlDbType.VarChar, 100, ActionType.Everything)]
public string CardName { get; set; }
[DBParameter(SqlDbType.VarChar, 32, ActionType.Everything)]
public string FederalTaxID { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string Address { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string MailAddress { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string EmailAddress { get; set; }
[DBParameter(SqlDbType.VarChar, 250, ActionType.Everything)]
public string Phone1 { get; set; }
[DBParameter(SqlDbType.Int, 0, ActionType.Everything)]
public int U_BPP_BPTD { get; set; }
public int PriceListNum { get; set; }
//U_BPP_BPTD = 6,
}
}
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.CreditNotes
{
public class BE_CreditNotesBatchNumbers
{
public string BatchNumber { get; set; }
public double Quantity { get; set; }
}
}
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.CreditNotes
{
public class BE_CreditNotesDocumentReferences
{
public int RefDocEntr { get; set; }
public string RefObjType { get; set; }
public DateTime IssueDate { get; set; }
public string Remark { get; set; }
}
}
@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.CreditNotes
{
public class BE_CreditNotesLine
{
public string ItemCode { get; set; }
public string ItemDescription { get; set; }
public decimal Quantity { get; set; }
public decimal PriceAfterVAT { get; set; }
public string WarehouseCode { get; set; }
public string Currency { get; set; }
public int? BaseType { get; set; }
public int? BaseEntry { get; set; }
public int? BaseLine { get; set; }
public int LineNum { get; set; }
public string U_ITC_ALMDES { get; set; }
public List<BE_CreditNotesBatchNumbers> BatchNumbers { get; set; }
}
}
@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
namespace Net.Business.Entities.ServicesLayer.CreditNotes
{
public class BE_CreditNotesNotes
{
public DateTime DocDate { get; set; }
public DateTime DocDueDate { get; set; }
public string CardCode { get; set; }
public string CardName { get; set; }
public string DocCurrency { get; set; }
public string PaymentGroupCode { get; set; }
public string DocObjectCode { get; set; }
public string NumAtCard { get; set; }
public string U_SYP_MDSD { get; set; }
public string U_SYP_MDCD { get; set; }
public string U_SYP_MDTD { get; set; }
public string U_SYP_MDSO { get; set; }
public string U_SYP_MDCO { get; set; }
public string U_SYP_MDTO { get; set; }
public string U_SYP_FECHAREF { get; set; }
public string U_SYP_TPONC { get; set; }
public string U_SYP_MOTNC { get; set; }
public string U_SYP_FEESUNAT { get; set; } = "000";
public string U_SYP_FEEST { get; set; } = "PE";
public string U_SYP_FEMEX { get; set; } = "1";
public List<BE_CreditNotesLine> DocumentLines { get; set; }
}
}
@@ -0,0 +1,17 @@
using Net.Connection.Attributes;
using System.Data;
namespace Net.Business.Entities.ServicesLayer
{
public class FE_BusinessPartners
{
[DBParameter(SqlDbType.VarChar, 30, ActionType.Everything)]
public string CardCode { get; set; }
[DBParameter(SqlDbType.VarChar, 100, ActionType.Everything)]
public string CardName { get; set; }
[DBParameter(SqlDbType.VarChar, 32, ActionType.Everything)]
public string FederalTaxID { get; set; }
[DBParameter(SqlDbType.VarChar, 20, ActionType.Everything)]
public string Usuario { get; set; }
}
}
@@ -0,0 +1,78 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.HR
{
public class BE_HojaRutaCreate
{
public string ModalidadTransporte { get; set; }
public string Zona { get; set; }
public string Territorio { get; set; }
public string Despachador { get; set; }
public DateTime FechaDespacho { get; set; }
public string AgenciaTransporte { get; set; }
public string NombreConductor { get; set; }
public string LicenciaConductor { get; set; }
public string PlacaVehiculo { get; set; }
public string Estado { get; set; }
public List<BE_HojaRutaCreateDetalle> Detalle { get; set; }
}
public class HojaRutaSAP
{
//public int DocEntry { get; set; }
//public int DocNum { get; set; }
public int U_ARD_PHR_CNTDOC { get; set; }
public string U_ARD_PHR_PLACA { get; set; }
public string U_ARD_PHR_LICCON { get; set; }
public string U_ARD_PHR_NOMCON { get; set; }
public string U_ARD_PHR_MARVEH { get; set; }
public DateTime U_ARD_PHR_FECCRE { get; set; }
public string U_ARD_PHR_CERINS { get; set; }
public string U_ARD_PHR_PLATOL { get; set; }
public string U_ARD_PHR_NOMDESP { get; set; }
public string U_ARD_PHR_ESTDESP { get; set; }
public string U_ARD_PHR_OBSERVA { get; set; }
public string U_ARD_PHR_ZONDIS { get; set; }
public string U_ARD_PHR_TERRI { get; set; }
public string U_ARD_PHR_MODTRANSP { get; set; }
public string U_ARD_PHR_NOMAGENTRANS { get; set; }
public string U_ARD_PHR_CODAGENTRANS { get; set; }
public string U_ARD_PHR_RUCAGENTRANS { get; set; }
public double U_MSV_PKH_PESM { get; set; }
public string Object { get; set; } = "ARD_PHR";
public string U_MSV_PKH_ORIG { get; set; }
public List<HojaRutaDetailsEntities> ARD_PCK_HJRT_DETCollection { get; set; }
}
public class HojaRutaDetailsEntities
{
public int DocEntry { get; set; }
public int LineId { get; set; }
public int VisOrder { get; set; }
public string U_ARD_PHR_NROPED { get; set; }
public string U_ARD_PHR_NOMCLI { get; set; }
public string U_ARD_PHR_RUCCLI { get; set; }
public string U_ARD_PHR_DIRDESP { get; set; }
public string U_ARD_PHR_FORPAG { get; set; }
public string U_ARD_PHR_NROGRE { get; set; }
public string U_ARD_PHR_NROFACT { get; set; }
public string U_ARD_PHR_ZONA { get; set; }
public string U_ARD_PHR_TERRIT { get; set; }
public DateTime U_ARD_PHR_FEENPED { get; set; }
public string U_ARD_PHR_MONED { get; set; }
public decimal U_ARD_TOTALFC { get; set; }
public decimal U_ARD_PHR_TOTALPD { get; set; }
public string U_MSV_PKH_DORV { get; set; }
public string U_MSV_PKH_DGRE { get; set; }
public string U_MSV_PKH_DCPE { get; set; }
public int U_MSV_PKH_PEOV { get; set; }
public string U_ITC_PHR_NOMVEN { get; set; }
public string U_MSV_PKH_CGUI { get; set; }
public string U_ARD_PHR_ESTDESP { get; set; } = "Embarcado";
public string U_MSV_PKH_APLG { get; set; }
public string Object { get; set; } = "ARD_PHR";
}
}
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.HR
{
public class BE_HojaRutaCreateDetalle
{
public string NumeroFactura { get; set; }
public string CodigoInterno { get; set; }
}
}
@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer
{
public class ITC_SOLINGMER
{
public string U_ITC_MDTI { get; set; }
public string U_ITC_MDWC { get; set; }
public string U_ITC_USRSOL { get; set; }
public string U_ITC_MDCM { get; set; }
public List<ITC_SOLINGMER_Details> ITC_SOLINGMERDETCollection { get; set; }
}
public class ITC_SOLINGMER_Details
{
public int LineId { get; set; }
public string U_ITC_CCOSTO { get; set; }
public string U_ITC_ACCCODE { get; set; }
public string U_ITC_ITEMNAME { get; set; }
}
}
@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer
{
public class ITC_SOLSALMER
{
public string U_ITC_MDTS { get; set; }
public string U_ITC_USRSOL { get; set; }
public string U_ITC_MDCM { get; set; }
public List<ITC_SOLSALMER_Details> ITCA_SOLSALMERDETCollection { get; set; }
}
public class ITC_SOLSALMER_Details
{
public int LineId { get; set; }
public string U_ITC_CCOST { get; set; }
public string U_ITC_AccCode { get; set; }
public string U_ITC_ItemName { get; set; }
}
}
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.InventoryGenEntries
{
public class BE_InventoryGenEntries
{
public DateTime DocDate { get; set; }
public DateTime DocDueDate { get; set; }
public string DocCurrency { get; set; }
public string PaymentGroupCode { get; set; }
public string DocObjectCode { get; set; }
public double DocRate { get; set; }
public string U_SYP_TPOENTME { get; set; }
public string U_ITC_WMS_NUMINV { get; set; }
public string U_ARD_PERSOLIC { get; set; }
public string Comments { get; set; }
public List<BE_InventoryGenEntriesLine> DocumentLines { get; set; }
}
}
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.InventoryGenEntries
{
public class BE_InventoryGenEntriesBatchNumbers
{
public string BatchNumber { get; set; }
public double Quantity { get; set; }
}
}
@@ -0,0 +1,20 @@
using System.Collections.Generic;
namespace Net.Business.Entities.ServicesLayer.InventoryGenEntries
{
public class BE_InventoryGenEntriesLine
{
public int LineNum { get; set; }
public string ItemCode { get; set; }
public string ItemDescription { get; set; }
public double Quantity { get; set; }
public double PriceAfterVAT { get; set; }
public string WarehouseCode { get; set; }
public string Currency { get; set; }
public double LineTotal { get; set; }
public string AccountCode { get; set; }
public string CostingCode { get; set; } = "";
public List<BE_InventoryGenEntriesBatchNumbers> BatchNumbers { get; set; }
}
}
@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.InventoryGenExits
{
public class BE_InventoryGenExits
{
public DateTime DocDate { get; set; }
public DateTime DocDueDate { get; set; }
public string DocCurrency { get; set; }
public string PaymentGroupCode { get; set; }
public string DocObjectCode { get; set; }
//public string DocObjectCode2 { get; set; }
public double DocRate { get; set; }
public string U_SYP_TPOSALME { get; set; }
public string U_ITC_WMS_NUMINV { get; set; }
public string U_ARD_PERSOLIC { get; set; }
public string Comments { get; set; }
public List<BE_InventoryGenExitsLine> DocumentLines { get; set; }
}
}
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.InventoryGenExits
{
public class BE_InventoryGenExitsBatchNumbers
{
public string BatchNumber { get; set; }
public double Quantity { get; set; }
}
}
@@ -0,0 +1,20 @@
using System.Collections.Generic;
namespace Net.Business.Entities.ServicesLayer.InventoryGenExits
{
public class BE_InventoryGenExitsLine
{
public int LineNum { get; set; }
public string ItemCode { get; set; }
public string ItemDescription { get; set; }
public double Quantity { get; set; }
public double PriceAfterVAT { get; set; }
public string WarehouseCode { get; set; }
public string Currency { get; set; }
public double LineTotal { get; set; }
public string AccountCode { get; set; }
public string CostingCode { get; set; } = "";
public List<BE_InventoryGenExitsBatchNumbers> BatchNumbers { get; set; }
}
}
@@ -0,0 +1,21 @@
using System.Collections.Generic;
namespace Net.Business.Entities.ServicesLayer.InventoryTransferRequest
{
// Shape minimo del GET InventoryTransferRequests({docEntry}) de Service Layer -
// solo lo que SolicitudTransferenciaRepository.Update necesita leer (el Rate
// real de cada linea antes del PATCH). Los campos del JSON de SAP que no estan
// mapeados aca se ignoran al deserializar (comportamiento default de
// Newtonsoft.Json), no hace falta mapear el documento completo.
public class BE_InventoryTransferRequest
{
public int DocEntry { get; set; }
public List<BE_InventoryTransferRequestLine> StockTransferLines { get; set; }
}
public class BE_InventoryTransferRequestLine
{
public int LineNum { get; set; }
public double Rate { get; set; }
}
}
@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.Invoices
{
public class BE_Invoices
{
public DateTime DocDate { get; set; }
public DateTime DocDueDate { get; set; }
public string CardCode { get; set; }
public string CardName { get; set; }
public string DocCurrency { get; set; }
public string PaymentGroupCode { get; set; }
public string DocObjectCode { get; set; }
public int DocEntry { get; set; }
public string U_SYP_MDSD { get; set; }
public string U_SYP_MDCD { get; set; }
public string U_SYP_MDTD { get; set; }
public List<BE_InvoicesLine> DocumentLines { get; set; }
}
public class BE_InvoicesConsulta
{
public DateTime DocDate { get; set; }
public DateTime DocDueDate { get; set; }
public string CardCode { get; set; }
public string CardName { get; set; }
public string DocCurrency { get; set; }
public string PaymentGroupCode { get; set; }
public string DocObjectCode { get; set; }
public int DocEntry { get; set; }
public string DocumentStatus { get; set; }
public string U_SYP_MDSD { get; set; }
public string U_SYP_MDCD { get; set; }
public string U_SYP_MDTD { get; set; }
public List<BE_InvoicesLine> DocumentLines { get; set; }
}
}
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.Invoices
{
public class BE_InvoicesBatchNumbers
{
public string BatchNumber { get; set; }
public double Quantity { get; set; }
}
}
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.Invoices
{
public class BE_InvoicesLine
{
public int LineNum { get; set; }
public string ItemCode { get; set; }
public string ItemDescription { get; set; }
public decimal Quantity { get; set; }
public decimal PriceAfterVAT { get; set; }
public string WarehouseCode { get; set; }
public string Currency { get; set; }
public int? BaseLine { get; set; }
public List<BE_InvoicesBatchNumbers> BatchNumbers { get; set; }
}
}
@@ -0,0 +1,17 @@
using System;
namespace Net.Business.Entities.ServicesLayer.Items
{
public class BE_ItemStock
{
public string ItemCode { get; set; }
public string ItemName { get; set; }
public string WhsCode { get; set; }
public string WhsName { get; set; }
public string DistNumber { get; set; }
public DateTime ExpDate { get; set; }
public string BinCode { get; set; }
public double OnHandQty { get; set; }
public double AvgPrice { get; set; }
}
}
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
namespace Net.Business.Entities.ServicesLayer.PurchaseDeliveryNotes
{
public class BE_PurchaseDeliveryNotes
{
public DateTime DocDate { get; set; }
public DateTime DocDueDate { get; set; }
public string CardCode { get; set; }
public string CardName { get; set; }
public string DocCurrency { get; set; }
public string PaymentGroupCode { get; set; }
public string DocObjectCode { get; set; }
public string NumAtCard { get; set; }
public string U_SYP_MDTD { get; set; }
public string U_SYP_MDSD { get; set; }
public string U_SYP_MDCD { get; set; }
public List<BE_PurchaseDeliveryNotesLine> DocumentLines { get; set; }
}
}
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.PurchaseDeliveryNotes
{
public class BE_PurchaseDeliveryNotesBatchNumbers
{
public string BatchNumber { get; set; }
public double Quantity { get; set; }
}
}
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.PurchaseDeliveryNotes
{
public class BE_PurchaseDeliveryNotesLine
{
public string ItemCode { get; set; }
public string ItemDescription { get; set; }
public double Quantity { get; set; }
public decimal PriceAfterVAT { get; set; }
public string WarehouseCode { get; set; }
public string Currency { get; set; }
public int? BaseType { get; set; }
public int? BaseEntry { get; set; }
public int? BaseLine { get; set; }
public int LineNum { get; set; }
public List<BE_PurchaseDeliveryNotesBatchNumbers> BatchNumbers { get; set; }
}
}
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.PurchaseInvoices
{
public class BE_PurchaseInvoices
{
public DateTime DocDate { get; set; }
public DateTime DocDueDate { get; set; }
public string CardCode { get; set; }
public string CardName { get; set; }
public string DocCurrency { get; set; }
public string PaymentGroupCode { get; set; }
public string DocObjectCode { get; set; }
public int DocEntry { get; set; }
public List<BE_PurchaseInvoicesLine> DocumentLines { get; set; }
}
}
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.PurchaseInvoices
{
public class BE_PurchaseInvoicesBatchNumbers
{
public string BatchNumber { get; set; }
public string Quantity { get; set; }
}
}
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.PurchaseInvoices
{
public class BE_PurchaseInvoicesLine
{
public int LineNum { get; set; }
public string ItemCode { get; set; }
public string ItemDescription { get; set; }
public decimal Quantity { get; set; }
public decimal PriceAfterVAT { get; set; }
public string WarehouseCode { get; set; }
public string Currency { get; set; }
public List<BE_PurchaseInvoicesBatchNumbers> BatchNumbers { get; set; }
}
}
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.PurchaseOrders
{
public class BE_PurchaseOrders
{
public DateTime DocDate { get; set; }
public DateTime DocDueDate { get; set; }
public string CardCode { get; set; }
public string CardName { get; set; }
public string DocCurrency { get; set; }
public string PaymentGroupCode { get; set; }
public string DocObjectCode { get; set; }
public int DocEntry { get; set; }
public List<BE_PurchaseOrdersLine> DocumentLines { get; set; }
}
}
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.PurchaseOrders
{
public class BE_PurchaseOrdersBatchNumbers
{
public string BatchNumber { get; set; }
public string Quantity { get; set; }
}
}
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.PurchaseOrders
{
public class BE_PurchaseOrdersLine
{
public int LineNum { get; set; }
public string ItemCode { get; set; }
public string ItemDescription { get; set; }
public decimal Quantity { get; set; }
public decimal PriceAfterVAT { get; set; }
public string WarehouseCode { get; set; }
public string Currency { get; set; }
public List<BE_PurchaseOrdersBatchNumbers> BatchNumbers { get; set; }
}
}
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.ReturnRequest
{
public class BE_ReturnRequest
{
public DateTime DocDate { get; set; }
public DateTime DocDueDate { get; set; }
public string CardCode { get; set; }
public string CardName { get; set; }
public string DocCurrency { get; set; }
public string PaymentGroupCode { get; set; }
public string DocObjectCode { get; set; }
public int DocEntry { get; set; }
public string U_SYP_TPONC { get; set; }
public string U_SYP_MOTNC { get; set; }
public string U_SYP_MDSO { get; set; }
public string U_SYP_MDCO { get; set; }
public string U_SYP_MDTO { get; set; }
public DateTime U_SYP_FECHAREF { get; set; }
public List<BE_ReturnRequestLine> DocumentLines { get; set; }
}
}
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.ReturnRequest
{
public class BE_ReturnRequestBatchNumbers
{
public string BatchNumber { get; set; }
public string Quantity { get; set; }
}
}
@@ -0,0 +1,21 @@
using System.Collections.Generic;
namespace Net.Business.Entities.ServicesLayer.ReturnRequest
{
public class BE_ReturnRequestLine
{
public int LineNum { get; set; }
public string ItemCode { get; set; }
public string ItemDescription { get; set; }
public decimal Quantity { get; set; }
public decimal PriceAfterVAT { get; set; }
public string WarehouseCode { get; set; }
public string Currency { get; set; }
public int? BaseEntry { get; set; }
public int? BaseLine { get; set; }
public int? BaseType { get; set; }
public string U_ITC_ALMDES { get;set; }
public List<BE_ReturnRequestBatchNumbers> BatchNumbers { get; set; }
}
}
@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.StockTransfer
{
public class BE_StockTransfer
{
public DateTime DocDate { get; set; }
public DateTime DueDate { get; set; }
public string Comments { get; set; }
public string FromWarehouse { get; set; }
public string ToWarehouse { get; set; }
public DateTime TaxDate { get; set; }
public string U_SYP_MDTS { get; set; }
public string U_SYP_MDMT { get; set; }
public string U_ITC_WMS_NUMINV { get; set; }
public string U_SYP_TPOENTME { get; set; }
public List<BE_StockTransferLine> StockTransferLines { get; set; }
public List<BE_StockTransferDocumentReferences> DocumentReferences { get; set; }
}
public class BE_StockTransferAutomatico
{
public DateTime DocDate { get; set; }
public DateTime DueDate { get; set; }
public string Comments { get; set; }
public string FromWarehouse { get; set; }
public string ToWarehouse { get; set; }
public DateTime TaxDate { get; set; }
public string U_SYP_MDTS { get; set; }
public string U_SYP_MDMT { get; set; }
public string U_ITC_WMS_NUMINV { get; set; }
public string U_SYP_TPOENTME { get; set; }
public int PriceList { get; set; }
public List<BE_StockTransferLine> StockTransferLines { get; set; }
public List<BE_StockTransferDocumentReferences> DocumentReferences { get; set; }
}
}
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.StockTransfer
{
public class BE_StockTransferDocumentReferences
{
public int RefDocEntr { get; set; }
public string RefObjType { get; set; }
public string Remark { get; set; }
public DateTime IssueDate { get; set; } = DateTime.Now;
}
}
@@ -0,0 +1,18 @@
using System.Collections.Generic;
namespace Net.Business.Entities.ServicesLayer.StockTransfer
{
public class BE_StockTransferLine
{
public int LineNum { get; set; }
public string ItemCode { get; set; }
public string ItemDescription { get; set; }
public double Quantity { get; set; }
public string WarehouseCode { get; set; }
public string FromWarehouseCode { get; set; }
public int? BaseLine { get; set; }
public int? BaseEntry { get; set; }
public string BaseType { get; set; }
public List<BE_StockTransferLineBatchNumber> BatchNumbers { get; set; }
}
}
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Net.Business.Entities.ServicesLayer.StockTransfer
{
public class BE_StockTransferLineBatchNumber
{
public string BatchNumber { get; set; }
public double Quantity { get; set; }
}
}