[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 /********************************************************************************* 2 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 3 * ("License"); You may not use this file except in compliance with the License 4 * The Original Code is: vtiger CRM Open Source 5 * The Initial Developer of the Original Code is vtiger. 6 * Portions created by vtiger are Copyright (C) vtiger. 7 * All Rights Reserved. 8 * 9 ********************************************************************************/ 10 11 document.write("<script type='text/javascript' src='include/js/Inventory.js'></"+"script>"); 12 13 function set_return(product_id, product_name) { 14 window.opener.document.EditView.parent_name.value = product_name; 15 window.opener.document.EditView.parent_id.value = product_id; 16 } 17 function set_return_specific(product_id, product_name, mode) { 18 19 //getOpenerObj used for DetailView 20 var fldName = getOpenerObj("salesorder_name"); 21 var fldId = getOpenerObj("salesorder_id"); 22 fldName.value = product_name; 23 fldId.value = product_id; 24 if(mode != 'DetailView') 25 { 26 window.opener.document.EditView.action.value = 'EditView'; 27 window.opener.document.EditView.convertmode.value = 'update_so_val'; 28 window.opener.document.EditView.submit(); 29 } 30 } 31 function set_return_formname_specific(formname, product_id, product_name) { 32 window.opener.document.EditView1.purchaseorder_name.value = product_name; 33 window.opener.document.EditView1.purchaseorder_id.value = product_id; 34 } 35 function set_return_todo(product_id, product_name) { 36 window.opener.document.createTodo.task_parent_name.value = product_name; 37 window.opener.document.createTodo.task_parent_id.value = product_id; 38 } 39
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |