I’ve seen a few posts & blogs about this topic but still can’t seem to get the syntax correct. I have a DAC extension table against the Customer DAC named “ZZCustomerExt”. The Selector/Restrictor attributes for the custom fields work fine in a custom tab on the Customer screen. I added the same field to an SOOrder DAC extension table (value copies but is changeable), but the syntax isn’t correct for my join. How do I reference the Customer DAC extension table correctly in order to restrict by another field in that DAC extension (contractCode)?
[PXDBInt()]
[PXUIField(DisplayName = "Commission Parent")]
[PXSelector(typeof(Search2<Customer.bAccountID, InnerJoin<ZZCustomerExt, On<ZZCustomerExt.bAccountID, Equal<Customer.bAccountID>>>>),
typeof(Customer.bAccountID),
typeof(Customer.acctName),
SubstituteKey = typeof(Customer.acctCD),
DescriptionField = typeof(Customer.acctName))]
[PXRestrictor(typeof(Where<Exists<
Select<ZZCustomerExt, Where<ZZCustomerExt.bAccountID, Equal<Customer.bAccountID>,
And<ZZCustomerExt.contractCode.IsGreater<fyContractCode>>>>>>),
Messages.CommissionParentIncorrectType, typeof(Customer.customerClassID))]
The current error appears to be namespace or type related. I do have the CustomerExtension referenced in the DAC definition.

Thanks!