Notifications
Announcements
No record found.
Does anyone know how I can grab the info from SalesLine in the method I'm currently in?
What is the access level of the salesLine variable in the class? Is it private? Is there a a parm method or other method to return the salesLine variable? If it's private, you can add your own method to return and use that to get a reference to salesLine variable.
Hi Andrew,
Are you asking how to copy all the values of "this" object from watch window?
If yes, then right click and select "Copy" or "Copy values".
Thanks,
Girish S.
It doesn't have any access modifier, therefore it's protected and you can access it simply by name. But you need to extend the right class.
salesLine variable is declared in AMDeviceProcessToDevice_SalesLine class, not in AMDeviceProcessToDevice.
Thank you very much Martin. I have been working for about a week trying to figure out how to update AMDeviceTableMaster but needed info from the SalesLine and I could not find the right place to get a hold of everything. That class you mentioned above was perfect. I made an extension and now it's working.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 663 Most Valuable Professional
André Arnaud de Cal... 540 Super User 2025 Season 2
Sohaib Cheema 348 User Group Leader