cancel
Showing results for 
Search instead for 
Did you mean: 

Removing Drafts

Former Member
0 Kudos

The DI API documentation regarding the Remove method on the Documents object reads...

<b><i>
     Not supported.

     SAP Business One does not allow to remove a document object from the database.
</i></b>

Does this mean that the Remove method would not work and should not be used for "Drafts", which are also of type Document. Will the Remove method itself be eliminated in future SDK releases? If Drafts are no longer needed, or invalid, how does SAP expect me to clear them out of the system?

Accepted Solutions (1)

Accepted Solutions (1)

barend_morkel2
Active Contributor
0 Kudos

There is a .Remove method on the document object. If the document is only a draft you should be able to remove it using "YourDocName".Remove()

Answers (0)