コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the FnExpensePerdiem class
 /// </summary>
 /// <param name="description">Initial <see cref="FnExpensePerdiem.Description" /> value</param>
 /// <param name="perdiemRateUSD">Initial <see cref="FnExpensePerdiem.PerdiemRateUSD" /> value</param>
 /// <param name="perdiemRateUSDHigh">Initial <see cref="FnExpensePerdiem.PerdiemRateUSDHigh" /> value</param>
 /// <param name="totalFullDayPerdiem">Initial <see cref="FnExpensePerdiem.TotalFullDayPerdiem" /> value</param>
 /// <param name="fullDayPerdiemRate">Initial <see cref="FnExpensePerdiem.FullDayPerdiemRate" /> value</param>
 /// <param name="totalFullDayPerdiemAmount">Initial <see cref="FnExpensePerdiem.TotalFullDayPerdiemAmount" /> value</param>
 /// <param name="totalHalfDayPerdiem">Initial <see cref="FnExpensePerdiem.TotalHalfDayPerdiem" /> value</param>
 /// <param name="halfDayPerdiemRate">Initial <see cref="FnExpensePerdiem.HalfDayPerdiemRate" /> value</param>
 /// <param name="totalHalfDayPerdiemAmount">Initial <see cref="FnExpensePerdiem.TotalHalfDayPerdiemAmount" /> value</param>
 /// <param name="totalFullDayPerdiemHigh">Initial <see cref="FnExpensePerdiem.TotalFullDayPerdiemHigh" /> value</param>
 /// <param name="fullDayPerdiemRateHigh">Initial <see cref="FnExpensePerdiem.FullDayPerdiemRateHigh" /> value</param>
 /// <param name="totalFullDayPerdiemAmountHigh">Initial <see cref="FnExpensePerdiem.TotalFullDayPerdiemAmountHigh" /> value</param>
 /// <param name="totalHalfDayPerdiemHigh">Initial <see cref="FnExpensePerdiem.TotalHalfDayPerdiemHigh" /> value</param>
 /// <param name="halfDayPerdiemRateHigh">Initial <see cref="FnExpensePerdiem.HalfDayPerdiemRateHigh" /> value</param>
 /// <param name="totalHalfDayPerdiemAmountHigh">Initial <see cref="FnExpensePerdiem.TotalHalfDayPerdiemAmountHigh" /> value</param>
 /// <param name="perdiemGov">Initial <see cref="FnExpensePerdiem.PerdiemGov" /> value</param>
 /// <param name="perdiemGovHigh">Initial <see cref="FnExpensePerdiem.PerdiemGovHigh" /> value</param>
 /// <param name="perdiemGovernmentAmount">Initial <see cref="FnExpensePerdiem.PerdiemGovernmentAmount" /> value</param>
 /// <param name="perdiemPrivateAmount">Initial <see cref="FnExpensePerdiem.PerdiemPrivateAmount" /> value</param>
 /// <param name="perdiemTotalAmount">Initial <see cref="FnExpensePerdiem.PerdiemTotalAmount" /> value</param>
 /// <param name="perdiemTaxAmount">Initial <see cref="FnExpensePerdiem.PerdiemTaxAmount" /> value</param>
 /// <param name="active">Initial <see cref="FnExpensePerdiem.Active" /> value</param>
 /// <param name="creBy">Initial <see cref="FnExpensePerdiem.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="FnExpensePerdiem.CreDate" /> value</param>
 /// <param name="updBy">Initial <see cref="FnExpensePerdiem.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="FnExpensePerdiem.UpdDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="FnExpensePerdiem.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="FnExpensePerdiem.RowVersion" /> value</param>
 /// <param name="expense">Initial <see cref="FnExpensePerdiem.Expense" /> value</param>
 public FnExpensePerdiem(string description, double?perdiemRateUSD, double?perdiemRateUSDHigh, double totalFullDayPerdiem, double fullDayPerdiemRate, double totalFullDayPerdiemAmount, double totalHalfDayPerdiem, double halfDayPerdiemRate, double totalHalfDayPerdiemAmount, double totalFullDayPerdiemHigh, double fullDayPerdiemRateHigh, double totalFullDayPerdiemAmountHigh, double totalHalfDayPerdiemHigh, double halfDayPerdiemRateHigh, double totalHalfDayPerdiemAmountHigh, double perdiemGov, double perdiemGovHigh, double perdiemGovernmentAmount, double perdiemPrivateAmount, double perdiemTotalAmount, double perdiemTaxAmount, bool active, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, Byte[] rowVersion, SCG.eAccounting.DTO.FnExpenseDocument expense, SCG.DB.DTO.DbCostCenter costCenter, SCG.DB.DTO.DbAccount account, SCG.DB.DTO.DbInternalOrder iO, SCG.eAccounting.DTO.FnExpenseInvoice invoice, string referenceNo, string saleOrder, string saleItem, double perdiemRate, double perdiemTotalAmountHigh, double perdiemTotalAmountLocalCurrency, double perdiemTotalAmountMainCurrency, double perdiemRateUSDThaiZone, double perdiemTotalAmountThaiZone, double totalFullDayPerdiemThaiZone, double fullDayPerdiemRateThaiZone, double totalFullDayPerdiemAmountThaiZone, double totalHalfDayPerdiemThaiZone, double halfDayPerdiemRateThaiZone, double totalHalfDayPerdiemAmountThaiZone)
 {
     this.description                   = description;
     this.perdiemRateUSD                = perdiemRateUSD;
     this.perdiemRateUSDHigh            = perdiemRateUSDHigh;
     this.totalFullDayPerdiem           = totalFullDayPerdiem;
     this.fullDayPerdiemRate            = fullDayPerdiemRate;
     this.totalFullDayPerdiemAmount     = totalFullDayPerdiemAmount;
     this.totalHalfDayPerdiem           = totalHalfDayPerdiem;
     this.halfDayPerdiemRate            = halfDayPerdiemRate;
     this.totalHalfDayPerdiemAmount     = totalHalfDayPerdiemAmount;
     this.totalFullDayPerdiemHigh       = totalFullDayPerdiemHigh;
     this.fullDayPerdiemRateHigh        = fullDayPerdiemRateHigh;
     this.totalFullDayPerdiemAmountHigh = totalFullDayPerdiemAmountHigh;
     this.totalHalfDayPerdiemHigh       = totalHalfDayPerdiemHigh;
     this.halfDayPerdiemRateHigh        = halfDayPerdiemRateHigh;
     this.totalHalfDayPerdiemAmountHigh = totalHalfDayPerdiemAmountHigh;
     this.perdiemGov              = perdiemGov;
     this.perdiemGovHigh          = perdiemGovHigh;
     this.perdiemGovernmentAmount = perdiemGovernmentAmount;
     this.perdiemPrivateAmount    = perdiemPrivateAmount;
     this.perdiemTotalAmount      = perdiemTotalAmount;
     this.perdiemTaxAmount        = perdiemTaxAmount;
     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;
     this.saleOrder                         = saleOrder;
     this.saleItem                          = saleItem;
     this.referenceNo                       = referenceNo;
     this.perdiemRate                       = perdiemRate;
     this.perdiemTotalAmountHigh            = perdiemTotalAmountHigh;
     this.perdiemTotalAmountLocalCurrency   = perdiemTotalAmountLocalCurrency;
     this.perdiemTotalAmountMainCurrency    = perdiemTotalAmountMainCurrency;
     this.perdiemRateUSDThaiZone            = perdiemRateUSDThaiZone;
     this.perdiemTotalAmountThaiZone        = perdiemTotalAmountThaiZone;
     this.totalFullDayPerdiemThaiZone       = totalFullDayPerdiemThaiZone;
     this.fullDayPerdiemRateThaiZone        = fullDayPerdiemRateThaiZone;
     this.totalFullDayPerdiemAmountThaiZone = totalFullDayPerdiemAmountThaiZone;
     this.totalHalfDayPerdiemThaiZone       = totalHalfDayPerdiemThaiZone;
     this.halfDayPerdiemRateThaiZone        = halfDayPerdiemRateThaiZone;
     this.totalHalfDayPerdiemAmountThaiZone = totalHalfDayPerdiemAmountThaiZone;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the FnExpensePerdiem class
 /// </summary>
 /// <param name="description">Initial <see cref="FnExpensePerdiem.Description" /> value</param>
 /// <param name="perdiemRate">Initial <see cref="FnExpensePerdiem.PerdiemRate" /> value</param>
 /// <param name="referenceNo">Initial <see cref="FnExpensePerdiem.ReferenceNo" /> value</param>
 /// <param name="perdiemType">Initial <see cref="FnExpensePerdiem.PerdiemType" /> value</param>
 /// <param name="active">Initial <see cref="FnExpensePerdiem.Active" /> value</param>
 /// <param name="creBy">Initial <see cref="FnExpensePerdiem.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="FnExpensePerdiem.CreDate" /> value</param>
 /// <param name="updBy">Initial <see cref="FnExpensePerdiem.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="FnExpensePerdiem.UpdDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="FnExpensePerdiem.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="FnExpensePerdiem.RowVersion" /> value</param>
 /// <param name="invoiceID">Initial <see cref="FnExpensePerdiem.InvoiceID" /> value</param>
 /// <param name="costCenterID">Initial <see cref="FnExpensePerdiem.CostCenterID" /> value</param>
 /// <param name="accountID">Initial <see cref="FnExpensePerdiem.AccountID" /> value</param>
 /// <param name="iOID">Initial <see cref="FnExpensePerdiem.IOID" /> value</param>
 public FnExpensePerdiem(string description, decimal perdiemRate, string referenceNo, string perdiemType, bool active, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, Byte[] rowVersion, SCG.FN.DTO.FnExpenseInvoice invoiceID, SCG.DB.DTO.DbCostCenter costCenterID, SCG.DB.DTO.DbAccount accountID, SCG.DB.DTO.DbInternalOrder iOID)
 {
     this.description  = description;
     this.perdiemRate  = perdiemRate;
     this.referenceNo  = referenceNo;
     this.perdiemType  = perdiemType;
     this.active       = active;
     this.creBy        = creBy;
     this.creDate      = creDate;
     this.updBy        = updBy;
     this.updDate      = updDate;
     this.updPgm       = updPgm;
     this.rowVersion   = rowVersion;
     this.invoiceID    = invoiceID;
     this.costCenterID = costCenterID;
     this.accountID    = accountID;
     this.iOID         = iOID;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the TADocument class
 /// </summary>
 /// <param name="fromDate">Initial <see cref="TADocument.FromDate" /> value</param>
 /// <param name="toDate">Initial <see cref="TADocument.ToDate" /> value</param>
 /// <param name="isBusinessPurpose">Initial <see cref="TADocument.IsBusinessPurpose" /> value</param>
 /// <param name="isTrainningPurpose">Initial <see cref="TADocument.IsTrainningPurpose" /> value</param>
 /// <param name="isOtherPurpose">Initial <see cref="TADocument.IsOtherPurpose" /> value</param>
 /// <param name="otherPurposeDescription">Initial <see cref="TADocument.OtherPurposeDescription" /> value</param>
 /// <param name="travelBy">Initial <see cref="TADocument.TravelBy" /> value</param>
 /// <param name="province">Initial <see cref="TADocument.Province" /> value</param>
 /// <param name="country">Initial <see cref="TADocument.Country" /> value</param>
 /// <param name="ticketing">Initial <see cref="TADocument.Ticketing" /> value</param>
 /// <param name="updBy">Initial <see cref="TADocument.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="TADocument.UpdDate" /> value</param>
 /// <param name="creBy">Initial <see cref="TADocument.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="TADocument.CreDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="TADocument.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="TADocument.RowVersion" /> value</param>
 /// <param name="active">Initial <see cref="TADocument.Active" /> value</param>
 /// <param name="documentID">Initial <see cref="SCGDocument.DocumentID" /> value</param>
 /// <param name="costCenterID">Initial <see cref="DbCostCenter.CostCenterID" /> value</param>
 /// <param name="account">Initial <see cref="DbExpenseGroup.Account" /> value</param>
 /// <param name="ioID">Initial <see cref="DbInternalOrder.IOID" /> value</param>
 public TADocument(DateTime fromDate, DateTime toDate, bool isBusinessPurpose, bool isTrainningPurpose, bool isOtherPurpose, string otherPurposeDescription, string travelBy, string province, string country, string ticketing, long updBy, DateTime updDate, long creBy, DateTime creDate, string updPgm, byte[] rowVersion, bool active, SCG.eAccounting.DTO.SCGDocument documentID, SCG.DB.DTO.DbCostCenter costCenterID, SCG.DB.DTO.DbAccount account, SCG.DB.DTO.DbInternalOrder ioID)
 {
     this.fromDate                = fromDate;
     this.toDate                  = toDate;
     this.isBusinessPurpose       = isBusinessPurpose;
     this.isTrainningPurpose      = isTrainningPurpose;
     this.isOtherPurpose          = isOtherPurpose;
     this.otherPurposeDescription = otherPurposeDescription;
     this.travelBy                = travelBy;
     this.province                = province;
     this.country                 = country;
     this.ticketing               = ticketing;
     this.updBy        = updBy;
     this.updDate      = updDate;
     this.creBy        = creBy;
     this.creDate      = creDate;
     this.updPgm       = updPgm;
     this.rowVersion   = rowVersion;
     this.active       = active;
     this.documentID   = documentID;
     this.costCenterID = costCenterID;
     this.account      = account;
     this.ioID         = ioID;
 }