Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

How to copy Files from one dir to another dir inside AX

$
0
0

I need to copy specific documents from production to a testing environment. Is their a way to do this in AX?   Something like:

DocuRef DocuRef;

Str  copyStr;

;

While select DocuRef

{

if<do the needed test>

{

copyStr = ‘\\\\SLCAXDOCS\\AxAttachments\\Prod\\akr\\’ + docuRef.Name + ‘.’ + docuRef.TypeId +

                     ‘,\\\\SLCFS01\\AxAttachments\\Dev\\akr\\’ + docuRef.Name + ‘.’ + docuRef.TypeId

Execute cmd (copyStr)????????????

}

}

Thanks

Abraham Z.


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>