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.