• Changes in Sidecar model not reflected in Sugar bean

    I have a requirement where a field called resource_rate_actual has be set equal to one of several fields, depending on the value selected in a dropdown. I've set it up in record.js view controller like this: initialize: function (options) { this._super…
  • Why call bean->save() in before_save logic hook?

    The documentation on before_save logic hooks states that "calling save on the bean in this hook will cause an infinite loop if not handled correctly". I'm curious, what are the circumstances when you would need to call save on a bean in a before_save…
  • Using SugarBeanApiHelper with relationships

    Can someone offer advice our point me to some documentation Im trying to retrieve a contact and there related account details, I dont want to retreive everything as I only need selected fields and also want to reduce overheads. I can get this doing an…
  • BeanCollection not in Sugar documentation

    I'd like to bring attention to a Sidecar function called createBeanCollection . I found it to be very useful for loading multiple Sugar records from a single module, as described well in Angel Magana's blog . The problem is that it is not mentioned in…