Skip to main content
Question

Error Adding LOV Field in Company ID in Aurena

  • November 19, 2021
  • 1 reply
  • 160 views

Chamaka Wimalarathne
Hero (Partner)
Forum|alt.badge.img+15

When a developer attempts to add a LOV (in Aurena) to the company id field using entity “Company” or entity set “Company Set” the developer gets an error as follows (when deploying the client file)

   CompanyLovList is redeclared, without @Override or @Overtake annotation. Type: ListDefinition, Name: CompanyLovList, Source: PERSON/LovCompanySelector.fragment, Used in: Client PERSON/LovCompanySelector.fragment

   [SourceFile]: C:\Users\amiglk\AppData\Local\DeveloperStudio\Cache\10.82\build_home_cache\__cmbvmpe4158_DEVAPP10_build_home\files\model\person\LovCompanySelector.fragment

   [Line]: 35

 

Below is the screenshot

When further investigated, it is found that the code generation for any LOV related to the entity “Company” will generate a “CompanyLovList”. But as stated in the error, this name is already used in the core layer in the PERSON/LovCompanySelector.fragment file. This is causing the error and the client file including the LOV cannot be deployed.

 

any solutions or a workaround for this ?

This topic has been closed for comments

1 reply

kavinduxo
Hero (Partner)
Forum|alt.badge.img+9
  • Hero (Partner)
  • 41 replies
  • October 28, 2022

Are you creating a new Selector? If it’s the case you need to change the name. isn’t it? because it has declared before in core. If you want to do a change to existing selector(Lov) need to use override annotation.

 

Regards,

Kavindu  


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings