ISInvoiceFilter.ChangedSince

Description

This filter property is used to load the invoices modified since the specified date.

Syntax

object.ChangedSince

Part Attribute Type Description
object Required
The object always implements the ISInvoiceFilter interface

Return Value

DateTime

Example

Display the number of the invoices loaded on the basis of the selected filter and some information about them.

Dim aFilter
Dim aInvoices, aInvoice
Dim aMessage
Dim i    

Set aFilter = Profile.CreateInvoiceFilter
aFilter.ChangedSince = #01/01/2000#
set aInvoices = aFilter.Load

aMessage = "Invoices Count = " & aInvoices.Count & vbNewLine

for i = 0 to aInvoices.Count - 1
  set aInvoice = aInvoices.Items(i)
  aMessage = aMessage & (i + 1) & ". " &_
    "Date: " & aInvoice.Date & vbNewLine &_
    "    ID: " & aInvoice.ID & vbNewLine &_
    "    GUID: " & aInvoice.GUID & vbNewLine &_
    "    Pos Code: " & aInvoice.PosCode & vbNewLine &_  
    "    Get DT Modified: " & aInvoice.GetDTModified & vbNewLine &_  
    "    Patient: " & aInvoice.Patient.SurnameFirstName & vbNewLine     
next    

Profile.MsgBox(aMessage)    
Note:

In Profile Client v8 on User Interface Changed Since cannot be found, but Invoices can be found in Financial > Audit Transactions > Invoices.

Version information

Added in v8.5.0