I need to override the accountattribute so that it accepts inactive accounts, how do I do this, currently the restrictors I want to remove…..
Â
  PXDBInt]
  >PXInt]
  PXRestrictorAttribute(typeof(Where<Account.active, Equal<True>>), "Account is inactive.", newv] { })]
  bPXRestrictorAttribute(typeof(Where<Where<Current<GLSetup.ytdNetIncAccountID>, IsNull, Or<Account.accountID, NotEqual<Current<GLSetup.ytdNetIncAccountID>>>>>), "YTD Net Income Account cannot be used in this context.", newt] { })]
  ]PXUIField(DisplayName = "Account", Visibility = PXUIVisibility.Visible, FieldClass = "ACCOUNT")]
 Â
public class AccountAttribute : AcctSubAttribute, IPXFieldVerifyingSubscriber, IPXRowPersistingSubscriber
  {
    public const string DimensionName = "ACCOUNT";
    public AccountAttribute();
Â
Â
Â