|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > Database > DeleteDocument |
Deletes the document (record) with the assigned unique id.
It also keeps track of the parent-child relationships.
call DBWShell("DeleteDocument DocUID [okReleasedDatabase]")
DocUID |
unique id of the document to delete |
|---|---|
okReleasedDatabase |
Optional. |
Please note this command deletes the record only, so no action will be taken on the files.
To delete files please refer to DeleteFile command
'delete document with unique id 84
DBWShell("DeleteDocument 84")