Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
MfgProgramTemplate
Parent Type
File Suffix and Directory Location
MfgProgramTemplate components have the suffix .mfgProgramTemplate and are stored in the MfgProgramTemplate folder.
Version
MfgProgramTemplate components are available in API version 54.0 and later.
Special Access Rules
The program-based business feature setting for Manufacturing Cloud is required to create a program template.
Fields
| Field Name | Description |
|---|---|
| description |
|
| programTemplateItems |
|
| programTemplateName |
|
| status |
|
MfgProgramTemplateItem
A program template item defines each of the templates associated with a manufacturing program. A template item includes program details, such as a data transformation type and a display order. Transformation type is the method to forecast business visibility to manufacturers.
| Field Name | Description |
|---|---|
| advAccountForecastSet |
|
| contextDefinition |
|
| description |
|
| sourceContextMappingName |
|
| targetContextMappingName |
|
| templateItemName |
|
| transformationDisplayOrder |
|
| transformationType |
|
Declarative Metadata Sample Definition
The following is an example of a MfgProgramTemplate component.
1<?xml version="1.0" encoding="UTF-8"?>
2<MfgProgramTemplate xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3 <description>Program Template</description>
4 <programTemplateItems>
5 <templateItemName>Template Item #1</templateItemName>
6 <transformationDisplayOrder>1</transformationDisplayOrder>
7 <transformationType>BusinessTransformation</transformationType>
8 <description>Program Template Item</description>
9 </programTemplateItems>
10 <programTemplateName>Sample Program Template</programTemplateName>
11 <status>Draft</status>
12</MfgProgramTemplate>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>MfgProgramTemplate</name>
6 </types>
7 <version>54.0</version>
8</Package>Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.