Hello im working on a project where i have to put a put condition on my selector i know how to pxselect but im now doing it on a dac
#region UsrMarginCodess
[PXDBString]
[PXUIField(DisplayName = "Margincode")]
[PXSelector(
typeof(Search<Margincode.code, Where<Margincode.show, Equal<true>>>),
typeof(Margincode.code))]
public virtual string UsrMarginCodess { get; set; }
public abstract class usrMarginCodess : PX.Data.BQL.BqlString.Field<usrMarginCodess> { }
#endregion
here is my code i want to select margincode where the show is true
i just want to show the fields that are true on my selector

thank you in advance
