This function sings the interest copy of the CDO transaction.
object.SignTransactionInterestCopy
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCDOTransactionInterestCopy interface |
Sign the unsigned interest copies of the CDO transactions and display some information about them.
Dim aPatient
Dim aFilter
Dim aCDOTransactions, aCDOTransaction
Dim aCDOTransIntCopies, aCDOTransIntCopy
Dim aSignedInfo
Dim aMessage
Dim i, j
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 & "- The CDO transaction was created on: " &_
aCDOTransaction.CreatedOn & vbNewLine
set aCDOTransIntCopies = aCDOTransaction.InterestCopies
aMessage = aMessage & vbNewLine &_
"Interest Copies Count = " & aCDOTransIntCopies.Count & vbNewLine
for j = 0 to aCDOTransIntCopies.Count - 1
set aCDOTransIntCopy = aCDOTransIntCopies.Item(j)
if not aCDOTransIntCopy.IsSigned then
aCDOTransIntCopy.SignTransactionInterestCopy
aSignedInfo = " Signed now" & vbNewLine
else
aSignedInfo = ""
end if
aMessage = aMessage & vbNewLine &_
" Interest Copy Information: " & vbNewLine &_
" GUID: " & aCDOTransIntCopy.GUID & vbNewLine &_
" ID: " & aCDOTransIntCopy.ID & vbNewLine &_
" Created On: " & aCDOTransIntCopy.CreatedOn & vbNewLine &_
" Modified On: " & aCDOTransIntCopy.ModifiedOn & vbNewLine &_
" Comment: " & aCDOTransIntCopy.Comment & vbNewLine &_
" Is Signed: " & aCDOTransIntCopy.IsSigned & vbNewLine &_
aSignedInfo
next 'j
next 'i
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface CDO Transactions can be found and sighed in
.aProviderID
removed in
v8.5.0aSignDT
removed in
v8.5.0