Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the FnRemittanceAdvance class
 /// </summary>
 /// <param name="active">Initial <see cref="FnRemittanceAdvance.Active" /> value</param>
 /// <param name="updBy">Initial <see cref="FnRemittanceAdvance.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="FnRemittanceAdvance.UpdDate" /> value</param>
 /// <param name="creBy">Initial <see cref="FnRemittanceAdvance.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="FnRemittanceAdvance.CreDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="FnRemittanceAdvance.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="FnRemittanceAdvance.RowVersion" /> value</param>
 /// <param name="remittance">Initial <see cref="FnRemittanceAdvance.Remittance" /> value</param>
 /// <param name="advance">Initial <see cref="FnRemittanceAdvance.Advance" /> value</param>
 public FnRemittanceAdvance(bool active, long updBy, DateTime updDate, long creBy, DateTime creDate, string updPgm, byte[] rowVersion, SCG.eAccounting.DTO.FnRemittance remittance, SCG.eAccounting.DTO.AvAdvanceDocument advance)
 {
     this.active     = active;
     this.updBy      = updBy;
     this.updDate    = updDate;
     this.creBy      = creBy;
     this.creDate    = creDate;
     this.updPgm     = updPgm;
     this.rowVersion = rowVersion;
     this.remittance = remittance;
     this.advance    = advance;
 }
Esempio n. 2
0
 public void LoadFromDataRow(DataRow dr)
 {
     this.ExpenseRemittanceID = Convert.ToInt64(dr["ExpenseRemittenceID"]);
     this.Expense             = new FnExpenseDocument(Convert.ToInt64(dr["ExpenseID"]));
     this.Remittance          = new FnRemittance(Convert.ToInt64(dr["RemittanceID"]));
     this.Active  = (bool)dr["Active"];
     this.CreBy   = Convert.ToInt64(dr["CreBy"].ToString());
     this.CreDate = Convert.ToDateTime(dr["CreDate"]);
     this.UpdBy   = Convert.ToInt64(dr["UpdBy"].ToString());
     this.UpdDate = Convert.ToDateTime(dr["UpdDate"]);
     this.UpdPgm  = dr["UpdPgm"].ToString();
 }
Esempio n. 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;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the FnRemittanceItem class
 /// </summary>
 /// <param name="paymentType">Initial <see cref="FnRemittanceItem.PaymentType" /> value</param>
 /// <param name="foreignCurrencyAdvanced">Initial <see cref="FnRemittanceItem.ForeignCurrencyAdvanced" /> value</param>
 /// <param name="exchangeRate">Initial <see cref="FnRemittanceItem.ExchangeRate" /> value</param>
 /// <param name="foreignCurrencyRemitted">Initial <see cref="FnRemittanceItem.ForeignCurrencyRemitted" /> value</param>
 /// <param name="amountTHB">Initial <see cref="FnRemittanceItem.AmountTHB" /> value</param>
 /// <param name="active">Initial <see cref="FnRemittanceItem.Active" /> value</param>
 /// <param name="updBy">Initial <see cref="FnRemittanceItem.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="FnRemittanceItem.UpdDate" /> value</param>
 /// <param name="creBy">Initial <see cref="FnRemittanceItem.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="FnRemittanceItem.CreDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="FnRemittanceItem.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="FnRemittanceItem.RowVersion" /> value</param>
 /// <param name="remittance">Initial <see cref="FnRemittanceItem.Remittance" /> value</param>
 /// <param name="currency">Initial <see cref="FnRemittanceItem.Currency" /> value</param>
 public FnRemittanceItem(string paymentType, double foreignCurrencyAdvanced, double exchangeRate, double foreignCurrencyRemitted, double amountTHB, bool active, long updBy, DateTime updDate, long creBy, DateTime creDate, string updPgm, Byte[] rowVersion, SCG.eAccounting.DTO.FnRemittance remittance, SS.DB.DTO.DbCurrency currency, double maincurrencyamount, double foreignAmountMainCurrencyAdvanced, double exchangeRateTHB)
 {
     this.paymentType             = paymentType;
     this.foreignCurrencyAdvanced = foreignCurrencyAdvanced;
     this.exchangeRate            = exchangeRate;
     this.foreignCurrencyRemitted = foreignCurrencyRemitted;
     this.amountTHB          = amountTHB;
     this.active             = active;
     this.updBy              = updBy;
     this.updDate            = updDate;
     this.creBy              = creBy;
     this.creDate            = creDate;
     this.updPgm             = updPgm;
     this.rowVersion         = rowVersion;
     this.remittance         = remittance;
     this.currency           = currency;
     this.mainCurrencyAmount = maincurrencyamount;
     this.foreignAmountMainCurrencyAdvanced = foreignAmountMainCurrencyAdvanced;
     this.exchangeRateTHB = exchangeRateTHB;
 }