Li Jun
2022-04-27 24fda5246494953a232b37547fb50bde77bd9886
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<WebLink xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>SpecilaApplyCreateAch</fullName>
    <availability>online</availability>
    <displayType>massActionButton</displayType>
    <linkType>javascript</linkType>
    <masterLabel>注残特殊申请</masterLabel>
    <openType>onClickJavaScript</openType>
    <protected>false</protected>
    <requireRowSelection>true</requireRowSelection>
    <url>var oppName= &apos;{!Opportunity.Name}&apos;; 
var oppId = &apos;{!Opportunity.Id}&apos;; 
var AchName = &apos;{!Statu_Achievements__c.Name}&apos;;
var AchId = &apos;{!Statu_Achievements__c.Id}&apos;;
var ForecastStatus= &apos;{!Statu_Achievements__c.Monthly_forecast_shipping__c}&apos;;
 
 
var url = &apos;a3W/e?RecordType=01210000000gTCV&amp;CF00N10000008qvFQ=&apos;+ encodeURIComponent(oppName) + &apos;&amp;CF00N10000008qvFQ_lkid=&apos;+ encodeURIComponent(oppId ) + &apos;&amp;CF00N10000008qvFW=&apos;+ encodeURIComponent(AchName) + &apos;&amp;CF00N10000008qvFW_lkid=&apos;+ encodeURIComponent(AchId ) + &apos;&amp;00N10000008qvFX=&apos;+ encodeURIComponent(ForecastStatus)+&apos;&amp;retURL=&apos;+ encodeURIComponent(AchId )+&apos;&amp;retURL=&apos;+ encodeURIComponent(AchId ); 
 
window.top.location.href = url;</url>
</WebLink>