This method is used to assign a document to another application object. The ID of the application object and the document ID of the document that is to be assigned are transferred.