您位於此處:
透過觸發自動化訂單的應用程式用量類型
使用 Apex 觸發來自動填入「應用程式用量類型」欄位,以簡化 Revenue Cloud 中的訂單建立。此欄位會建立記錄的應用程式內容。Revenue Cloud 會針對從報價建立的訂單或特定訂單類型 (例如新增、修正、續約或取消) 自動填入此欄位,但銷售代表手動輸入此值。

使用較常見的搜尋字詞。
選取較少篩選條件以擴大您的搜尋。
使用 Apex 觸發來自動填入「應用程式用量類型」欄位,以簡化 Revenue Cloud 中的訂單建立。此欄位會建立記錄的應用程式內容。Revenue Cloud 會針對從報價建立的訂單或特定訂單類型 (例如新增、修正、續約或取消) 自動填入此欄位,但銷售代表手動輸入此值。
| 適用於:Lightning Experience |
| 適用於:已啟用交易管理的 Revenue Cloud Enterprise、Unlimited 及 Developer Edition |
使用此範例程式碼片段以使用 RevenueLifecycleManagement 填入 AppUsageType 欄位。
trigger RlmOrderTriggerSample on Order(after insert) {
List<AppUsageAssignment> assignments = new List <AppUsageAssignment>();
for (Order ord: Trigger.New) {
// Do further filtering as necessary
AppUsageAssignment aua = new AppUsageAssignment(
RecordId = ord.Id,
AppUsageType = 'RevenueLifecycleManagement'
);
assignments.add(aua);
}
insert assignments;
}
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.