Article Details
Id: | 10145 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 1.05.07 |
Opened: | 11/06/2012 |
Closed: | 12/06/2012 |
Released: | 15/06/2012 |
Job: | J009795 |
Application Shortcuts can now be run from business layer
Application Shortcuts can now be run from business layer.
Previously, Scripts needed access to a special 'User Interface' object to be able to execute Application Shortcuts.
The following is an example of a 'General' type Script executing an Application Shortcut:
Public Function Main(ByVal parameters As ISKeyValueList) As Boolean
Main = finBL.ExecuteApplicationShortcutUrl("FormShow?form=Clients&id=C10000")
End Function
NOTE: If the Script (or the process it is being called from) is in a Database Transaction, Application Shortcuts will be queued and executed once the Transaction has been committed or, if the Transaction is rolled back, never executed.