-
-
Save jvanhoesen/72198b26eabe422335f1b31e2e617902 to your computer and use it in GitHub Desktop.
Setup Approval Table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AATimeRequestApproval : IBqlTable, IAssignedMap | |
{ | |
#region ApprovalID | |
public abstract class approvalID : BqlInt.Field<approvalID> | |
{ | |
} | |
[PXDBIdentity(IsKey = true)] | |
public virtual int? ApprovalID { get; set; } | |
#endregion | |
#region AssignmentMapID | |
public abstract class assignmentMapID : BqlInt.Field<assignmentMapID> | |
{ | |
} | |
[PXDefault] | |
[PXDBInt] | |
[PXSelector(typeof(Search<EPAssignmentMap.assignmentMapID, Where<EPAssignmentMap.entityType, Equal<AssignmentMapTypes.AssignmentMapTypeNP>>>), SubstituteKey = typeof(EPAssignmentMap.name))] | |
[PXUIField(DisplayName = "Approval Map")] | |
public virtual int? AssignmentMapID { get; set; } | |
#endregion | |
#region AssignmentNotificationID | |
public abstract class assignmentNotificationID : BqlInt.Field<assignmentNotificationID> | |
{ | |
} | |
[PXDBInt] | |
[PXSelector(typeof(PX.SM.Notification.notificationID), SubstituteKey = typeof(PX.SM.Notification.name))] | |
[PXUIField(DisplayName = "Pending Approval Notification")] | |
public virtual int? AssignmentNotificationID { get; set; } | |
#endregion | |
#region IsActive | |
public abstract class isActive : BqlBool.Field<isActive> | |
{ | |
} | |
[PXDBBool] | |
[PXDefault(typeof(Search<NPTimeRequestSetup.timeRequestApproval>), PersistingCheck = PXPersistingCheck.Nothing)] | |
[PXUIField(DisplayName = "Active")] | |
public virtual bool? IsActive { get; set; } | |
#endregion | |
//...Audit fields to be included | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment