Article Details
Id:19253
Product:finPOWER Connect
Type:FIX
Version:3.04.04
Opened:30/05/2022
Closed:30/05/2022
Released:09/06/2022
Job: J028871
Breaking Change

Business Layer; finCostCentreFunctions.GetDefaultBranchId() method; Returns blank if User doe not have a default Branch configured

The Business Layer finBL.CostCentreFunctions.GetDefaultBranchId() method was returning blank if the User did not have a default Branch configured.

Internally, this has been updated to use:

mApplication.SettingsUser.DefaultClientBranchIdResolved

instead of:

mApplication.SettingsUser.DefaultClientBranchId

Although this function may still well return blank, it makes more sense to use the "Resolved" function since it caters for situations such as the database not being licensed for the Branches Add-On.