This function saves the created approval.
object.Save
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISApproval interface |
Add a new approval, save it and display its ID.
Dim aPatient
Dim aNewApproval
Dim aApproval
Set aPatient = Profile.SelectPatient
set aNewApproval = Profile.CreateApproval
aNewApproval.Date = #09/09/2019#
aNewApproval.Description = "blooo"
aNewApproval.PatientId = aPatient.Id
aNewApproval.Save
set aApproval = Profile.LoadApproval(aNewApproval.ID)
Profile.MsgBox("ID of the created approval is " & aApproval.ID)
In Profile Client v8 on User Interface Approvals can be found in
or in .