---
schema_version: "1"
id: feeebae3af35c497b6fb70d76f86e5d6edda4d9ea8d800c6421cf1e766c289af
title: Retail Execution Visit Assistant | Get Retail Execution Orders By Account
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_get_retail_execution_orders_by_acc.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_get_retail_execution_orders_by_acc.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 81ae7bb140742bd3cae55fe80c65a806411013468d58a31ea6900dc96ad683aa
description: Gets order information, including order header details and corresponding detailed order item data for each order. The action gets ready or released preorders, deliveries, and invoices data for the account, optionally within a date range.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Retail Execution Visit Assistant | Get Retail Execution Orders By Account

Gets order information, including order header details and corresponding detailed order item data for each order. The action gets ready or released preorders, deliveries, and invoices data for the account, optionally within a date range.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with the Agentforce for Consumer Goods add-on or included in Agentforce 1 Consumer Goods Edition. Requires each user to have the Agentforce for Consumer Goods add-on to access the action.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d125239e70">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d125239e70 ">To use Retail Execution</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d125239e70 ">Assign one of the Retail Execution user permissions. See <a href="https://help.salesforce.com/s/articleView?id=ind.cg_permsets_re_from_summer24.htm&amp;type=5&amp;language=en_US" target="_blank">Permission Sets From Summer ’24</a></td>

        </tr>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d125239e70 ">To use Retail Execution Agentforce action</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d125239e70 ">Access CGCloud AI Assistive Agent</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d125239e70 ">For additional permissions, see <a href="https://help.salesforce.com/s/articleView?id=ai.agent_actions_common_perms.htm&amp;type=5&amp;language=en_US" target="_blank">User Access for Standard Agent Actions</a>.</td>

        </tr>
      </tbody>
    </table>

## Action Details

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col style="width:50%"> <col style="width:50%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">API Name</td><td class="slds-cell-wrap" style="vertical-align:top;">GetReOrdersByAccount</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Action Type</td><td class="slds-cell-wrap" style="vertical-align:top;">Standard Action</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action</td><td class="slds-cell-wrap" style="vertical-align:top;">Get Retail Execution Orders By Account</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action Type</td><td class="slds-cell-wrap" style="vertical-align:top;">Invocable Action</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Does this action execute one or more prompt templates?</td><td class="slds-cell-wrap" style="vertical-align:top;">No</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Required Setup</td><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=ind.retail_org_preference_agentforce.htm&amp;language=en_US" target="_blank">Agentforce Setup in Retail Execution</a></td></tr></tbody></table>

#### See Also

- [Agent Topic: Account Compliance](https://help.salesforce.com/s/articleView?id=ai.retail_agentforce_acc_compliance_topic.htm&language=en_US)
- [Agent Topic: Last Visit Summary](https://help.salesforce.com/s/articleView?id=ai.retail_agentforce_last_visit_summary_topic.htm&language=en_US)
- [Agent Topic: Product Upsell](https://help.salesforce.com/s/articleView?id=ai.retail_agentforce_product_upsell_topic.htm&language=en_US)