ID of the created letter.
object.SavedLetterID
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISLetterWorkParams interface |
int
Print the letter for the selected patient and display the printing result.
Dim aPatient
Dim aParam
Set aPatient = Profile.SelectPatient
set aParam = Profile.CreateLetterWorkParams
aParam.PatientId = aPatient.Id
aParam.Template = "All Categories\Template 1"
aParam.Date = DateAdd("yyyy", -5, Now)
Profile.GenerateAndPrintLetter(aParam)
Profile.MsgBox("Saved Letter ID: " & aParam.SavedLetterID) In Profile Client v8 on User Interface Letter ID cannot be found.