Custom Bean File Parent::save help please!
Hi there,
We have some custom modules. Module A is one-to-many Module Z, such that there is a listview of Module Z present in Module A.
Now, we have some Custom Bean work being done in the {module}.php file of Module A, extending the module_sugar class. In that we have:
Code:
function save($check_notify = FALSE) {
// Some logic here
parent::save;
} This custom logic works well. However, when we try and add an entry of Module Z to Module A, the data for Module Z is saved, but the relationship between the two is not stored.
If we remove the custom Save, the relationship saves properly. So, do we have to manually update/save the relationship in this case, or is there a function that I can fire that will handle this for us?
Sugar 6.XX Pro Onsite
Apache 2.0, PHP 5.25, mySQL 5.0
64-bit OS, Red-Hat, 16G ram, dual quad core.
xcache op-code cache, mod_deflate, memory_limit = 360M, max_execution_time = 120
> 40 users, ~500,000 leads, same #opps, 1 account, 1 contact, 2M calls.
Bookmarks