I have a custom screen and script for Sales Order Items that calls the core PriceList screen.
I use the following code to call
var newdlg = toolbox.openWindow(“priceList”, this, Qt.WindowModal);
var result = newdlg.exec();
What I need on the return is the _selectedPrice property which is in the priceList.h code
trying this does not work
var selectedPrice = newdlg._selectedPrice;
I assume my problem is that the newdlg is a Dialog Class and I need the PriceList class.