With this function it is possible to prevent the current user (SYUNAME) automatically being entered as the sender of a document. A different sender can be specified instead.
Activities
When creating a document, the required owner must be specified using the import parameter Owner of the Create method.
Before the document is sent, the required recipient must be specified using the import parameter Sender of the SetNextSender method (Sender = Handle for a BOR object, for example, a Recipient object).