* Fixed DTOs issues

* Added service to save data
This commit is contained in:
2025-08-28 14:50:46 +02:00
parent 23c26b4c65
commit 47f37d016d
13 changed files with 280 additions and 231 deletions

View File

@@ -8,7 +8,7 @@ namespace SytelineSaAppEfDataModel.Dtos
{
public class EdiCustomerOrderLineItemDto : DtoBase
{
public string TransactionCode { get; set; }
public string? TransactionCode { get; set; }
public DateTime? ReceivedDate { get; set; }
public byte? Posted { get; set; }
public DateTime? PostedDate { get; set; }
@@ -17,17 +17,17 @@ namespace SytelineSaAppEfDataModel.Dtos
public byte? Override { get; set; }
public byte? Edi { get; set; }
public byte? Ack { get; set; }
public string AckNumber { get; set; }
public string AckType { get; set; }
public string? AckNumber { get; set; }
public string? AckType { get; set; }
public DateTime? AckDate { get; set; }
public string SymCustomerOrderNumber { get; set; }
public string? SymCustomerOrderNumber { get; set; }
public byte? QtyChanged { get; set; }
public byte? DateChanged { get; set; }
public byte? PriceChanged { get; set; }
public string CustomerOrderNumber { get; set; }
public string? CustomerOrderNumber { get; set; }
public int CustomerOrderLine { get; set; }
public int CustomerOrderRelease { get; set; }
public string Item { get; set; }
public string? Item { get; set; }
public decimal? QtyOrdered { get; set; }
public decimal? QtyReady { get; set; }
public decimal? QtyShipped { get; set; }
@@ -35,8 +35,8 @@ namespace SytelineSaAppEfDataModel.Dtos
public decimal? Discount { get; set; }
public decimal? Cost { get; set; }
public decimal? Price { get; set; }
public string RefType { get; set; }
public string RefNumber { get; set; }
public string? RefType { get; set; }
public string? RefNumber { get; set; }
public short? RefLineSuf { get; set; }
public short? RefRelease { get; set; }
public DateTime? DueDate { get; set; }
@@ -47,68 +47,68 @@ namespace SytelineSaAppEfDataModel.Dtos
public decimal? BrkQtyFour { get; set; }
public decimal? BrkQtyFive { get; set; }
public byte? Reprice { get; set; }
public string CustomerItem { get; set; }
public string? CustomerItem { get; set; }
public decimal? QtyInvoiced { get; set; }
public decimal? QtyReturned { get; set; }
public decimal? CgsTotal { get; set; }
public string FeatStr { get; set; }
public string Status { get; set; }
public string CustomerNumber { get; set; }
public string? FeatStr { get; set; }
public string? Status { get; set; }
public string? CustomerNumber { get; set; }
public int? CustomerSequence { get; set; }
public decimal? PrgBillTot { get; set; }
public decimal? PrgBillApp { get; set; }
public DateTime? ReleaseDate { get; set; }
public DateTime? PromiseDate { get; set; }
public string Warehouse { get; set; }
public string WksBasis { get; set; }
public string? Warehouse { get; set; }
public string? WksBasis { get; set; }
public decimal? WksValue { get; set; }
public string CommCode { get; set; }
public string TransNat { get; set; }
public string ProcessInd { get; set; }
public string DelTerm { get; set; }
public string? CommCode { get; set; }
public string? TransNat { get; set; }
public string? ProcessInd { get; set; }
public string? DelTerm { get; set; }
public decimal? UnitWeight { get; set; }
public string Origin { get; set; }
public string? Origin { get; set; }
public int? ConsNumber { get; set; }
public string TaxCodeOne { get; set; }
public string TaxCodeTwo { get; set; }
public string? TaxCodeOne { get; set; }
public string? TaxCodeTwo { get; set; }
public decimal? ExportValue { get; set; }
public string EcCode { get; set; }
public string Transport { get; set; }
public string? EcCode { get; set; }
public string? Transport { get; set; }
public DateTime? PickupDate { get; set; }
public string PriceCode { get; set; }
public string Uom { get; set; }
public string? PriceCode { get; set; }
public string? Uom { get; set; }
public decimal? QtyOrderedReleased { get; set; }
public decimal? PriceReleased { get; set; }
public string CustomerOrderCustomerNumber { get; set; }
public string? CustomerOrderCustomerNumber { get; set; }
public byte? Packed { get; set; }
public byte? Bol { get; set; }
public decimal? QtyBco { get; set; }
public string BcoCode { get; set; }
public string ExternalRef { get; set; }
public string CustomerPoNumber { get; set; }
public string NonApplyData { get; set; }
public string? BcoCode { get; set; }
public string? ExternalRef { get; set; }
public string? CustomerPoNumber { get; set; }
public string? NonApplyData { get; set; }
public byte NoteExistsFlag { get; set; }
public DateTime RecordDate { get; set; }
public Guid RowPointer { get; set; }
public string Description { get; set; }
public string CreatedBy { get; set; }
public string UpdatedBy { get; set; }
public string? Description { get; set; }
public string? CreatedBy { get; set; }
public string? UpdatedBy { get; set; }
public DateTime CreateDate { get; set; }
public byte InWorkflow { get; set; }
public string TransNatTwo { get; set; }
public string? TransNatTwo { get; set; }
public decimal SupplyQtyConvFactor { get; set; }
public string UfFkrEdiAddIntDest { get; set; }
public string UfFkrEdiCustPoLineNum { get; set; }
public string UfFkrEdiPlaceOrPortDischarge { get; set; }
public string? UfFkrEdiAddIntDest { get; set; }
public string? UfFkrEdiCustPoLineNum { get; set; }
public string? UfFkrEdiPlaceOrPortDischarge { get; set; }
public string? RoutingCode { get; set; }
public string? DeliveryCallNumber { get; set; }
public string? UnloadingPoint { get; set; }
public string? DestinationPoint { get; set; }
public string NewStatus { get; set; }
public string PalletCode { get; set; }
public string? NewStatus { get; set; }
public string? PalletCode { get; set; }
public string? PalletNumber { get; set; }
public string DocumentType { get; set; }
public string? DocumentType { get; set; }
public string TranslatedStatus => TranslateStatus(Status);
}
}