コード例 #1
0
ファイル: SuUser.cs プロジェクト: naristhararuk/pjfsaccount
 /// <summary>
 /// Initializes a new instance of the SuUser class
 /// </summary>
 /// <param name="employeeCode">Initial <see cref="SuUser.EmployeeCode" /> value</param>
 /// <param name="companyCode">Initial <see cref="SuUser.CompanyCode" /> value</param>
 /// <param name="costCenterCode">Initial <see cref="SuUser.CostCenterCode" /> value</param>
 /// <param name="locationCode">Initial <see cref="SuUser.LocationCode" /> value</param>
 /// <param name="userName">Initial <see cref="SuUser.UserName" /> value</param>
 /// <param name="password">Initial <see cref="SuUser.Password" /> value</param>
 /// <param name="setFailTime">Initial <see cref="SuUser.SetFailTime" /> value</param>
 /// <param name="failTime">Initial <see cref="SuUser.FailTime" /> value</param>
 /// <param name="changePassword">Initial <see cref="SuUser.ChangePassword" /> value</param>
 /// <param name="allowPasswordChangeDate">Initial <see cref="SuUser.AllowPasswordChangeDate" /> value</param>
 /// <param name="passwordExpiryDate">Initial <see cref="SuUser.PasswordExpiryDate" /> value</param>
 /// <param name="peopleID">Initial <see cref="SuUser.PeopleID" /> value</param>
 /// <param name="employeeName">Initial <see cref="SuUser.EmployeeName" /> value</param>
 /// <param name="sectionName">Initial <see cref="SuUser.SectionName" /> value</param>
 /// <param name="personalLevel">Initial <see cref="SuUser.PersonalLevel" /> value</param>
 /// <param name="personalDescription">Initial <see cref="SuUser.PersonalDescription" /> value</param>
 /// <param name="personalGroup">Initial <see cref="SuUser.PersonalGroup" /> value</param>
 /// <param name="personalLevelGroupDescription">Initial <see cref="SuUser.PersonalLevelGroupDescription" /> value</param>
 /// <param name="positionName">Initial <see cref="SuUser.PositionName" /> value</param>
 /// <param name="supervisor">Initial <see cref="SuUser.Supervisor" /> value</param>
 /// <param name="phoneNo">Initial <see cref="SuUser.PhoneNo" /> value</param>
 /// <param name="mobilePhoneNo">Initial <see cref="SuUser.MobilePhoneNo" /> value</param>
 /// <param name="sMSApproveOrReject">Initial <see cref="SuUser.SMSApproveOrReject" /> value</param>
 /// <param name="sMSReadyToReceive">Initial <see cref="SuUser.SMSReadyToReceive" /> value</param>
 /// <param name="hireDate">Initial <see cref="SuUser.HireDate" /> value</param>
 /// <param name="approvalFlag">Initial <see cref="SuUser.ApprovalFlag" /> value</param>
 /// <param name="email">Initial <see cref="SuUser.Email" /> value</param>
 /// <param name="fromEHr">Initial <see cref="SuUser.FromEHr" /> value</param>
 /// <param name="comment">Initial <see cref="SuUser.Comment" /> value</param>
 /// <param name="updBy">Initial <see cref="SuUser.UpdBy" /> value</param>
 /// <param name="updDate">Initial <see cref="SuUser.UpdDate" /> value</param>
 /// <param name="creBy">Initial <see cref="SuUser.CreBy" /> value</param>
 /// <param name="creDate">Initial <see cref="SuUser.CreDate" /> value</param>
 /// <param name="updPgm">Initial <see cref="SuUser.UpdPgm" /> value</param>
 /// <param name="rowVersion">Initial <see cref="SuUser.RowVersion" /> value</param>
 /// <param name="active">Initial <see cref="SuUser.Active" /> value</param>
 /// <param name="language">Initial <see cref="SuUser.Language" /> value</param>
 /// <param name="company">Initial <see cref="SuUser.Company" /> value</param>
 /// <param name="costCenter">Initial <see cref="SuUser.CostCenter" /> value</param>
 /// <param name="locationID">Initial <see cref="SuUser.LocationID" /> value</param>
 public SuUser(string employeeCode, string companyCode, string costCenterCode, string locationCode, string userName, string password, short setFailTime, short failTime, bool changePassword, DateTime?allowPasswordChangeDate, DateTime?passwordExpiryDate, string peopleID, string employeeName, string sectionName, string personalLevel, string personalDescription, string personalGroup, string personalLevelGroupDescription, string positionName, long supervisor, string phoneNo, string mobilePhoneNo, bool sMSApproveOrReject, bool sMSReadyToReceive, DateTime?hireDate, bool approvalFlag, string email, bool fromEHr, string comment, long updBy, DateTime updDate, long creBy, DateTime creDate, string updPgm, Byte[] rowVersion, bool active, SS.DB.DTO.DbLanguage language, SCG.DB.DTO.DbCompany company, SCG.DB.DTO.DbCostCenter costCenter, SCG.DB.DTO.DbLocation locationID)
 {
     this.employeeCode                  = employeeCode;
     this.companyCode                   = companyCode;
     this.costCenterCode                = costCenterCode;
     this.locationCode                  = locationCode;
     this.userName                      = userName;
     this.password                      = password;
     this.setFailTime                   = setFailTime;
     this.failTime                      = failTime;
     this.changePassword                = changePassword;
     this.allowPasswordChangeDate       = allowPasswordChangeDate;
     this.passwordExpiryDate            = passwordExpiryDate;
     this.peopleID                      = peopleID;
     this.employeeName                  = employeeName;
     this.sectionName                   = sectionName;
     this.personalLevel                 = personalLevel;
     this.personalDescription           = personalDescription;
     this.personalGroup                 = personalGroup;
     this.personalLevelGroupDescription = personalLevelGroupDescription;
     this.positionName                  = positionName;
     this.supervisor                    = supervisor;
     this.phoneNo            = phoneNo;
     this.mobilePhoneNo      = mobilePhoneNo;
     this.sMSApproveOrReject = sMSApproveOrReject;
     this.sMSReadyToReceive  = sMSReadyToReceive;
     this.hireDate           = hireDate;
     this.approvalFlag       = approvalFlag;
     this.email      = email;
     this.fromEHr    = fromEHr;
     this.comment    = comment;
     this.updBy      = updBy;
     this.updDate    = updDate;
     this.creBy      = creBy;
     this.creDate    = creDate;
     this.updPgm     = updPgm;
     this.rowVersion = rowVersion;
     this.active     = active;
     this.language   = language;
     this.company    = company;
     this.costCenter = costCenter;
     this.locationID = locationID;
 }
コード例 #2
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;
 }
コード例 #3
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;
 }