public static AcPaymentScheduleDTO CreateAcPaymentScheduleDTO(int acPaymentScheduleId, global::System.DateTime createDate, bool isCompleted, int currencyId, int supplierId, int contractAcId, global::System.Collections.ObjectModel.ObservableCollection<PaymentScheduleLineDTO> paymentScheduleLines) { AcPaymentScheduleDTO acPaymentScheduleDTO = new AcPaymentScheduleDTO(); acPaymentScheduleDTO.AcPaymentScheduleId = acPaymentScheduleId; acPaymentScheduleDTO.CreateDate = createDate; acPaymentScheduleDTO.IsCompleted = isCompleted; acPaymentScheduleDTO.CurrencyId = currencyId; acPaymentScheduleDTO.SupplierId = supplierId; acPaymentScheduleDTO.ContractAcId = contractAcId; if ((paymentScheduleLines == null)) { throw new global::System.ArgumentNullException("paymentScheduleLines"); } acPaymentScheduleDTO.PaymentScheduleLines = paymentScheduleLines; return acPaymentScheduleDTO; }
public void AddToAcPaymentSchedules(AcPaymentScheduleDTO acPaymentScheduleDTO) { base.AddObject("AcPaymentSchedules", acPaymentScheduleDTO); }