コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the FnExpenseInvoice class
 /// </summary>
 /// <param name="invoiceDocumentType">Initial <see cref="FnExpenseInvoice.InvoiceDocumentType" /> value</param>
 /// <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="description">Initial <see cref="FnExpenseInvoice.Description" /> value</param>
 /// <param name="_isVAT">Initial <see cref="FnExpenseInvoice.isVAT" /> value</param>
 /// <param name="_isWHT">Initial <see cref="FnExpenseInvoice.isWHT" /> value</param>
 /// <param name="taxID">Initial <see cref="FnExpenseInvoice.TaxID" /> value</param>
 /// <param name="nonDeductAmount">Initial <see cref="FnExpenseInvoice.NonDeductAmount" /> value</param>
 /// <param name="totalBaseAmount">Initial <see cref="FnExpenseInvoice.TotalBaseAmount" /> value</param>
 /// <param name="wHTRate1">Initial <see cref="FnExpenseInvoice.WHTRate1" /> value</param>
 /// <param name="wHTTypeID1">Initial <see cref="FnExpenseInvoice.WHTTypeID1" /> value</param>
 /// <param name="baseAmount1">Initial <see cref="FnExpenseInvoice.BaseAmount1" /> value</param>
 /// <param name="wHTAmount1">Initial <see cref="FnExpenseInvoice.WHTAmount1" /> value</param>
 /// <param name="wHTRate2">Initial <see cref="FnExpenseInvoice.WHTRate2" /> value</param>
 /// <param name="wHTTypeID2">Initial <see cref="FnExpenseInvoice.WHTTypeID2" /> value</param>
 /// <param name="baseAmount2">Initial <see cref="FnExpenseInvoice.BaseAmount2" /> value</param>
 /// <param name="wHTAmount2">Initial <see cref="FnExpenseInvoice.WHTAmount2" /> 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 invoiceDocumentType, string invoiceNo, DateTime?invoiceDate, double totalAmount, double vatAmount, double wHTAmount, double netAmount, string description, bool _isVAT, bool _isWHT, long taxID, double nonDeductAmount, double totalBaseAmount, double?wHTRate1, long?wHTTypeID1, double?baseAmount1, double?wHTAmount1, double?wHTRate2, long?wHTTypeID2, double?baseAmount2, double?wHTAmount2, bool active, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, Byte[] rowVersion, SCG.eAccounting.DTO.FnExpenseDocument expense, long?vendorID, long?wHTID1, long?wHTID2)
 {
     this.invoiceDocumentType = invoiceDocumentType;
     this.invoiceNo           = invoiceNo;
     this.invoiceDate         = invoiceDate;
     this.totalAmount         = totalAmount;
     this.vatAmount           = vatAmount;
     this.wHTAmount           = wHTAmount;
     this.netAmount           = netAmount;
     this.description         = description;
     this._isVAT          = _isVAT;
     this._isWHT          = _isWHT;
     this.taxID           = taxID;
     this.nonDeductAmount = nonDeductAmount;
     this.totalBaseAmount = totalBaseAmount;
     this.wHTRate1        = wHTRate1;
     this.wHTTypeID1      = wHTTypeID1;
     this.baseAmount1     = baseAmount1;
     this.wHTAmount1      = wHTAmount1;
     this.wHTRate2        = wHTRate2;
     this.wHTTypeID2      = wHTTypeID2;
     this.baseAmount2     = baseAmount2;
     this.wHTAmount2      = wHTAmount2;
     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.vendorID        = vendorID;
     this.wHTID1          = wHTID1;
     this.wHTID2          = wHTID2;
 }
コード例 #2
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.eAccounting.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;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the FnExpenseRemittance class
 /// </summary>
 /// <param name="expenseRemittanceID">Initial <see cref="FnExpenseRemittance.ExpenseRemittanceID" /> value</param>
 /// <param name="active">Initial <see cref="FnExpenseRemittance.Active" /> value</param>
 /// <param name="creBy">Initial <see cref="FnExpenseRemittance.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="FnExpenseRemittance.CreDate" /> value</param>
 /// <param name="updBy">Initial <see cref="FnExpenseRemittance.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="FnExpenseRemittance.UpdDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="FnExpenseRemittance.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="FnExpenseRemittance.RowVersion" /> value</param>
 /// <param name="expense">Initial <see cref="FnExpenseRemittance.Expense" /> value</param>
 /// <param name="remittance">Initial <see cref="FnExpenseRemittance.Remittance" /> value</param>
 public FnExpenseRemittance(long expenseRemittanceID, bool active, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, byte[] rowVersion, SCG.eAccounting.DTO.FnExpenseDocument expense, SCG.eAccounting.DTO.FnRemittance remittance)
 {
     this.expenseRemittanceID = expenseRemittanceID;
     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.remittance = remittance;
 }
コード例 #4
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;
 }
コード例 #5
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="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 owner, string permissionNo, double homeToOfficeRoundTrip, double privateUse, double first100KmRate, double exceed100KmRate, double totalAmount, double helpingAmount, double overHelpingAmount, bool active, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, Byte[] rowVersion, SCG.eAccounting.DTO.FnExpenseDocument expense)
 {
     this.carLicenseNo          = carLicenseNo;
     this.typeOfCar             = typeOfCar;
     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.overHelpingAmount     = overHelpingAmount;
     this.active                = active;
     this.creBy                 = creBy;
     this.creDate               = creDate;
     this.updBy                 = updBy;
     this.updDate               = updDate;
     this.updPgm                = updPgm;
     this.rowVersion            = rowVersion;
     this.expense               = expense;
 }