I read the document about "Custom Bean Files"
it has a function:
PHP Code:
function save($check_notify = FALSE) {
global $current_user;
$this->description .= "\nSaved on ".date("Y-m-d g:i a"). " by " .$current_user->user_name;
parent::save($check_notify);
}
the above function can update the description in the same module,
Does it mean I have to do the same thing in opportunity form?
for example,
< after the user clicked the "SAVE" button in opportunity form >
PHP Code:
function save($check_notify = FALSE) {
$this->product_price = ??????;
parent::save($check_notify);
}
But ....
1. How can I retrieve other module's value ("price" in Products module) and put into opportunity module?
2. Where should I put / insert this script?
Thanks
Sam
Bookmarks