MfgProgramTemplate

Represents a definition of a program to create a program-based business. A program-based business, also known as a Manufacturing Program, enables manufacturers to drive their business models with forecasting tools and manage the end-to-end sales process efficiently.

Parent Type

This type extends the Metadata metadata type and inherits its fullName field.

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
Field Type
string
Description
The description of the manufacturing program template.
programTemplateItems
Field Type
MfgProgramTemplateItem[]
Description
The list of templates associated with the manufacturing program template.
programTemplateName
Field Type
string
Description

Required.

The unique identifier for the manufacturing program template.
status
Field Type
MfgProgramTemplateStatus (enumeration of type string)
Description

Required.

The status of the manufacturing program template.

Values are:

  • Active
  • Draft
  • Inactive
The default value is Active.

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
Field Type
string
Description
The forecast set associated with the transformation.
description
Field Type
string
Description
The description of the manufacturing program template item.
templateItemName
Field Type
string
Description

Required.

The name of the manufacturing program template item.
transformationDisplayOrder
Field Type
int
Description

Required.

The display order of the transformation in the manufacturing program template.
transformationType
Field Type
MfgProgramTransformationType (enumeration of type string)
Description

Required.

Specifies the type of transformation.

Values are:

  • BusinessTransformation
  • ForecastSetRelation

Declarative Metadata Sample Definition

The following is an example of a MfgProgramTemplate component.

<?xml version="1.0" encoding="UTF-8"?>
<MfgProgramTemplate xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <description>Program Template</description>
     <programTemplateItems>
         <templateItemName>Template Item #1</templateItemName>
         <transformationDisplayOrder>1</transformationDisplayOrder>
         <transformationType>BusinessTransformation</transformationType>
         <description>Program Template Item</description>
     </programTemplateItems>
     <programTemplateName>Sample Program Template</programTemplateName>
     <status>Draft</status>
</MfgProgramTemplate>

The following is an example package.xml that references the previous definition.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
     <types>
         <members>*</members>
         <name>MfgProgramTemplate</name>
     </types>
     <version>54.0</version>
</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.