Question

Error Adding LOV Field in Company ID in Aurena

  • 19 November 2021
  • 1 reply
  • 121 views

Userlevel 7
Badge +14

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

Userlevel 3
Badge +8

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