本文整理汇总了PHP中Accounts::setModuleSeqNumber方法的典型用法代码示例。如果您正苦于以下问题:PHP Accounts::setModuleSeqNumber方法的具体用法?PHP Accounts::setModuleSeqNumber怎么用?PHP Accounts::setModuleSeqNumber使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Accounts
的用法示例。
在下文中一共展示了Accounts::setModuleSeqNumber方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getRelatedNotesAttachments
getRelatedNotesAttachments($id, $crmid);
saveLeadRelatedProducts($id, $crmid, "Accounts");
saveLeadRelations($id, $crmid, "Accounts");
} else {
if ($accountname == '') {
$crmid = '';
} else {
$crmid = $adb->getUniqueID("vtiger_crmentity");
//Saving Account - starts
$sql_crmentity = "insert into vtiger_crmentity(crmid,smcreatorid,smownerid,setype,presence,createdtime,modifiedtime,deleted,description) values(?,?,?,?,?,?,?,?,?)";
$sql_params = array($crmid, $current_user_id, $assigned_user_id, 'Accounts', 1, $date_entered, $date_modified, 0, $row['description']);
$adb->pquery($sql_crmentity, $sql_params);
//Module Sequence Numbering
require_once 'modules/Accounts/Accounts.php';
$acc_no_focus = new Accounts();
$account_no = $acc_no_focus->setModuleSeqNumber("increment", 'Accounts');
// END
/* Modified by Minnie to fix the convertlead issue -- START*/
if (isset($row["annualrevenue"]) && !empty($row["annualrevenue"])) {
$annualrevenue = $row["annualrevenue"];
} else {
$annualrevenue = 'null';
}
if (isset($row["noofemployees"]) && !empty($row["noofemployees"])) {
$employees = $row["noofemployees"];
} else {
$employees = 'null';
}
$sql_insert_account = "INSERT INTO vtiger_account (account_no,accountid,accountname,industry,annualrevenue,phone,fax,rating,email1,website,employees) VALUES (?,?,?,?,?,?,?,?,?,?,?)";
/* Modified by Minnie -- END*/
$account_params = array($account_no, $crmid, $accountname, $row["industry"], $annualrevenue, $row["phone"], $row["fax"], $row["rating"], $row["email"], $row["website"], $employees);