Exemplo n.º 1
0
 public void AddToMaintainCreditNotes(MaintainCreditNoteDTO maintainCreditNoteDTO)
 {
     base.AddObject("MaintainCreditNotes", maintainCreditNoteDTO);
 }
Exemplo n.º 2
0
 public static MaintainCreditNoteDTO CreateMaintainCreditNoteDTO(int creditNoteId, global::System.DateTime invoiceDate, decimal invoiceValue, decimal paidAmount, global::System.DateTime createDate, bool isValid, bool isCompleted, int status, int supplierId, int currencyId, global::System.Collections.ObjectModel.ObservableCollection<InvoiceLineDTO> invoiceLines)
 {
     MaintainCreditNoteDTO maintainCreditNoteDTO = new MaintainCreditNoteDTO();
     maintainCreditNoteDTO.CreditNoteId = creditNoteId;
     maintainCreditNoteDTO.InvoiceDate = invoiceDate;
     maintainCreditNoteDTO.InvoiceValue = invoiceValue;
     maintainCreditNoteDTO.PaidAmount = paidAmount;
     maintainCreditNoteDTO.CreateDate = createDate;
     maintainCreditNoteDTO.IsValid = isValid;
     maintainCreditNoteDTO.IsCompleted = isCompleted;
     maintainCreditNoteDTO.Status = status;
     maintainCreditNoteDTO.SupplierId = supplierId;
     maintainCreditNoteDTO.CurrencyId = currencyId;
     if ((invoiceLines == null))
     {
         throw new global::System.ArgumentNullException("invoiceLines");
     }
     maintainCreditNoteDTO.InvoiceLines = invoiceLines;
     return maintainCreditNoteDTO;
 }