Method Community

 

Class table doesn't support edit

Last post 10-20-2016 3:00 PM by rgatton. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 10-11-2016 3:18 PM

    Class table doesn't support edit

    Beginning 9/15, we started seeing errors in our logs when trying to update classes through the API indicating that the table doesn't support edit. Was there a change to the API to disallow edit of that table? It looks like it used to be supported.

  • 10-14-2016 3:24 PM In reply to

    Re: Class table doesn't support edit

    Hi rgatton,

    Sorry for the late response. The Class table does indeed support adds and edits both via Method UI and the API. It could be that you're attempting to modify a locked field on the table. Can you post back with the fields that you're attempting to update?

    --Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 10-14-2016 3:49 PM In reply to

    Re: Class table doesn't support edit

    The list of fields I'm updating is: Name,IsActive,TenantID

    The strange thing is, I have a personal Method account and when I perform a MethodAPITableListV2 operation on that account, it has [SupportsEdit]=true for the Class table. But when I do that operation for one of the accounts where the update is failing, it's showing [SupportsEdit]=false.

    Is there a setting somewhere in Method where the admin could have overridden the Class table not to allow edit? Could the fact that it's multi-tenant accounts be the reason?

  • 10-18-2016 5:38 PM In reply to

    Re: Class table doesn't support edit

    Hi rgatton,

    I believe the issue you're having is that the TenantID field is locked. This is standard for all accounting tables (tables that sync with QuickBooks), as changing this will certainly cause issues with your sync.

    If you want to add data to a specific tenant, you should be specifying that tenant name in the strCompanyAccount field. I hope this helps.

    --Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 10-19-2016 1:08 PM In reply to

    Re: Class table doesn't support edit

    I tried submitting the same update requests without the TenantID field (just passing the Name & IsActive fields), and getting the same error about the table not supporting edit.

    Is there anything else I can try?

    I don't understand why if the table is supposed to support edit, it is reporting that it doesn't when I run MethodAPITableListV2.

  • 10-19-2016 1:17 PM In reply to

    Re: Class table doesn't support edit

    Hi rgatton,

    Can you email me your company account name so that I can take a look?

    --Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 10-19-2016 2:51 PM In reply to

    Re: Class table doesn't support edit

    Hi rgatton,

    I just sent you an email with more details, but I've had to create a ticket with our development team for this. I'll keep you posted on the status here.

    --Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 10-20-2016 12:21 PM In reply to

    Re: Class table doesn't support edit

    Answer

    Hi rgatton,

    Thanks for your patience. Our development team has corrected the flag on your Class table and you should now be able to edit classes via the API. Please give this a try and post back with the result.

    Thank you.

    --Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 10-20-2016 3:00 PM In reply to

    Re: Class table doesn't support edit

    Excellent! It's working now. Thank you so much for your help.

Page 1 of 1 (9 items)