SysFileStoreManager.deleteFile Method [AX 2012]
Deletes the SysFileStoreFile record indicated by the _sysFileStoreFileIdparameter.
Syntax
public void deleteFile(RefRecId _sysFileStoreFileId)
Run On
Server
Parameters
- _sysFileStoreFileId
Type: RefRecId Extended Data Type
A Record ID that points to the SysFileStoreFile record to be deleted.
Exceptions
Exception | Condition |
---|---|
Error | The record to be deleted does not belong to the active SysFileStore record. |
Remarks
Before performing any updates, this method asserts that the current user is the owner of the actual record.