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; }
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; }