Is there a function that can be used to Open an Extender window via Dex?
so I found this call ‘Open_UD_Window_Number’, 16;
But how do I get the window number? Where does the 16 come from?
The script of Open_UD_Window_16 is merely:
call Open_UD_Window_Number, 16;
The 16 is the “window number” and the Open_UD_Window_16 is just the trigger handling script of the form trigger registration process – it was the 16th extender window registered out of however many windows you have.
The table EXT_User_Form_Triggers (EXT80200) holds the “window number” for each record registered – so to get that window number, you’d look in that table at the rest of the key fields to find it. Then you could call Open_UD_Window_Number directly passing in that window number as the param.
But of course Extender expects the GP window registered against to be open so if you do this w/o that GP window open (which you surely could with code) the Extender window will give a polite error or else Illegal Address since this shouldn’t be possible to have happen. But either way the window won’t display properly.
thanks, I ended up using something like this, works well
DECLARE @CMPANYID INT,
SELECT TOP 1
WHERE Extender_ID = @Extender_ID
AND Extender_Type = @Extender_Type
AND USERID = @USERID
AND CMPANYID = @CMPANYID
If you would like to submit an answer or comment, please sign in to the eOne portal.