Article Details
Id:12391
Product:finPOWER Connect
Type:NEW
Version:2.02.03
Opened:07/08/2014
Closed:17/11/2014
Released:04/12/2014
Job: J013761

Business layer functionality added to load record using External Id

A LoadExternalId method has been added to the following objects to allow them to be loaded using the record's ExternalId:

  • finAccount
  • finClient
  • finSecurityStmt

The following helper functions have also been added:

  • finAccountFunctions.GetAccountIdFromExternalId
  • finAccountFunctions.GetAccountPkFromExternalId
  • finClientFunctions.GetClientIdFromExternalId
  • finClientFunctions.GetClientPkFromExternalId
  • finSecurityStmtFunctions.GetSecurityStmtIdFromExternalId
  • finSecurityStmtFunctions.GetSecurityStmtPkFromExternalId

The above functions will not fail if no match was found on the External Id; they will return a blank String or zero depending on whether an Id or primary key was being looked up.