コード例 #1
0
ファイル: Reference.cs プロジェクト: unicloud/FRP
 public static SpecialRefitInvoiceDTO CreateSpecialRefitInvoiceDTO(int specialRefitId, global::System.DateTime invoiceDate, global::System.DateTime inMaintainTime, global::System.DateTime outMaintainTime, decimal invoiceValue, decimal paidAmount, global::System.DateTime createDate, bool isValid, bool isCompleted, int status, global::System.Collections.ObjectModel.ObservableCollection<MaintainInvoiceLineDTO> maintainInvoiceLines, global::System.Guid documentId, int supplierId, int currencyId)
 {
     SpecialRefitInvoiceDTO specialRefitInvoiceDTO = new SpecialRefitInvoiceDTO();
     specialRefitInvoiceDTO.SpecialRefitId = specialRefitId;
     specialRefitInvoiceDTO.InvoiceDate = invoiceDate;
     specialRefitInvoiceDTO.InMaintainTime = inMaintainTime;
     specialRefitInvoiceDTO.OutMaintainTime = outMaintainTime;
     specialRefitInvoiceDTO.InvoiceValue = invoiceValue;
     specialRefitInvoiceDTO.PaidAmount = paidAmount;
     specialRefitInvoiceDTO.CreateDate = createDate;
     specialRefitInvoiceDTO.IsValid = isValid;
     specialRefitInvoiceDTO.IsCompleted = isCompleted;
     specialRefitInvoiceDTO.Status = status;
     if ((maintainInvoiceLines == null))
     {
         throw new global::System.ArgumentNullException("maintainInvoiceLines");
     }
     specialRefitInvoiceDTO.MaintainInvoiceLines = maintainInvoiceLines;
     specialRefitInvoiceDTO.DocumentId = documentId;
     specialRefitInvoiceDTO.SupplierId = supplierId;
     specialRefitInvoiceDTO.CurrencyId = currencyId;
     return specialRefitInvoiceDTO;
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: unicloud/FRP
 public void AddToSpecialRefitInvoices(SpecialRefitInvoiceDTO specialRefitInvoiceDTO)
 {
     base.AddObject("SpecialRefitInvoices", specialRefitInvoiceDTO);
 }