Sage X3 has a special feature of moving a file from one directory to another. The Sage X3 has a simple function through which we can easily move the file present in the specified directory to the specified location.
New Stuff : Opening Java Bridge Connection through code
MOVE: This function can be used to move the file present in the directory. This function present in the ORDSYS standard processing file. We can access it using a function.
Syntax:
Call MOVE (PATH, DESPATH, STAT) From ORDSYS
Parameter Details:
• PATH: The path where file is located.
• DESPATH: The path where file is to be moved.
• STAT: It status of file.
Points to be noted;
• Filename should not contain any blank spaces.
• Folder name should not have any Blank spaces.
Kindly refer to the below snippet of code for better understanding the COPSRV
Function :
Also Read :
1) List the files from the directory
2) Reading and Writing into sequential file
3) Delete Folder in Sage X3
4) Data Integration In X3
5) How to reconfigure Sage X3 solution after changing the computer name/domain