コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the FnExpenseAdvance class
 /// </summary>
 /// <param name="active">Initial <see cref="FnExpenseAdvance.Active" /> value</param>
 /// <param name="creBy">Initial <see cref="FnExpenseAdvance.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="FnExpenseAdvance.CreDate" /> value</param>
 /// <param name="updBy">Initial <see cref="FnExpenseAdvance.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="FnExpenseAdvance.UpdDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="FnExpenseAdvance.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="FnExpenseAdvance.RowVersion" /> value</param>
 /// <param name="expense">Initial <see cref="FnExpenseAdvance.Expense" /> value</param>
 /// <param name="advance">Initial <see cref="FnExpenseAdvance.Advance" /> value</param>
 public FnExpenseAdvance(bool active, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, byte[] rowVersion, SCG.FN.DTO.FnExpenseDocument expense, SCG.eAccounting.DTO.AvAdvanceDocument advance)
 {
     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.advance    = advance;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the FnExpenseInvoice class
 /// </summary>
 /// <param name="invoiceNo">Initial <see cref="FnExpenseInvoice.InvoiceNo" /> value</param>
 /// <param name="invoiceDate">Initial <see cref="FnExpenseInvoice.InvoiceDate" /> value</param>
 /// <param name="totalAmount">Initial <see cref="FnExpenseInvoice.TotalAmount" /> value</param>
 /// <param name="vatAmount">Initial <see cref="FnExpenseInvoice.VatAmount" /> value</param>
 /// <param name="wHTAmount">Initial <see cref="FnExpenseInvoice.WHTAmount" /> value</param>
 /// <param name="netAmount">Initial <see cref="FnExpenseInvoice.NetAmount" /> value</param>
 /// <param name="active">Initial <see cref="FnExpenseInvoice.Active" /> value</param>
 /// <param name="creBy">Initial <see cref="FnExpenseInvoice.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="FnExpenseInvoice.CreDate" /> value</param>
 /// <param name="updBy">Initial <see cref="FnExpenseInvoice.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="FnExpenseInvoice.UpdDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="FnExpenseInvoice.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="FnExpenseInvoice.RowVersion" /> value</param>
 /// <param name="expense">Initial <see cref="FnExpenseInvoice.Expense" /> value</param>
 /// <param name="vendor">Initial <see cref="FnExpenseInvoice.Vendor" /> value</param>
 public FnExpenseInvoice(string invoiceType, string invoiceNo, DateTime invoiceDate, double totalAmount, double vatAmount, double wHTAmount, double netAmount, bool active, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, byte[] rowVersion, SCG.FN.DTO.FnExpenseDocument expense, SCG.DB.DTO.DbVendor vendor)
 {
     this.invoiceType = invoiceType;
     this.invoiceNo   = invoiceNo;
     this.invoiceDate = invoiceDate;
     this.totalAmount = totalAmount;
     this.vatAmount   = vatAmount;
     this.wHTAmount   = wHTAmount;
     this.netAmount   = netAmount;
     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.vendor      = vendor;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the FnExpensePerdium class
 /// </summary>
 /// <param name="fromDate">Initial <see cref="FnExpensePerdium.FromDate" /> value</param>
 /// <param name="toDate">Initial <see cref="FnExpensePerdium.ToDate" /> value</param>
 /// <param name="fromTime">Initial <see cref="FnExpensePerdium.FromTime" /> value</param>
 /// <param name="toTime">Initial <see cref="FnExpensePerdium.ToTime" /> value</param>
 /// <param name="adjustedDay">Initial <see cref="FnExpensePerdium.AdjustedDay" /> value</param>
 /// <param name="halfDay">Initial <see cref="FnExpensePerdium.HalfDay" /> value</param>
 /// <param name="fullDay">Initial <see cref="FnExpensePerdium.FullDay" /> value</param>
 /// <param name="netDay">Initial <see cref="FnExpensePerdium.NetDay" /> value</param>
 /// <param name="countryID">Initial <see cref="FnExpensePerdium.CountryID" /> value</param>
 /// <param name="countryZoneID">Initial <see cref="FnExpensePerdium.CountryZoneID" /> value</param>
 /// <param name="active">Initial <see cref="FnExpensePerdium.Active" /> value</param>
 /// <param name="creBy">Initial <see cref="FnExpensePerdium.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="FnExpensePerdium.CreDate" /> value</param>
 /// <param name="updBy">Initial <see cref="FnExpensePerdium.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="FnExpensePerdium.UpdDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="FnExpensePerdium.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="FnExpensePerdium.RowVersion" /> value</param>
 /// <param name="expenseID">Initial <see cref="FnExpensePerdium.ExpenseID" /> value</param>
 /// <param name="invoiceItemID">Initial <see cref="FnExpensePerdium.InvoiceItemID" /> value</param>
 public FnExpensePerdium(DateTime fromDate, DateTime toDate, DateTime fromTime, DateTime toTime, decimal adjustedDay, decimal halfDay, decimal fullDay, decimal netDay, short countryID, long countryZoneID, bool active, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, Byte[] rowVersion, SCG.FN.DTO.FnExpenseDocument expenseID, SCG.FN.DTO.FnExpenseInvoiceItem invoiceItemID)
 {
     this.fromDate      = fromDate;
     this.toDate        = toDate;
     this.fromTime      = fromTime;
     this.toTime        = toTime;
     this.adjustedDay   = adjustedDay;
     this.halfDay       = halfDay;
     this.fullDay       = fullDay;
     this.netDay        = netDay;
     this.countryID     = countryID;
     this.countryZoneID = countryZoneID;
     this.active        = active;
     this.creBy         = creBy;
     this.creDate       = creDate;
     this.updBy         = updBy;
     this.updDate       = updDate;
     this.updPgm        = updPgm;
     this.rowVersion    = rowVersion;
     this.expenseID     = expenseID;
     this.invoiceItemID = invoiceItemID;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the FnExpenseMileage class
 /// </summary>
 /// <param name="carLicenseNo">Initial <see cref="FnExpenseMileage.CarLicenseNo" /> value</param>
 /// <param name="typeOfCar">Initial <see cref="FnExpenseMileage.TypeOfCar" /> value</param>
 /// <param name="typeOfUse">Initial <see cref="FnExpenseMileage.TypeOfUse" /> value</param>
 /// <param name="owner">Initial <see cref="FnExpenseMileage.Owner" /> value</param>
 /// <param name="permissionNo">Initial <see cref="FnExpenseMileage.PermissionNo" /> value</param>
 /// <param name="homeToOfficeRoundTrip">Initial <see cref="FnExpenseMileage.HomeToOfficeRoundTrip" /> value</param>
 /// <param name="privateUse">Initial <see cref="FnExpenseMileage.PrivateUse" /> value</param>
 /// <param name="first100KmRate">Initial <see cref="FnExpenseMileage.First100KmRate" /> value</param>
 /// <param name="exceed100KmRate">Initial <see cref="FnExpenseMileage.Exceed100KmRate" /> value</param>
 /// <param name="totalAmount">Initial <see cref="FnExpenseMileage.TotalAmount" /> value</param>
 /// <param name="helpingAmount">Initial <see cref="FnExpenseMileage.HelpingAmount" /> value</param>
 /// <param name="aboveHelpingAmount">Initial <see cref="FnExpenseMileage.AboveHelpingAmount" /> value</param>
 /// <param name="active">Initial <see cref="FnExpenseMileage.Active" /> value</param>
 /// <param name="creBy">Initial <see cref="FnExpenseMileage.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="FnExpenseMileage.CreDate" /> value</param>
 /// <param name="updBy">Initial <see cref="FnExpenseMileage.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="FnExpenseMileage.UpdDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="FnExpenseMileage.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="FnExpenseMileage.RowVersion" /> value</param>
 /// <param name="expense">Initial <see cref="FnExpenseMileage.Expense" /> value</param>
 public FnExpenseMileage(string carLicenseNo, string typeOfCar, string typeOfUse, string owner, string permissionNo, double?homeToOfficeRoundTrip, double?privateUse, double?first100KmRate, double?exceed100KmRate, double?totalAmount, double?helpingAmount, double?aboveHelpingAmount, bool active, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, byte[] rowVersion, SCG.FN.DTO.FnExpenseDocument expense)
 {
     this.carLicenseNo          = carLicenseNo;
     this.typeOfCar             = typeOfCar;
     this.typeOfUse             = typeOfUse;
     this.owner                 = owner;
     this.permissionNo          = permissionNo;
     this.homeToOfficeRoundTrip = homeToOfficeRoundTrip;
     this.privateUse            = privateUse;
     this.first100KmRate        = first100KmRate;
     this.exceed100KmRate       = exceed100KmRate;
     this.totalAmount           = totalAmount;
     this.helpingAmount         = helpingAmount;
     this.aboveHelpingAmount    = aboveHelpingAmount;
     this.active                = active;
     this.creBy                 = creBy;
     this.creDate               = creDate;
     this.updBy                 = updBy;
     this.updDate               = updDate;
     this.updPgm                = updPgm;
     this.rowVersion            = rowVersion;
     this.expense               = expense;
 }
コード例 #5
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;
 }