AutoPressNextPopup() not working for Document type UDO Respondida

Balakumar Viswanathan

Hi Team,

Following macro is working perfectly fine except AutoPressNextPopup() line. Eventhough with that line, I'm not getting any error message instead i have to acknowledge the system message.

Activate(47619); //Activate Tracking screen 
Activate(1281); //Find Mode
AutoPressNextPopup();
Set($[$1_U_E.0.NUMBER]|@STORE1); //Transfer DocEntry
Click($[$1.0.0]); // Click Find button

47619 is an UDO screen with Document type.

As soon as changing the mode to FIND, system message pops up as below https://goo.gl/jJAsCd 

Comentarios

2 comentarios

  • Comment author
    Yaremi Miranda Lopez
    • Comentario oficial

    Hello Balakumar,

    In this case is because this command needs to be before the event that is going to show the popup, change the macro like this:

    Activate(47619); //Activate Tracking screen 
    AutoPressNextPopup();
    Activate(1281); //Find Mode
    Set($[$1_U_E.0.NUMBER]|@STORE1); //Transfer DocEntry
    Click($[$1.0.0]); // Click Find button
  • Comment author
    Balakumar Viswanathan

    Hi Yaremi,
    It worked... Thanks..

    0

Iniciar sesión para dejar un comentario.