Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the FnExpenseInvoiceItem class
 /// </summary>
 /// <param name="invoiceType">Initial <see cref="FnExpenseInvoiceItem.InvoiceType" /> value</param>
 /// <param name="currencyID">Initial <see cref="FnExpenseInvoiceItem.CurrencyID" /> value</param>
 /// <param name="description">Initial <see cref="FnExpenseInvoiceItem.Description" /> value</param>
 /// <param name="amount">Initial <see cref="FnExpenseInvoiceItem.Amount" /> value</param>
 /// <param name="amountTHB">Initial <see cref="FnExpenseInvoiceItem.AmountTHB" /> value</param>
 /// <param name="exchangeRateDeparture">Initial <see cref="FnExpenseInvoiceItem.ExchangeRateDeparture" /> value</param>
 /// <param name="exchangeRateUSD">Initial <see cref="FnExpenseInvoiceItem.ExchangeRateUSD" /> value</param>
 /// <param name="referenceNo">Initial <see cref="FnExpenseInvoiceItem.ReferenceNo" /> value</param>
 /// <param name="amountHasInvoice">Initial <see cref="FnExpenseInvoiceItem.AmountHasInvoice" /> value</param>
 /// <param name="active">Initial <see cref="FnExpenseInvoiceItem.Active" /> value</param>
 /// <param name="creBy">Initial <see cref="FnExpenseInvoiceItem.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="FnExpenseInvoiceItem.CreDate" /> value</param>
 /// <param name="updBy">Initial <see cref="FnExpenseInvoiceItem.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="FnExpenseInvoiceItem.UpdDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="FnExpenseInvoiceItem.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="FnExpenseInvoiceItem.RowVersion" /> value</param>
 /// <param name="expense">Initial <see cref="FnExpenseInvoiceItem.Expense" /> value</param>
 /// <param name="invoice">Initial <see cref="FnExpenseInvoiceItem.Invoice" /> value</param>
 /// <param name="costCenter">Initial <see cref="FnExpenseInvoiceItem.CostCenter" /> value</param>
 /// <param name="account">Initial <see cref="FnExpenseInvoiceItem.Account" /> value</param>
 /// <param name="iO">Initial <see cref="FnExpenseInvoiceItem.IO" /> value</param>
 public FnExpenseInvoiceItem(long currencyID, string description, double?amount, double?amountTHB, double?exchangeRateDeparture, double?exchangeRateUSD, string referenceNo, double?amountHasInvoice, bool active, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, byte[] rowVersion, SCG.FN.DTO.FnExpenseDocument expense, SCG.FN.DTO.FnExpenseInvoice invoice, SCG.DB.DTO.DbCostCenter costCenter, SCG.DB.DTO.DbAccount account, SCG.DB.DTO.DbInternalOrder iO)
 {
     this.currencyID            = currencyID;
     this.description           = description;
     this.amount                = amount;
     this.amountTHB             = amountTHB;
     this.exchangeRateDeparture = exchangeRateDeparture;
     this.exchangeRateUSD       = exchangeRateUSD;
     this.referenceNo           = referenceNo;
     this.amountHasInvoice      = amountHasInvoice;
     this.active                = active;
     this.creBy      = creBy;
     this.creDate    = creDate;
     this.updBy      = updBy;
     this.updDate    = updDate;
     this.updPgm     = updPgm;
     this.rowVersion = rowVersion;
     this.expense    = expense;
     this.invoice    = invoice;
     this.costCenter = costCenter;
     this.account    = account;
     this.iO         = iO;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the FnExpenseInvoiceItem class
 /// </summary>
 /// <param name="currencyID">Initial <see cref="FnExpenseInvoiceItem.CurrencyID" /> value</param>
 /// <param name="description">Initial <see cref="FnExpenseInvoiceItem.Description" /> value</param>
 /// <param name="currencyAmount">Initial <see cref="FnExpenseInvoiceItem.CurrencyAmount" /> value</param>
 /// <param name="amount">Initial <see cref="FnExpenseInvoiceItem.Amount" /> value</param>
 /// <param name="exchangeRate">Initial <see cref="FnExpenseInvoiceItem.ExchangeRate" /> value</param>
 /// <param name="referenceNo">Initial <see cref="FnExpenseInvoiceItem.ReferenceNo" /> value</param>
 /// <param name="saleOrder">Initial <see cref="FnExpenseInvoiceItem.SaleOrder" /> value</param>
 /// <param name="saleItem">Initial <see cref="FnExpenseInvoiceItem.SaleItem" /> value</param>
 /// <param name="active">Initial <see cref="FnExpenseInvoiceItem.Active" /> value</param>
 /// <param name="creBy">Initial <see cref="FnExpenseInvoiceItem.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="FnExpenseInvoiceItem.CreDate" /> value</param>
 /// <param name="updBy">Initial <see cref="FnExpenseInvoiceItem.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="FnExpenseInvoiceItem.UpdDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="FnExpenseInvoiceItem.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="FnExpenseInvoiceItem.RowVersion" /> value</param>
 /// <param name="invoice">Initial <see cref="FnExpenseInvoiceItem.Invoice" /> value</param>
 /// <param name="costCenter">Initial <see cref="FnExpenseInvoiceItem.CostCenter" /> value</param>
 /// <param name="account">Initial <see cref="FnExpenseInvoiceItem.Account" /> value</param>
 /// <param name="iO">Initial <see cref="FnExpenseInvoiceItem.IO" /> value</param>
 public FnExpenseInvoiceItem(long?currencyID, string description, double?currencyAmount, double?amount, double?exchangeRate, string referenceNo, string vendorCodeAP, string saleOrder, string saleItem, bool active, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, Byte[] rowVersion, SCG.eAccounting.DTO.FnExpenseInvoice invoice, SCG.DB.DTO.DbCostCenter costCenter, SCG.DB.DTO.DbAccount account, SCG.DB.DTO.DbInternalOrder iO, double nonDeductAmount)
 {
     this.currencyID      = currencyID;
     this.description     = description;
     this.currencyAmount  = currencyAmount;
     this.amount          = amount;
     this.exchangeRate    = exchangeRate;
     this.referenceNo     = referenceNo;
     this.vendorCodeAP    = vendorCodeAP;
     this.saleOrder       = saleOrder;
     this.saleItem        = saleItem;
     this.active          = active;
     this.creBy           = creBy;
     this.creDate         = creDate;
     this.updBy           = updBy;
     this.updDate         = updDate;
     this.updPgm          = updPgm;
     this.rowVersion      = rowVersion;
     this.invoice         = invoice;
     this.costCenter      = costCenter;
     this.account         = account;
     this.iO              = iO;
     this.nonDeductAmount = nonDeductAmount;
 }