Li Jun
2022-04-21 03a6b8730cde75e4c42634b676c96dd9caeda07f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<WebLink xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Create_NewServiceContract</fullName>
    <availability>online</availability>
    <displayType>massActionButton</displayType>
    <linkType>javascript</linkType>
    <masterLabel>新建新服务合同</masterLabel>
    <openType>onClickJavaScript</openType>
    <protected>false</protected>
    <requireRowSelection>true</requireRowSelection>
    <url>var foo = function() {
 
var Hospital = &apos;{!URLENCODE(Account.Hospital__c)}&apos;;
var Hospitalid = &apos;{!URLENCODE(Account.HospitalId__c)}&apos;;
var Department = &apos;{!URLENCODE(Account.Department_Class__c)}&apos;;
var Departmentid = &apos;{!URLENCODE(Account.Department_ClassId__c)}&apos;;
var accountname = &apos;{!URLENCODE(Account.Name)}&apos;;
var accountid = &apos;{!URLENCODE(Account.Id)}&apos;;
 
 
var url = &apos;a0H/e?CF00N10000002Dx56=&apos; + Hospital +&apos;&amp;CF00N10000002Dx56_lkid=&apos;
+ Hospitalid + &apos;&amp;CF00N10000002Dx4p=&apos; + Department + &apos;&amp;CF00N10000002Dx4p_lkid=&apos;
+ Departmentid + &apos;&amp;CF00N10000002Dx4q=&apos; + accountname + &apos;&amp;CF00N10000002Dx4q_lkid=&apos;
+ accountid + &apos;&amp;RecordType=01210000000gTYq&apos;;
window.top.location.href = url;
 
}
 
foo();</url>
</WebLink>