The provider the CDO transaction was created by.
object.CreatedBy
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCDOTransaction interface |
Display some information about the CDO transactions, including the full names of the providers they were created by.
Dim aPatient
Dim aFilter
Dim aCDOTransactions, aCDOTransaction
Dim aCreatedByProvider
Dim aMessage
Dim i
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateCDOTransFilter
aFilter.PatientId = aPatient.Id
set aCDOTransactions = Profile.LoadCDOTransactions(aFilter)
aMessage = "CDO Transactions Count = " & aCDOTransactions.Count & vbNewLine
for i = 0 to aCDOTransactions.Count - 1
set aCDOTransaction = aCDOTransactions.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ") " &_
"Created on: " & aCDOTransaction.CreatedOn & vbNewLine &_
" Code: " & aCDOTransaction.Code & vbNewLine &_
" ID: " & aCDOTransaction.ID & vbNewLine &_
" GUID: " & aCDOTransaction.GUID & vbNewLine &_
" DisplayDate: " & aCDOTransaction.DisplayDate & vbNewLine
set aCreatedByProvider = aCDOTransaction.CreatedBy
if not aCreatedByProvider is nothing then
aMessage = aMessage & " Created By: " & aCreatedByProvider.FullName & vbNewLine
end if
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Created By can be found in
.