Auto Increment field - SugarServe OnDemand

I've been trying to implement an auto-incrementing field as per https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_10.2/Cookbook/Creating_an_Auto-Incrementing_Field/index.html

Following the guidance I've tried to deploy the class and method that the logic hook will call, but I cannot deploy to the folder custom/modules/Accounts/Accounts_Save.php - the module loader returns an error when i try to install the package.

Does anyone know the correct path to install this to when using OnDemand?

Parents
  • Hi Levi, I don't know the answer to your question but did want to just mention that Sugar Serve 10.2 introduced an AutoIncrement field type that can be used directly in Studio. See the Studio documentation for details on the field type.

    I just wanted to bring it up because your description says Sugar Serve, and was wondering if this could be a possible alternative solution for you.

    Otherwise, please feel free to disregard. Slight smile

    -Brenda

Reply
  • Hi Levi, I don't know the answer to your question but did want to just mention that Sugar Serve 10.2 introduced an AutoIncrement field type that can be used directly in Studio. See the Studio documentation for details on the field type.

    I just wanted to bring it up because your description says Sugar Serve, and was wondering if this could be a possible alternative solution for you.

    Otherwise, please feel free to disregard. Slight smile

    -Brenda

Children
  • Hi Brenda- thanks for your response. We've looked at the autoincrement field type but there seems to be no way that we can migrate data from the previous CRM system into such a field.