Copy from document especific
I have a UF that opens the delivery prices copy the BP and click Copy from Goods Receipt, but I need to select a specific document from the list as it could be done:

Thanks for the help.-
Hey Jeisson, here's my take on it.
I assume that the button on the Goods Receipt is associated with a Macro UF. On the first line of that macro, store the document number in @STORE1. When the macro opens the "Copy From" on the Delivery window, add a step that pastes the @STORE1 value in the search field and then click "Select".
This way you can copy from the related document.
The code is:
@STORE1 = $[$8.0.NUMBER] Activate(2310); Transfer($[$4.0.0]|$[$3.0.0]); Set($[$10000104.0.0]|Goods Receipt PO); //Change with language specific value
Activate(); Set($[$6.0.0]|@STORE1); Click($[$1.0.0]);I couldn't find a way to use the CopyFrom() command for some reason. If any of you knows why I'd be happy to know!
Cheers
Luca
-
Hi Luca,
thank you very much for your help.
Please sign in to leave a comment.
Comments
2 comments