public void LoadFromDataRow(DataRow dr) { this.InitiatorID = Convert.ToInt64(dr["InitiatorID"]); this.Seq = Convert.ToInt16(dr["Seq"]); this.InitiatorType = dr["InitiatorType"].ToString(); this.SkipReason = dr["SkipReason"].ToString(); if (!string.IsNullOrEmpty(dr["DoApprove"].ToString())) { this.DoApprove = (bool)dr["DoApprove"]; } if (!string.IsNullOrEmpty(dr["IsSkip"].ToString())) { this.IsSkip = (bool)dr["IsSkip"]; } if (!string.IsNullOrEmpty(dr["DocumentID"].ToString())) { this.DocumentID = new SCGDocument(Convert.ToInt64(dr["DocumentID"])); } if (!string.IsNullOrEmpty(dr["UserID"].ToString())) { this.UserID = new SS.SU.DTO.SuUser(Convert.ToInt64(dr["UserID"])); } 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(); }
/// <summary> /// Initializes a new instance of the DocumentViewLock class /// </summary> /// <param name="documentID">Initial <see cref="DocumentViewLock.DocumentID" /> value</param> /// <param name="locked">Initial <see cref="DocumentViewLock.Locked" /> value</param> /// <param name="creBy">Initial <see cref="DocumentViewLock.CreBy" /> value</param> /// <param name="creDate">Initial <see cref="DocumentViewLock.CreDate" /> value</param> /// <param name="updBy">Initial <see cref="DocumentViewLock.UpdBy" /> value</param> /// <param name="updDate">Initial <see cref="DocumentViewLock.UpdDate" /> value</param> /// <param name="updPgm">Initial <see cref="DocumentViewLock.UpdPgm" /> value</param> /// <param name="userID">Initial <see cref="DocumentViewLock.UserID" /> value</param> public DocumentViewLock(long documentID, bool locked, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, SS.SU.DTO.SuUser userID) { this.documentID = documentID; this.locked = locked; this.creBy = creBy; this.creDate = creDate; this.updBy = updBy; this.updDate = updDate; this.updPgm = updPgm; this.userID = userID; }
/// <summary> /// Initializes a new instance of the SuUserRole class /// </summary> /// <param name="comment">Initial <see cref="SuUserRole.Comment" /> value</param> /// <param name="updBy">Initial <see cref="SuUserRole.UpdBy" /> value</param> /// <param name="updDate">Initial <see cref="SuUserRole.UpdDate" /> value</param> /// <param name="creBy">Initial <see cref="SuUserRole.CreBy" /> value</param> /// <param name="creDate">Initial <see cref="SuUserRole.CreDate" /> value</param> /// <param name="updPgm">Initial <see cref="SuUserRole.UpdPgm" /> value</param> /// <param name="rowVersion">Initial <see cref="SuUserRole.RowVersion" /> value</param> /// <param name="active">Initial <see cref="SuUserRole.Active" /> value</param> /// <param name="role">Initial <see cref="SuUserRole.Role" /> value</param> /// <param name="user">Initial <see cref="SuUserRole.User" /> value</param> public SuUserRole(string comment, long updBy, DateTime updDate, long creBy, DateTime creDate, string updPgm, Byte[] rowVersion, bool active, SS.SU.DTO.SuRole role, SS.SU.DTO.SuUser user) { 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.role = role; this.user = user; }
/// <summary> /// Initializes a new instance of the SuUserFavoriteActor class /// </summary> /// <param name="actorType">Initial <see cref="SuUserFavoriteActor.ActorType" /> value</param> /// <param name="updBy">Initial <see cref="SuUserFavoriteActor.UpdBy" /> value</param> /// <param name="updDate">Initial <see cref="SuUserFavoriteActor.UpdDate" /> value</param> /// <param name="creBy">Initial <see cref="SuUserFavoriteActor.CreBy" /> value</param> /// <param name="creDate">Initial <see cref="SuUserFavoriteActor.CreDate" /> value</param> /// <param name="updPgm">Initial <see cref="SuUserFavoriteActor.UpdPgm" /> value</param> /// <param name="rowVersion">Initial <see cref="SuUserFavoriteActor.RowVersion" /> value</param> /// <param name="active">Initial <see cref="SuUserFavoriteActor.Active" /> value</param> /// <param name="userid">Initial <see cref="SuUserFavoriteActor.Userid" /> value</param> /// <param name="actorUserid">Initial <see cref="SuUserFavoriteActor.ActorUserid" /> value</param> public SuUserFavoriteActor(string actorType, long updBy, DateTime updDate, long creBy, DateTime creDate, string updPgm, Byte[] rowVersion, bool active, SS.SU.DTO.SuUser userid, SS.SU.DTO.SuUser actorUserid) { this.actorType = actorType; this.updBy = updBy; this.updDate = updDate; this.creBy = creBy; this.creDate = creDate; this.updPgm = updPgm; this.rowVersion = rowVersion; this.active = active; this.user = userid; this.actorUserID = actorUserid; }
/// <summary> /// Initializes a new instance of the TADocumentTraveller class /// </summary> /// <param name="employeeNameEng">Initial <see cref="TADocumentTraveller.EmployeeNameEng" /> value</param> /// <param name="airLineMember">Initial <see cref="TADocumentTraveller.AirLineMember" /> value</param> /// <param name="updBy">Initial <see cref="TADocumentTraveller.UpdBy" /> value</param> /// <param name="updDate">Initial <see cref="TADocumentTraveller.UpdDate" /> value</param> /// <param name="creBy">Initial <see cref="TADocumentTraveller.CreBy" /> value</param> /// <param name="creDate">Initial <see cref="TADocumentTraveller.CreDate" /> value</param> /// <param name="updPgm">Initial <see cref="TADocumentTraveller.UpdPgm" /> value</param> /// <param name="rowVersion">Initial <see cref="TADocumentTraveller.RowVersion" /> value</param> /// <param name="active">Initial <see cref="TADocumentTraveller.Active" /> value</param> /// <param name="taDocumentID">Initial <see cref="TADocument.TADocumentID" /> value</param> /// <param name="userID">Initial <see cref="SuUser.UserID" /> value</param> public TADocumentTraveller(string employeeNameEng, string airLineMember, long updBy, DateTime updDate, long creBy, DateTime creDate, string updPgm, byte[] rowVersion, bool active, SCG.eAccounting.DTO.TADocument taDocumentID, SS.SU.DTO.SuUser userID) { this.employeeNameEng = employeeNameEng; this.airLineMember = airLineMember; this.updBy = updBy; this.updDate = updDate; this.creBy = creBy; this.creDate = creDate; this.updPgm = updPgm; this.rowVersion = rowVersion; this.active = active; this.taDocumentID = taDocumentID; this.userID = userID; }
/// <summary> /// Initializes a new instance of the SuUserTransactionPermission class /// </summary> /// <param name="comment">Initial <see cref="SuUserTransactionPermission.Comment" /> value</param> /// <param name="updBy">Initial <see cref="SuUserTransactionPermission.UpdBy" /> value</param> /// <param name="updDate">Initial <see cref="SuUserTransactionPermission.UpdDate" /> value</param> /// <param name="creBy">Initial <see cref="SuUserTransactionPermission.CreBy" /> value</param> /// <param name="creDate">Initial <see cref="SuUserTransactionPermission.CreDate" /> value</param> /// <param name="updPgm">Initial <see cref="SuUserTransactionPermission.UpdPgm" /> value</param> /// <param name="rowVersion">Initial <see cref="SuUserTransactionPermission.RowVersion" /> value</param> /// <param name="active">Initial <see cref="SuUserTransactionPermission.Active" /> value</param> /// <param name="user">Initial <see cref="SuUserTransactionPermission.User" /> value</param> /// <param name="organization">Initial <see cref="SuUserTransactionPermission.Organization" /> value</param> /// <param name="division">Initial <see cref="SuUserTransactionPermission.Division" /> value</param> public SuUserTransactionPermission(string comment, long updBy, DateTime updDate, long creBy, DateTime creDate, string updPgm, Byte[] rowVersion, bool active, SS.SU.DTO.SuUser user, SS.SU.DTO.SuOrganization organization, SS.SU.DTO.SuDivision division) { 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.user = user; this.organization = organization; this.division = division; }
/// <summary> /// Initializes a new instance of the SuUserProfileLang class /// </summary> /// <param name="firstName">Initial <see cref="SuUserProfileLang.FirstName" /> value</param> /// <param name="lastName">Initial <see cref="SuUserProfileLang.LastName" /> value</param> /// <param name="comment">Initial <see cref="SuUserProfileLang.Comment" /> value</param> /// <param name="updBy">Initial <see cref="SuUserProfileLang.UpdBy" /> value</param> /// <param name="updDate">Initial <see cref="SuUserProfileLang.UpdDate" /> value</param> /// <param name="creBy">Initial <see cref="SuUserProfileLang.CreBy" /> value</param> /// <param name="creDate">Initial <see cref="SuUserProfileLang.CreDate" /> value</param> /// <param name="updPgm">Initial <see cref="SuUserProfileLang.UpdPgm" /> value</param> /// <param name="rowVersion">Initial <see cref="SuUserProfileLang.RowVersion" /> value</param> /// <param name="active">Initial <see cref="SuUserProfileLang.Active" /> value</param> /// <param name="user">Initial <see cref="SuUserProfileLang.User" /> value</param> /// <param name="language">Initial <see cref="SuUserProfileLang.Language" /> value</param> public SuUserProfileLang(string firstName, string lastName, string personalWebUrl, string comment, long updBy, DateTime updDate, long creBy, DateTime creDate, string updPgm, Byte[] rowVersion, bool active, SS.SU.DTO.SuUser user, SS.DB.DTO.DbLanguage language) { this.firstName = firstName; this.lastName = lastName; 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.user = user; this.language = language; }
/// <summary> /// Initializes a new instance of the DocumentInitiator class /// </summary> /// <param name="seq">Initial <see cref="DocumentInitiator.Seq" /> value</param> /// <param name="initiatorType">Initial <see cref="DocumentInitiator.InitiatorType" /> value</param> /// <param name="doApprove">Initial <see cref="DocumentInitiator.DoApprove" /> value</param> /// <param name="active">Initial <see cref="DocumentInitiator.Active" /> value</param> /// <param name="creBy">Initial <see cref="DocumentInitiator.CreBy" /> value</param> /// <param name="creDate">Initial <see cref="DocumentInitiator.CreDate" /> value</param> /// <param name="updBy">Initial <see cref="DocumentInitiator.UpdBy" /> value</param> /// <param name="updDate">Initial <see cref="DocumentInitiator.UpdDate" /> value</param> /// <param name="updPgm">Initial <see cref="DocumentInitiator.UpdPgm" /> value</param> /// <param name="rowVersion">Initial <see cref="DocumentInitiator.RowVersion" /> value</param> /// <param name="documentID">Initial <see cref="DocumentInitiator.DocumentID" /> value</param> /// <param name="userID">Initial <see cref="DocumentInitiator.UserID" /> value</param> public DocumentInitiator(short seq, string initiatorType, bool doApprove, bool active, long creBy, DateTime creDate, long updBy, DateTime updDate, string updPgm, Byte[] rowVersion, bool isSkip, string skipReason, SCG.eAccounting.DTO.SCGDocument documentID, SS.SU.DTO.SuUser userID) { this.seq = seq; this.initiatorType = initiatorType; this.doApprove = doApprove; this.active = active; this.creBy = creBy; this.creDate = creDate; this.updBy = updBy; this.updDate = updDate; this.updPgm = updPgm; this.rowVersion = rowVersion; this.isSkip = isSkip; this.skipReason = skipReason; this.documentID = documentID; this.userID = userID; }