Skip to main content
Answer

[SubAccount] attributed does not have lookup on screen

  • November 14, 2024
  • 1 reply
  • 42 views

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?

Best answer by DipakNilkanth

Hi @vachagan62,

Have you tried with Reset Caches and Restart Application option in the instance where you are facing issue?(ensure it will be the test instance)
 

Hope, it helps!

1 reply

DipakNilkanth
Pro III
Forum|alt.badge.img+13
  • Pro III
  • Answer
  • November 14, 2024

Hi @vachagan62,

Have you tried with Reset Caches and Restart Application option in the instance where you are facing issue?(ensure it will be the test instance)
 

Hope, it helps!