Article Details
Id:12543
Product:finPOWER Connect
Type:NEW
Version:2.02.04
Opened:23/12/2014
Closed:23/12/2014
Released:13/02/2015
Job: J014706

New business layer function to set or clear Form History list

A new business layer function had been added to set or clear the "History" list for a finPOWER Connect Form, e.g., the Accounts form.

The new function can be accessed by Scripts as follows:

Dim HistoryList As ISCodeDescriptionList

HistoryList = finBL.Runtime.CreateCodeDescriptionList()
HistoryList.Add("LXXXXX", "Test")

' Set History List
finBL.SetFormHistory("Accounts", HistoryList)

' Clear History List
finBL.SetFormHistory("Accounts", Nothing)

WARNING: Use this method carefully since it could be confusing for Users if a form's history list is cleared or updated to an unexpected value.