I need some coding advice in Sugar 5.2.0c such as:
1. I need help forcing a refresh to the parent page from selecting or deleting a contact from the project task. I added where you can select contacts and attach them to a project task. The contacts are being added fine and I also have logic that adds a counter to a custom field under project task. The counter is based upon the # of contacts being selected or created for a project task. I have the counter working fine. The issue is the counter is on the Project Task detail screen. The value doesn't get refreshed unti I do a F5 to refresh the page -however the value is set right in the database. My custom logic is in a logic hook after the retrieve of project task. Is it possible to put a refresh in the logic hook, so that the project task is automatically refreshed after the logic?
2. I also want to be able to check to custom fields from Project Task. If the counter >= needednumber then I don't want to show the contact - create and select buttons from the subpanel.
I see where the subpanel logic is for the create and select buttons. How do I check for the custom fields in Project Task to not show the create and select button?
I am running Sugar CE 5.2.0c on Windows Vista with the Apache Stack Installer.
Thanks for your help!


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks