您位於此處:
在 Salesforce Spiff 陳述式中管理記憶體的最佳作法
當 Salesforce Spiff 處理要求動作的時間太長時,會發生計算延遲。對帳單處理可能會延遲錯誤,這通常與大型資料篩選、複雜的計畫設計和效率不佳的規則結構相關。

使用較常見的搜尋字詞。
選取較少篩選條件以擴大您的搜尋。
您位於此處:
當 Salesforce Spiff 處理要求動作的時間太長時,會發生計算延遲。對帳單處理可能會延遲錯誤,這通常與大型資料篩選、複雜的計畫設計和效率不佳的規則結構相關。
| 提供版本:Salesforce Classic (並非所有組織皆適用) 和 Lightning Experience |
| 提供版本:Enterprise、Unlimited 及 Developer Edition |
| 下列版本亦可額外付費使用:已啟用 Web 服務 API 的 Professional Edition |
對帳單大小限制為 35 MB,即約 5,000 個義務。義務數目上限會根據義務中的列和欄數而有所不同。
若要協助減少記憶體用量,請在建立佣金計畫時考量這些選項。
最佳化規則結構。尋找機會來簡化您的薪水計畫規則。避免不必要的計算或產生處理時間的不必要相依性。
若要解決對帳單逾時,請先建立其他計畫。接著,將具有大量資料列和資料欄的支出規則從一個陳述式移至新計畫。此方法會在多個陳述式之間共用資料載入的負擔。
透過策略性重新排序提升資料篩選效率。優先排列最重要且簡單的篩選條件。儲存複雜作業,例如包含函數、雙重篩選條件和關係,以用於資料篩選條件的結尾。
識別可壓縮以改善效率的計算。
移除邏輯或陳述式中未使用的連結欄位。
識別您可以轉換為摘要計算的交易層級計算。
檢查計畫覆寫。覆寫會在影響下游規則時造成非預期的延遲。請謹慎使用覆寫,並確定覆寫不會造成更長的處理時間。
關閉累積變數、關係、雙重篩選及其他 QTD 或 YTD 計算的追蹤,因為這些變數會產生大量追蹤資料。針對前端對帳單或報告目的,關閉追蹤任何不必要的計算。
當摘要計算顯示在公式內的多個位置,且對對帳單卡片顯示計算時,可能會發生與追蹤相關的問題。若要減輕這些問題,請考慮建立參照原始追蹤欄位的未追蹤欄位。
StatementCalculatedField_Untraced references StatementCalculatedField通常,您會使用未追蹤的欄位,並將追蹤的欄位保留給單一位置。此方法可確保陳述式顯示,同時減少欄位其他使用的追蹤負擔。

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.