Universal Function SQL Report - Goldern Arrow To Open UDO Document Respondida

Chris Fawcett

Hi All

We have just had Boyum Installed so I am still finding my way around?

 

I need a golden arrow in an SQL report created using a UF to open the corresponding UDO document.

So far I have created the SQL Report using a UF and assigned another UF to the Golden Arrow using a UF Macro which activates the UDO, but this does in new mode and not search mode. Please help?

Comentarios

3 comentarios

  • Comment author
    Rasmus Jensen

    Hi Chris.

     

    I've moved your question here away from Feature request and over to "Questions and Answers".

     

    You are on the right track here, you just need to use the right Macro Command.

    What you need is the "OpenForm" command documented here: https://help.boyum-it.com/B1UP/macro.html

     

    For object type, you need to use the defined code of the UDO when you registered it. For Key you need to use $[$BOY_1.<your colUidThatHoldTheUdoKey>.0]

    0
  • Comment author
    Rasmus Jensen

    Alternative you can also fully script it.

    Something like this:

    Activate(<you udo menuitem>);
    Activate(1281); //Switch to find mode by pressing that menuitem
    Transfer($[$BOY_1.<yourCol>.0]|$[$<itemforYourDoc>.0.0]); //Move the ODO number over
    Click($[$1.0.0]); //Press the Find button

    0
  • Comment author
    Chris Fawcett

    Hi

     

    Thanks Rasmus, with a bit of a struggle this has worked.   Just to note for anyone else with this problem your object type and column id are case sensitive.

     

    Many Thanks

     

    Chris

    0

Iniciar sesión para dejar un comentario.