This documentation is archived and is not being maintained.
RetailConnSCRecIDBulkCopy.BeginReceivingDataFile Method [AX 2012]
Method creates a uniquely named, zero byte temporary file on disk and stores the full path of that file to string variable.
And also creates object for System.IO.FileStream with the file path, File mode as 'create' and File access as 'write'.
public void BeginReceivingDataFile()
Run On
Server
| Exception | Condition |
|
Error
|
Throws error if fail to create the file path or file stream.
|
System.IO.Path, performs operations on String instances that contain file or directory path information.
System.IO.FileStream, exposes a Stream around a file, supporting both synchronous and asynchronous read and write operations.