Skip to main content

I have a List that uses a view to display results, and I want to reference a field that is not in the entity to display the results. I would like to know how to write references in file .projection and .client. 

please provide some guidance.

View

 

projection
client
error when i try to add some field
entity

 

Hi ​@mardede29 , 

Do you need to keep this field as a read-only field? If so you can fetch the data from other entity directly by changing the projection details like below.

 

projection CustomerCreditAnalysis;

@Override
entity CreditCollectionInfo {
   attribute NCrLimitthb Number {
      fetch = "Customer_Credit_Info_API.Get_N_Cr_Limitthb(company, identity)";
      format = ifscurrency;

   }

}

 


Reply