Article ID: 130112, created on Jan 5, 2017, last review on Jan 5, 2017

  • Applies to:
  • Business Automation 7.0
  • Business Automation 6.0

Symptoms

Attempt to call SalesPersonAccountSet_API or SalesBranchAccountSet_API with xmlrcd autorization enabled fails with "No access rights granted to method" even though admin user is used.

Cause

The issue is caused by the bugs #PBA-78156 ("Error "No access rights granted to method" when execute API method SalesBranchAccountSet_API") and #PBA-77866 ("Error "No access rights granted to method" when execute API method SalesPersonAccountSet_API").

Resolution

Until the bug is fixed a workaround below can be used:

  1. make a backup of existing /usr/local/bm/conf/BM.methods.list
  2. edit the BM.methods.list

    add

    BM SalesPerson SalesPersonAccountSet_API ACCOUNTS_CREATE_MODIFY
    

    (after BM SalesPerson SalesPersonGetSalesPersonList ORDERS_CREATE)

    and

    BM SalesBranch SalesBranchAccountSet_API ACCOUNTS_CREATE_MODIFY
    

    (after BM SalesBranch SalesBranchGetSalesBranchList ORDERS_CREATE)

  3. run /usr/local/bm/tools_py/configure.py (OA 7.0) or /usr/local/bm/tools/configure.pl (OA 6.0.x)

  4. restart BA

    service pba restart
    

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 3627d36199b8ff577605df76e2fa222b bb7e9177fb03488961a3ea554120f328 c0f836394088a28cc30dd0e5fe8b600e b2c3b33425dfc50c7d41a2efaa7f84f3

Email subscription for changes to this article
Save as PDF