Forum Discussion

Yaseen's avatar
Yaseen
New Contributor III
9 days ago
Solved

BR Error Version 8.5 from Version 7.4

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.

 

  • 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).

     

  • TechTitan's avatar
    TechTitan
    New Contributor II

    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).

     

  • Yaseen's avatar
    Yaseen
    New Contributor III

    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.' 

  • TechTitan's avatar
    TechTitan
    New Contributor II

    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. 

    • Yaseen's avatar
      Yaseen
      New Contributor III

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

  • TechTitan's avatar
    TechTitan
    New Contributor II

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