---
schema_version: "1"
id: ad70f549623034a8b81bc109c832227c82c338365a4d75a3da01f5428f699554
title: Tactic
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/tactic.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/tactic.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8d3a9b3e77b78eaef9dc23c0af8402d08f0c92125f901b9673df3a346232418c
description: This section provides information about tactic.
---
# Tactic

This section provides information about tactic.

## loadTacticDefaults2

- Description: Loads tactic values. If the ID is provided, the record values are added. If not, it instantiates a new tactic with theRecordType provided by the template. If the Input Id matches and existing tactic by Id or by External Id, the tactic will be loaded. If not, a new tactic will be created.
- Classname: Promotion2BoApiCoreWorkflowSteps
- Method: loadTacticDefaults

Table 1. Input Properties
| Property | Description | Required or Optional |
| --- | --- | --- |
| .Id | SFDC ID or external ID for the tactic. | Optional |
| .TacticTemplate | Tactic template name or SFDC ID of the tactic template. | Required |

## setTacticDates2

- Description: Sets the dates (from, through, commit, placement, order, delivery for a promotion)
- Classname: Promotion2BoApiCoreWorkflowSteps
- Method: setTacticDates

Table 2. Input Properties
| Property | Description | Required or Optional |
| --- | --- | --- |
| .DateFrom | Start date. | Optional |
| .DateThru | Dates from start to end. | Optional |
| .InStoreDateFrom | In store start date. | Optional |
| .InStoreDateThru | In store start to end date. | Optional |
| .ShipmentDateFrom | Shipment start date. | Optional |
| .ShipmentDateThru | Shipment date start to end date. | Optional |