Transfer Invoice # to Landed Cost AP Invoice chooser
RespondidaI am creating a button on AP Invoice that opens up a new Landed Cost window and clicks the Copy from AP Invoice. The AP Invoice List is displayed. I trried both Transfer and Set to fill in the Invoice List with the AP Invoice number. Neither is working:
Set($[$6.0.0]|$[$8.0.0]);
Transfer($[$8.0.NUMBER]|$[$6.0.0]);
-
Comentario oficial
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