Skip to content

Instantly share code, notes, and snippets.

@Dioris
Created July 25, 2022 23:50
Show Gist options
  • Save Dioris/9f41d1f189a129a3f789987a812298d9 to your computer and use it in GitHub Desktop.
Save Dioris/9f41d1f189a129a3f789987a812298d9 to your computer and use it in GitHub Desktop.
[PXProjection(typeof(Select2<SOOrder,
InnerJoin<SOOrderType, On<SOOrderType.orderType, Equal< SOOrder.orderType>>>,
Where<SOOrderType.behavior, NotEqual<SOBehavior.rM>>>>), persistent: new Type[] { typeof(SOOrder) })]
public partial class SOOrderNotRM: IBlTable
{
////Other fields
#region OrderType
public abstract class orderType : PX.Data.BQL.BqlString.Field<orderType> { }
[PXDBString(2, IsKey = true, IsFixed = true, InputMask = ">aa", BqlField = typeof(SOOrderType.orderType))]
[PXUIField(DisplayName = "Order Type", Visibility = PXUIVisibility.SelectorVisible)]
[PXExtraKey]
[PXSelector(typeof(Search<SOOrderType.orderType>))]
public virtual String OrderType { get; set; }
#endregion
public abstract class requireLotSerial : PX.Data.BQL.BqlBool.Field<requireLotSerial> { }
[PXDBBool(BqlField = typeof(SOOrderType.requireLotSerial))]
public virtual bool? RequireLotSerial { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment