Article Details
Id:13156
Product:finPOWER Connect
Type:NEW
Version:2.03.01
Opened:28/07/2015
Closed:28/07/2015
Released:07/08/2015
Job: J015985

finAccountCalculationScheduleItem object; AccountLogPk property is now publically available.

The property "AccountLogPk" on the finAccountCalculationScheduleItem object is now publically available.

This is the Statement Account Log that the transaction appears on, and is mainly used for Revolving Credit Loans where a Statement creates a Minimum Payment. Note, 0 indicates this transaction does not appear on a Statement. -1 indicates this will appear in a future Statement.

The following code shows how this might be used in the Account Statement event script.

  Dim AccountCalcScheduleItem As finAccountCalcScheduleItem
  Dim AccountStatement As finAccountStatement

  For Each AccountCalcScheduleItem In AccountStatement.AccountCalculationSchedule
    If AccountCalcScheduleItem.Date <= AccountStatement.StatementDateTo Then
      If AccountCalcScheduleItem.AccountLogPk = 0 Then 
        ' Transaction not yet on a Statement
      End If  
    Else
      Exit For
    End If
  Next