Macro - How to check if question about no VAT code will appear? Respondida

David Erkelius

Hi, for example, if the AP is registrated as EU customer with no tax to pay (EV) and if the customer have shipping adresses and if some of these adresses not have the VAT-no registrated the question "No VAT code, continue?" appaers when you press "Update". So how can I in a simple way in the macro check if the question will appear so I know if I need to add AutoPressNextPopup() in the before  Click($[$1.0.0]) 

 

Regards

David Erkelius

Comentarios

3 comentarios

  • Comment author
    Yaremi Miranda Lopez
    • Comentario oficial

    Hello David,

    You don't need to create a Macro, you can just select this column as mandatory. Basically this is a grid.

  • Comment author
    David Erkelius
    • Editado

    OK, but that isnt what I am doing with the macro, in the macro I just want to know if I need to use AutoPressButton or not, because after the Update the macro continues.


    I can´t set it mandatory becuase some customer have pays VAT and have no VAT-no.

     

    /David

    0
  • Comment author
    Yaremi Miranda Lopez

    Hello David, 

    You can use the same module, just mark the Warning Only column and the question you want will appear.

     

    0

Iniciar sesión para dejar un comentario.