I have 2 fields declared in DAC. Here is the part of code
Account(DisplayName = "Offset Account", AvoidControlAccounts = true)]
public virtual int? OffsetAccountID { get; set; }
SubAccount(typeof(ARPaymentChargeTran.accountID), DisplayName = "Offset Subaccount")]
public virtual int? OffsetSubAccountID { get; set; }
As a result I have this.

When I use [Account] attribute on both of fields, I am able to see the lookup, of course both are of Account data.
The main problem is, that I have the correctly working lookup in another test Acumatica instance.

The same package has different behavior in different instances. Both instances have the same options enabled on Enable/Disable Features screen, including the Finance - Advanced Financials - Subaccounts, both are of version 23.202.0026. Note, that the correctly working one was upgraded from 23.105.0016 and had a snapshot restored. If the problem is based on version, version upgrade, then we can do nothing, but if is based on snapshot, then I just need to find a correct configuration or setup.
What can I do to see the lookup for a field having [SubAccount] attribute?