Saltar al contenido principal

Update Documents from SQL Report/Query

Comentarios

7 comentarios

  • Support

    You could try adding an interactive check box to the query, then place a button that runs a line loop UF to update the UDF for the selected lines?

  • Geoff Booth

    Do you have some sample data to help visualize what you are trying to do?

    Are you trying to update multiple records with the same value?

    Is the value you are trying to update obtained with an SQL query.

     

    Adding the checkbox as Support suggested is definitely workable.

  • Carla van Zyl

    Currently we have a button that is opening up opel sales orders that our logistics team need to update/allocate trucks. 

    To do that they need to go into each sales order and update the udf. I want to make it that they can input the pallet count and Truck onteh SQL report and then the input data needs to update the UDF's on the relevant Sales order

     

     

  • Geoff Booth

    Two options (similar):

    Good luck.

  • Carla van Zyl

    Thanks for advice. Will give it a go!

  • Carla van Zyl

    Hi Geoff Booth 

    Just an update, the while loop worked. Thanks for the help. 

    Just one more question, is there a macro function where I can block pop up messages to save or any other prompts to be blocked while the macro runs? 

  • Geoff Booth

     

    Glad you are making progress!

    Yes - as long as you know  which ones are popping up:. See Boyum help as they must be placed in the macro just before they are needed

    AutoPressNextPopup(); -- most common

    AutoPressNextPopup($[$<item>.0.0]); -- special cases

    AutoPressNextPopup($[$<item>.0.0]|timeout); -- special cases

     

Iniciar sesión para dejar un comentario.