====== SetDocumentSubType ====== Changes the subtype of the source document in the database. This function should therefore not be called several times in a loop. Prerequisites are: * the specified subtype must exist in the same repository in which the current type of the document is defined and * the subtype searched for must be defined with the same entity type. The subtype is then set on the document and the subtype is written to the frame variable 'eBiss.DocumentVars.DocumentSubType'. ==== Syntax: ==== SetDocumentSubType () ==== Beispiel: ==== SetDocumentSubType("MySubType"))