sam291091
24th November 2014, 05:48
Hi,
How to Handle Dialog Box thru AFS?
is there any solution?
mark_h
24th November 2014, 15:00
What do you mean - 'handle the dialog box'? For AFS everything is run in the background as a subprocess and basically you send data to it and process the data.
vamsi_gujjula
24th November 2014, 16:05
Mark... dialog box is part of ERPLN
where one can create can create sub-form ( from 4GL script using dialog functions) .. this form pops up when code is executed ( similar to FIND pop up box... but customized as we want )
mark_h
24th November 2014, 23:12
Thanks Vamsi - I will step aside and let a LN person answer this question.
sam291091
25th November 2014, 09:09
Hi Vamsi,
Is there any solution for handling or skip dialog box thru AFS?
bhushanchanda
25th November 2014, 09:13
Hi,
Is the session customized? If yes, then there could be other ways to deal with this.
I guess you can skip the dialogue execution and directly pass the values to the session and execute the required process considering that the session you are running is a customized one.
You might need some customization on both the sides.
sam291091
25th November 2014, 10:09
Hi bhushanchanda,
This is not customized session. it is production order standard session.
kevalghelani
25th November 2014, 10:17
I think you are facing problem in rework production order , whenever rework check box tick then standard pop up one dialogue for asking "rework reason" which are not handle through afs.
sam291091
25th November 2014, 10:21
Hi kevalghelani ,
Yes you right but is there any solution ?
kuldeepsharma
17th December 2014, 21:58
Hi, Have you tried to handle the dialogue box by using
stpapi.handle.subprocess with the parameter kill
sam291091
22nd December 2014, 05:41
hi kuldeepsharma,
Yes i tried but still not working, Do you have another solution for this?
Ankita Patel
22nd December 2014, 07:46
The script having functions like dialog.new,dialog.show...etc to generate dialog box.. I dont think it is handled by AFS..
sam291091
23rd December 2014, 07:16
hi Ankita Patel,
I think you right, we can not handle this thru afs so finally we have done this thru dal.update