document.all.tab2Tab.attachEvent('onclick', UpdateTab2);
function UpdateTab2()
{
if(crmForm.ObjectId!=null)
{
var oId=crmForm.ObjectId
crmForm.all.new_accountguid.DataValue = oId;
if( oId != null )
{
oId=oId.substr(1,36) crmForm.all.IFRAME_Divisions.src=GetCrmServerUrl() + '/sfa/accts/areas.aspx?oType=1&security=852407&tabSet=new_account_new_divisions'+'&oId=%7b'+oId+'%7d';
}
}
}
function GetCrmServerUrl()
{
var CRM_URL='';
if(AUTHENTICATION_TYPE == 0)
{
CRM_URL = '/' + ORG_UNIQUE_NAME;
}
return CRM_URL;
}
function UpdateTab2()
{
if(crmForm.ObjectId!=null)
{
var oId=crmForm.ObjectId
crmForm.all.new_accountguid.DataValue = oId;
if( oId != null )
{
oId=oId.substr(1,36) crmForm.all.IFRAME_Divisions.src=GetCrmServerUrl() + '/sfa/accts/areas.aspx?oType=1&security=852407&tabSet=new_account_new_divisions'+'&oId=%7b'+oId+'%7d';
}
}
}
function GetCrmServerUrl()
{
var CRM_URL='';
if(AUTHENTICATION_TYPE == 0)
{
CRM_URL = '/' + ORG_UNIQUE_NAME;
}
return CRM_URL;
}
No comments:
Post a Comment