JDEV version 22.214.171.124.0
Need suggestion to implement the following usecase :
On the Ui, user enters some data ( which is based on two view objects Vo1 entity based and VO2 trasient ).
I have a EO1 based on view doing crud through sqlProcedure call ( so overridden doDML ). SqlProcedure call needs the data entered on UI for VO2 . So I have written a method in AMImpl which returns the List having data entered for VO2. Accessing the AMinstance in EO is bad practise... So how do I achieve it.
Note: I have to insert the data through single procedure call that is happening in EO1.
Create a variable in EOImpl of the type you want to pass in crud operation. Now before calling commit call AM method that sets the EOImpl variable . And then commit ... in that case EOImpl can use the variable value .