Пример #1
0
 public static void AssignGeneralLedger(GeneralBilling baseValue, GeneralBilling assignValue)
 {
     assignValue.BillingPeriod   = baseValue.BillingPeriod;
     assignValue.BillingDate     = baseValue.BillingDate;
     assignValue.DueDate         = baseValue.DueDate;
     assignValue.TransactionType = baseValue.TransactionType;
     assignValue.GenerationDate  = baseValue.GenerationDate;
     assignValue.CoverageFrom    = baseValue.CoverageFrom;
     assignValue.CoverageTo      = baseValue.CoverageTo;
     assignValue.CreatedBy       = baseValue.CreatedBy;
     assignValue.CreateDate      = baseValue.CreateDate;
     assignValue.UpdateDate      = baseValue.UpdateDate;
     assignValue.Status          = baseValue.Status;
 }
Пример #2
0
 public static void CompleteGeneralLedger(GeneralBilling baseValue, GeneralBilling assignValue)
 {
     assignValue.GeneralBillingId = baseValue.GeneralBillingId;
     assignValue.BillingNumber    = baseValue.BillingNumber;
     assignValue.CompanyId        = baseValue.CompanyId;
     assignValue.BillingPeriod    = baseValue.BillingPeriod;
     assignValue.BillingDate      = baseValue.BillingDate;
     assignValue.DueDate          = baseValue.DueDate;
     assignValue.BillingType      = baseValue.BillingType;
     assignValue.TransactionType  = baseValue.TransactionType;
     assignValue.BillingReference = baseValue.BillingReference;
     assignValue.BillingAmount    = baseValue.BillingAmount;
     assignValue.GenerationDate   = baseValue.GenerationDate;
     assignValue.CoverageFrom     = baseValue.CoverageFrom;
     assignValue.CoverageTo       = baseValue.CoverageTo;
     assignValue.Currency         = baseValue.Currency;
     assignValue.CreatedBy        = baseValue.CreatedBy;
     assignValue.CreateDate       = baseValue.CreateDate;
     assignValue.UpdatedBy        = baseValue.UpdatedBy;
     assignValue.UpdateDate       = baseValue.UpdateDate;
 }