• Calculated Fields not updating on $bean->save()

    Hi all. I've been racking my brain on this one now, I tried $bean->updateCalculatedFields(); but it's not working. Currently I am filling in missing records, so I am creating: Lead -> Contact/Account -> Opportunity -> Meeting, they all have a "unique…
  • How to filter through records using bean factory

    Hello Sugar Developer Community I am having difficulties accomplishing the following -- Entrypoint :: create leads JSON is sent over and the creation of the lead is underway I am passed a value that would represent a company name to place into a company…
  • Advanced Workflow not triggering when saving a record on an Entry Point

    Hello, I have created a custom button that sets a flag on a module. This flag activates an Advanced Workflow (That will have an approval process). The entry point works fine if the workflow is not active (calling it by navigating to < myInstance/index…
  • How do you logout a user from the server in PHP?

    I want to create a customisation that logs users out after a certain time of inactivity since closing Sugar in their browser (e.g. log out at night). I need this separate from Oauth token lifetimes so that APIs and the Outlook Plugin can still be configured…
  • How do can I get a field from the current user in an entry point?

    Greetings, I added a custom field to the Users and through research I found out that I can get that field by using something like: <?php global $current_user ; $fieldData = $current_user - > my_field_c ; I tested this out on my local instance and it worked…