Skip to content

Instantly share code, notes, and snippets.

@Dioris
Created July 25, 2022 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dioris/37ecc07072c32f73aa1f4a0d29a6cb71 to your computer and use it in GitHub Desktop.
Save Dioris/37ecc07072c32f73aa1f4a0d29a6cb71 to your computer and use it in GitHub Desktop.
[PXProjection(typeof(Select<SOOrder,
Where<SOOrder.approved, Equal<True>>>))]
public partial class SOOrderApproved : IBqlTable
{
public abstract class orderType : PX.Data.BQL.BqlString.Field<orderType> { }
[PXDBString(2, IsKey = true, IsFixed = true, InputMask=">aa", BqlField = typeof(SOOrder.orderType)]
//Other attributes like PXSelector
public virtual String OrderType { get; set; }
public abstract class orderNbr : PX.Data.BQL.BqlString.Field<orderNbr> { }
[PXDBString(15, IsKey = true, IsUnicode = true, InputMask = ">CCCCCCCCCCCCCCC", BqlField = typeof(SOOrder.orderNbr)]
[PXUIField(DisplayName = "Order Nbr.", Visibility = PXUIVisibility.SelectorVisible)]
//Other attributes like PXSelector
public virtual String OrderNbr { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment