B1UP Macro and TransferBack Respondida

Robert Semborski

Hi Experts,

I prepared the following macro, which I run in B1 Validation when I click on the appropriate field of the standard form (133,139,140).

 

Activate(@SC_SUBITEM);
AutoPressNextPopup();
Activate(1281);
Transfer($[$38.1.0]|$[$0_U_E.0.0]);
SendKeys({ENTER});
TransferBack($[$0_U_G.C_0_3.0.SELECTED]|$[$38.U_Odcinek1.0]);



The macro opens the user's window (UDO), in which I want to choose a row and the appropriate value from this line should be passed back to the appropriate field in the standard form.
This macro returns me the value from the first row. Is it possible to return a value from the indicated row?

Regards,

Robert S.

Comentarios

4 comentarios

  • Comment author
    Thomas
    • Comentario oficial

    Hi Robert,

    Please share screenshots from how it works now and how you would like it to work. That way it's easier to understand. For example mark the row that it's transferring and the row that it should transfer. Also state how can we determine automatically what row needs to be transferred.

    Best regards,

    Thomas

     

  • Comment author
    Robert Semborski

    Hi Thomas,

    from sales order in 'Odcinek' column after click is open window (UDO - Struktura odcinka)

     

    I want select second row with quantity 1.0 ('w magazynie' = OnHand) and put into highlighted field.

    Regards,

    Robert

    0
  • Comment author
    Thomas

    Hi Robert,

    Now i only need to know how the system should know that it's the second field you want to transfer back? You can't unfortunately stop the macro and select the row and then start going through the macro again.

    Best regards,

    Thomas

    0
  • Comment author
    Robert Semborski

    Hi Thomas,

    I understand. I thought there was some solution to this problem. I am looking for other ideas to solve the problem described here: https://support.boyum-it.com/hc/en-us/community/posts/360000536607-One-item-in-several-units-of-measure-

    Regards,

    Robert

    0

Iniciar sesión para dejar un comentario.