Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Approval DAC Fields
#region Hold
[PXDBBool()]
[PXDefault(true)]
[PXUIField(DisplayName = Messages.FldHold, Visibility = PXUIVisibility.Visible)]
public virtual bool? Hold { get; set; }
public abstract class hold
: PX.Data.BQL.BqlBool.Field<hold> { }
#endregion
#region Approved
[PXDBBool()]
[PXDefault(false, PersistingCheck = PXPersistingCheck.Nothing)]
[PXUIField(DisplayName = Messages.FldApproved)]
public virtual bool? Approved { get; set; }
public abstract class approved
: PX.Data.BQL.BqlBool.Field<approved> { }
#endregion
#region Rejected
[PXBool()]
[PXDefault(false, PersistingCheck = PXPersistingCheck.Nothing)]
public virtual bool? Rejected { get; set; }
public abstract class rejected
: PX.Data.BQL.BqlBool.Field<rejected> { }
#endregion
#region RequestApproval
[PXDBBool()]
[PXUIField(Visible = false)]
[PXDBDefault(typeof(MySetupDAC.requestApproval))]
public virtual bool? RequestApproval { get; set; }
public abstract class requestApproval
: PX.Data.BQL.BqlBool.Field<requestApproval> { }
#endregion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment