Hi Team,
I have two classes like class1 and Class 2
Class 1 - Extesion class of PurchLine
Class 2 - Class2
So, from Class1 , I lke to send parameter of active record to Class 2.
I mean the PurchLine Recid to Class 2. ( Current record only)
Kindly let me know How will pass parameter from Class1 to Class 2
Pls give me more shed on this.
thanks!
Thanks Mohit and Girish
Hi, I think you are trying to pass record from PurchLine table to a class. Is the class getting initialized in purchTable or is it used under a single scope like while inserting or updating record, you will pass the record to class and perform another operation in class?
If it's not within single transaction/scope then park method will not work. If within single transaction then create and call parm method in class from table extension class.
Hi,
You can create one parm method on class 2.
In class 1 which is extension class using instance of class 2 you can call the second class parm method by assigning purch table record to parm method.
One more option will be calling the methods and on class 2 with arguments.
Thanks,
Girish S.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156