Question
Virtusa UK Ltd
GB
Last activity: 8 Nov 2017 6:02 EST
Reporting on the fields from data class
Hi
I have a Auto Loan class where I have Customer page points to a data class of type 'Customer' and CustomerAddress page of type 'Address'. Customer has a credit score information and loan pricing rate differs based on the credit score and state where customer lives.
I wanted a report to show the customer name, creditscore and the state (particular set of risky states where recovery of loan amount is difficult) information of each day. How can I expose these customer and address information for reporting?
One option I know is to have a Declare Index for these pages (no straight way to create declare index for page). There can other reporting requirements in other data classes and I am not sure declare index for each different page is a good option
Is it right approach to have all the data in Data class? OR
if we know that we need some fields for reporting, Is it wise to create them directly in work class? OR
Have a declare expression to have a duplicate property in work class and copy the reporting necessary fields from data class?
I am not convinced with any option fully. Can anyone please advice?
Thanks
Ganesh