Skip to main content
February 14, 2025
Solved

BR Error Version 8.5 from Version 7.4

  • February 14, 2025
  • 4 replies
  • 1 view

Hello OS Community -

We are in process of testing 8.5 version upgrade and running into below error on one of the BR, looking for solution any help is appreciated.

Error at line 963:  Overload resolution failed because no accessible 'GetMemberInfo' is most specific for these arguments:
    'Public Overloads Function GetMemberInfo(si As SessionInfo, dimTypeId As Integer, memberName As String, [includeProperties As Boolean = False], [dimDisplayOptions As DimDisplayOptions = Nothing], [memberDisplayOptions As MemberDisplayOptions = Nothing]) As MemberInfo': Not most specific.
    'Public Overloads Function GetMemberInfo(si As SessionInfo, dimTypeId As Integer, dimNameOrEmpty As String, includeInheritedDims As Boolean, memberName As String, [includeProperties As Boolean = False], [dimDisplayOptions As DimDisplayOptions = Nothing], [memberDisplayOptions As MemberDisplayOptions = Nothing]) As MemberInfo': Not most specific.



 

Best answer by TechTitan

The last two fields: DimDisplayOptions and memberDisplayOptions, you can leave those blank as they are optional. Meaning try this: BRApi.Finance.Members.GetMemberInfo(si, DimTypeID.Account, checkAcct, True).



 

4 replies

TechTitanAnswer
February 14, 2025

The last two fields: DimDisplayOptions and memberDisplayOptions, you can leave those blank as they are optional. Meaning try this: BRApi.Finance.Members.GetMemberInfo(si, DimTypeID.Account, checkAcct, True).



 

February 14, 2025

Thank you very much TechTitan that resolved errors on most of the BR, can you please help with below if you have some insight 

 

Error compiling Business Rule 'ACM_SolutionHelper'. 

1) Error at line 2507:  'DataManagement' does not contain a definition for 'GetProfileUsingName' and no accessible extension method 'GetProfileUsingName' accepting a first argument of type 'DataManagement' could be found (are you missing a using directive or an assembly reference?) 

2) Error at line 2512:  'DataManagement' does not contain a definition for 'DeleteProfile' and no accessible extension method 'DeleteProfile' accepting a first argument of type 'DataManagement' could be found (are you missing a using directive or an assembly reference?) 

3) Error at line 2944:  There is no argument given that corresponds to the required parameter 'populateDataMgmtGroupInfo' of 'Dashboards.GetMaintUnitInfo(SessionInfo, bool, Guid, bool)' 

4) Warning at line 121:  'IBRApiDashboardsParameters.SetLiteralParameterValue(SessionInfo, bool, string, string)' is obsolete: 'This is a temporary function used by Marketplace Solutions for backwards compatibility with old XF versions. Please change your code to use supported functionality.' 

February 14, 2025

Seems like your rule is not configured properly. check the main section and see you have all the functions properly configured, values are properly passed and function such as SetLiteralParameterValue is passed correct paramerters. 

February 14, 2025

Thanks for the reply, noticed ACM_SolutionHelper business rule is Encrypted. Looks like OS code can these be updated any way.

February 14, 2025

If these errors are coming from ACM, then try installing the newer ACM version, that would help clear these errors out. 

February 14, 2025

Thank you TechTitan