Transfer Invoice # to Landed Cost AP Invoice chooser
RespondidaI am creating a new Landed cost record via button on AP Invoice. I need to pass the invoice number to the Landed cost form. But as soon as the landed cost form opens, it then opens the List of invoices to choose from. So the previous form is no longer the invoice where I need to get to the invoice #. I did a work-around where I Transferred the Invoice Number to the landed cost ref field, then from there to the list of invoices.
I thought there was a better way by setting a variable, but cannot find that.
Thanks in advance.
-
Comentario oficial
Hello Randy,
I already answer in the previous question but here is again:
Hello Randy, you need to extend your Macro and need to store the document number since you can't transfer from one first window to a third one because you loose the value.
@STORE1=$[$8.0.NUMBER]; //Stores Document number
Activate(2310); //Opens landed cost
Transfer($[$4.0.0]|$[$3.0.0]); //Copia SN //Copies BP
Set($[$10000104.0.0]|A/P Invoices); //Select AP Invoices from Button, this is like a Combobox
Activate();
Set($[$6.0.0]|@STORE1); //Find document
Click($[$1.0.0]); //Click on Choose button
Iniciar sesión para dejar un comentario.
Comentarios
1 comentario