* Extended DataModels by Customer and CustomerTp

* Added new services and controllers for both models
This commit is contained in:
2025-08-21 05:39:08 +02:00
parent d7210417f5
commit f400c35c60
9 changed files with 374 additions and 297 deletions

View File

@@ -16,117 +16,117 @@ public class Customer
public string Slsman { get; set; }
public string StateCycle { get; set; }
public bool FinChg { get; set; }
public DateTime? LastInv { get; set; }
public DateTime? LastPaid { get; set; }
public decimal? SalesYtd { get; set; }
public decimal? SalesLstYr { get; set; }
public decimal? DiscYtd { get; set; }
public decimal? DiscLstYr { get; set; }
public DateTime? LastFinChg { get; set; }
public decimal? SalesPtd { get; set; }
public DateTime? CalcDate { get; set; }
public int? NumPeriods { get; set; }
public int? AvgDaysOs { get; set; }
public int? NumInvoices { get; set; }
public int? HistDaysOs { get; set; }
public int? LargDaysOs { get; set; }
public int? LastDaysOs { get; set; }
public decimal? AvgBalOs { get; set; }
public decimal? LargeBalOs { get; set; }
public decimal? LastBalOs { get; set; }
public string Whse { get; set; }
public string Charfld1 { get; set; }
public string Charfld2 { get; set; }
public string Charfld3 { get; set; }
public decimal? Decifld1 { get; set; }
public decimal? Decifld2 { get; set; }
public decimal? Decifld3 { get; set; }
public bool Logifld { get; set; }
public DateTime? Datefld { get; set; }
public string TaxRegNum1 { get; set; }
public string BankCode { get; set; }
public string TaxRegNum2 { get; set; }
public string PayType { get; set; }
public bool EdiCust { get; set; }
public string BranchId { get; set; }
public string TransNat { get; set; }
public string Delterm { get; set; }
public string ProcessInd { get; set; }
public bool UseExchRate { get; set; }
public string TaxCode1 { get; set; }
public string TaxCode2 { get; set; }
public string Pricecode { get; set; }
public bool ShipEarly { get; set; }
public bool ShipPartial { get; set; }
public string LangCode { get; set; }
public string EndUserType { get; set; }
public string ShipSite { get; set; }
public bool LcrReqd { get; set; }
public string CustBank { get; set; }
public bool DraftPrintFlag { get; set; }
public bool RcvInternalEmail { get; set; }
public string CustomerEmailAddr { get; set; }
public bool SendCustomerEmail { get; set; }
public bool ApsPullUp { get; set; }
public string DoInvoice { get; set; }
public bool Consolidate { get; set; }
public string InvFreq { get; set; }
public bool Summarize { get; set; }
public bool NoteExistsFlag { get; set; }
public DateTime RecordDate { get; set; }
public Guid RowPointer { get; set; }
public bool Einvoice { get; set; }
public decimal? OrderBal { get; set; }
public decimal? PostedBal { get; set; }
public string CreatedBy { get; set; }
public string UpdatedBy { get; set; }
public DateTime CreateDate { get; set; }
public string CrmGuid { get; set; }
public bool InWorkflow { get; set; }
public bool PrintPackInv { get; set; }
public bool OnePackInv { get; set; }
public string InvCategory { get; set; }
public bool IncludeTaxInPrice { get; set; }
public string TransNat2 { get; set; }
public bool UseRevisionPayDays { get; set; }
public int? RevisionDay { get; set; }
public TimeSpan? RevisionDayStartTime1 { get; set; }
public TimeSpan? RevisionDayStartTime2 { get; set; }
public TimeSpan? RevisionDayEndTime1 { get; set; }
public TimeSpan? RevisionDayEndTime2 { get; set; }
public int? PayDay { get; set; }
public TimeSpan? PayDayStartTime1 { get; set; }
public TimeSpan? PayDayStartTime2 { get; set; }
public TimeSpan? PayDayEndTime1 { get; set; }
public TimeSpan? PayDayEndTime2 { get; set; }
public string ExportType { get; set; }
public bool ActiveForDataIntegration { get; set; }
public bool ShowInShipToDropDownList { get; set; }
public bool ShowInDropDownList { get; set; }
public string SicCode { get; set; }
public int? NumberOfEmployees { get; set; }
public decimal? CompanyRevenue { get; set; }
public string TerritoryCode { get; set; }
public string SalesTeamId { get; set; }
public int? DaysShippedBeforeDueDateTolerance { get; set; }
public int? DaysShippedAfterDueDateTolerance { get; set; }
public decimal? ShippedOverOrderedQtyTolerance { get; set; }
public decimal? ShippedUnderOrderedQtyTolerance { get; set; }
public int DefaultShipTo { get; set; }
public bool IncludeOrdersInTaxRpt { get; set; }
public decimal? ConstructiveSalePricePct { get; set; }
public string Uf_ZPL_FedId { get; set; }
public string Uf_ZPL_VATRegisterCode { get; set; }
public int? Uf_INT_CustSeq { get; set; }
public bool Uf_INT_Replicate { get; set; }
public int? Uf_FKR_FA_SL_SYKOF { get; set; }
public bool? Uf_FKR_FA_Eksport_SYKOF { get; set; }
public string Uf_FKR_FA_Kod_Dostawcy_u_Klienta { get; set; }
public string Uf_FKR_FA_Rampa { get; set; }
public string Uf_FKR_FA_Zaklad_Przeznaczenia { get; set; }
public char? Uf_FKR_Customer_Status { get; set; }
public bool? Uf_bpx_customer_printbatch { get; set; }
public string Uf_cust_receiver_line1 { get; set; }
public string Uf_cust_receiver_line2 { get; set; }
public int? Uf_cust_supplier_no { get; set; }
public DateTime? LastInv { get; set; }
public DateTime? LastPaid { get; set; }
public decimal? SalesYtd { get; set; }
public decimal? SalesLstYr { get; set; }
public decimal? DiscYtd { get; set; }
public decimal? DiscLstYr { get; set; }
public DateTime? LastFinChg { get; set; }
public decimal? SalesPtd { get; set; }
public DateTime? CalcDate { get; set; }
public short? NumPeriods { get; set; }
public short? AvgDaysOs { get; set; }
public int? NumInvoices { get; set; }
public int? HistDaysOs { get; set; }
public int? LargDaysOs { get; set; }
public short? LastDaysOs { get; set; }
public decimal? AvgBalOs { get; set; }
public decimal? LargeBalOs { get; set; }
public decimal? LastBalOs { get; set; }
public string Whse { get; set; }
public string Charfld1 { get; set; }
public string Charfld2 { get; set; }
public string Charfld3 { get; set; }
public decimal? Decifld1 { get; set; }
public decimal? Decifld2 { get; set; }
public decimal? Decifld3 { get; set; }
public bool Logifld { get; set; }
public DateTime? Datefld { get; set; }
public string TaxRegNum1 { get; set; }
public string BankCode { get; set; }
public string TaxRegNum2 { get; set; }
public string PayType { get; set; }
public bool EdiCust { get; set; }
public string BranchId { get; set; }
public string TransNat { get; set; }
public string Delterm { get; set; }
public string ProcessInd { get; set; }
public bool UseExchRate { get; set; }
public string TaxCode1 { get; set; }
public string TaxCode2 { get; set; }
public string Pricecode { get; set; }
public bool ShipEarly { get; set; }
public bool ShipPartial { get; set; }
public string LangCode { get; set; }
public string EndUserType { get; set; }
public string ShipSite { get; set; }
public bool LcrReqd { get; set; }
public string CustBank { get; set; }
public bool DraftPrintFlag { get; set; }
public bool RcvInternalEmail { get; set; }
public string CustomerEmailAddr { get; set; }
public bool SendCustomerEmail { get; set; }
public bool ApsPullUp { get; set; }
public string DoInvoice { get; set; }
public bool Consolidate { get; set; }
public string InvFreq { get; set; }
public bool Summarize { get; set; }
public bool NoteExistsFlag { get; set; }
public DateTime RecordDate { get; set; }
public Guid RowPointer { get; set; }
public bool Einvoice { get; set; }
public decimal? OrderBal { get; set; }
public decimal? PostedBal { get; set; }
public string CreatedBy { get; set; }
public string UpdatedBy { get; set; }
public DateTime CreateDate { get; set; }
public string CrmGuid { get; set; }
public bool InWorkflow { get; set; }
public bool PrintPackInv { get; set; }
public bool OnePackInv { get; set; }
public string InvCategory { get; set; }
public bool IncludeTaxInPrice { get; set; }
public string TransNat2 { get; set; }
public bool UseRevisionPayDays { get; set; }
public int? RevisionDay { get; set; }
public TimeSpan? RevisionDayStartTime1 { get; set; }
public TimeSpan? RevisionDayStartTime2 { get; set; }
public TimeSpan? RevisionDayEndTime1 { get; set; }
public TimeSpan? RevisionDayEndTime2 { get; set; }
public int? PayDay { get; set; }
public TimeSpan? PayDayStartTime1 { get; set; }
public TimeSpan? PayDayStartTime2 { get; set; }
public TimeSpan? PayDayEndTime1 { get; set; }
public TimeSpan? PayDayEndTime2 { get; set; }
public string ExportType { get; set; }
public bool ActiveForDataIntegration { get; set; }
public bool ShowInShipToDropDownList { get; set; }
public bool ShowInDropDownList { get; set; }
public string SicCode { get; set; }
public int? NumberOfEmployees { get; set; }
public decimal? CompanyRevenue { get; set; }
public string TerritoryCode { get; set; }
public string SalesTeamId { get; set; }
public short? DaysShippedBeforeDueDateTolerance { get; set; }
public short? DaysShippedAfterDueDateTolerance { get; set; }
public decimal? ShippedOverOrderedQtyTolerance { get; set; }
public decimal? ShippedUnderOrderedQtyTolerance { get; set; }
public int DefaultShipTo { get; set; }
public bool IncludeOrdersInTaxRpt { get; set; }
public decimal? ConstructiveSalePricePct { get; set; }
public string Uf_ZPL_FedId { get; set; }
public string Uf_ZPL_VATRegisterCode { get; set; }
public int? Uf_INT_CustSeq { get; set; }
public bool Uf_INT_Replicate { get; set; }
public int? Uf_FKR_FA_SL_SYKOF { get; set; }
public bool? Uf_FKR_FA_Eksport_SYKOF { get; set; }
public string Uf_FKR_FA_Kod_Dostawcy_u_Klienta { get; set; }
public string Uf_FKR_FA_Rampa { get; set; }
public string Uf_FKR_FA_Zaklad_Przeznaczenia { get; set; }
public char? Uf_FKR_Customer_Status { get; set; }
public bool? Uf_bpx_customer_printbatch { get; set; }
public string Uf_cust_receiver_line1 { get; set; }
public string Uf_cust_receiver_line2 { get; set; }
public int? Uf_cust_supplier_no { get; set; }
}