You need to sign in to do that
Don't have an account?
Radhika Pawar 12
Want to display parameters in single table from multiple lists based on common parameter
I have two lists which are populated by REST Response.First list is List<Business> Abc and second is List<Sales> xyz.
1)List<Busiess> Abc have below parameters
-AccountNumber
-BusinessStatus
-BusinessDescrib
2)List<Sales> xyz have below parameters:
-AccountNumber
-salesStatus
-salesDesc
AccountNumber is a common value in Both list.
I want to display the single table with account number and Its repective parameters from both lists (BusinessStatus,BusinessDescrib,salesStatus and salesDesc)
1)List<Busiess> Abc have below parameters
-AccountNumber
-BusinessStatus
-BusinessDescrib
2)List<Sales> xyz have below parameters:
-AccountNumber
-salesStatus
-salesDesc
AccountNumber is a common value in Both list.
I want to display the single table with account number and Its repective parameters from both lists (BusinessStatus,BusinessDescrib,salesStatus and salesDesc)
Use Wrapper class as below:
List<SampleWrapperclass> pqrwrap have below parameters:
Busiess abcobj;
Sales xyzobj;
String Accountnumber;
Mark it as Best Answer, if it helps
can you please provide me similar example ?
Please check below link:
http://www.infallibletechie.com/2015/03/sample-wrapper-class-using-apex-in.html
Mark it as Best Answer, if it helps