詳細情報:
計算済みインサイト: 販売業者の売上からの車両収益
Vehicle Revenue From Dealer Sales (販売業者販売からの車両収益) 計算済みインサイトは、すべての販売業者が特定の車両に対して生涯収益を集計します。販売業者の売上からの車両収益では、特定の車両を販売および再販したすべての販売業者の承認済み請求金額が考慮されます。

より一般的な検索語を使用する。
絞り込み条件を減らして、検索範囲を広げる。
Vehicle Revenue From Dealer Sales (販売業者販売からの車両収益) 計算済みインサイトは、すべての販売業者が特定の車両に対して生涯収益を集計します。販売業者の売上からの車両収益では、特定の車両を販売および再販したすべての販売業者の承認済み請求金額が考慮されます。
| 使用可能なエディション: Enterprise Edition、Unlimited Edition、および Developer Edition |
ロジックの内訳を次に示します。
| SELECT SUM(ssot__SalesOrderProduct__dlm.ssot__TotalPriceAmount__c) AS DirectAmount__c, ssot__Vehicle__dlm.ssot__VehicleIdentificationNumber__c AS VIN__c | SUM 集計関数を販売注文商品オブジェクトの [総額] 項目に適用し、エイリアス DirectAmount_c を割り当てます。車両オブジェクトから [車両 ID 番号] 項目を抽出し、エイリアス VIN__c を割り当てます。 |
| FROM ssot__SalesOrder__dlm JOIN ssot__SalesOrderProduct__dlm ON (ssot__SalesOrder__dlm.ssot__Id__c = ssot__SalesOrderProduct__dlm.ssot__SalesOrderId__c) | 販売注文の ID 項目を販売注文商品の [販売注文 ID] 項目と照合して、販売注文オブジェクトと販売注文商品オブジェクトを結合します。 |
| ssot__Asset__dlm ON (ssot__SalesOrder__dlm.ssot__BillToAccountId__c = ssot__Asset__dlm.ssot__AccountContactId__c AND ssot__SalesOrderProduct__dlm.ssot__ProductId__c = ssot__Asset__dlm.ssot__ProductId___c) | 販売注文の [請求先取引先責任者 ID] 項目を納入商品の [取引先責任者 ID] 項目と照合して、販売注文オブジェクトと納入商品オブジェクトを結合します。販売注文の [商品 ID] 項目を納入商品の [商品 ID] 項目と照合して、販売注文オブジェクトと納入商品オブジェクトを結合します。 |
| HRタンクトップ WH (tthrwh) | 納入商品の [車両 ID] 項目を車両の ID 項目と照合して、納入商品オブジェクトと車両オブジェクトを結合します。 |
| GROUP BY VIN__c | 結果を VIN__c でグループ化し、一意の各車両の直接販売を集計します。 |

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.