I’m new to development and customization with Acumatica. I’m attempting to add a new field to Business Account. It’s going to be a lookup to the Employee records.I discovered that employee records are stored in the Business Account table. So it’s a lookup back to BAccount for the employee record.
Requirements are to setup a secondary owner for Business Accounts.

This is the only information I’ve added to the attribute field:
[PXDBInt]
[PXSelector(
typeof(Search<BAccount.BAccountID,
Where<BAccount.Type,Equal<EP>>>),
typeof(BAccount.AcctCD),
typeof(BAccount.LegalName),
SubstituteKey = typeof(BAccount.AcctCD),
DescriptionField = typeof(BAccount.LegalName)]
[PXUIField(DisplayName="SecondaryOwner2")]
Everytime I go to publish the information I get an error.
\App_RuntimeCode\PX_Objects_CR_BAccount_extensions.cs(29): error CS0426: The type name 'AcctCD' does not exist in the type 'BAccount'Any assistance would be greatly appreciated.