Transformations (POST)
Perform the business transformation of program component forecast
data (source object) to opportunities (target object). The following are some of the
transformation scenarios: MfgProgramCpntFrcstFact to
Opportunity, ManufacturingProgram to Opportunity, MfgProgramCpntFrcstFact to OpportunityLineItem, and Period to OpportunityLineItemSchedule.
Resource
1/connect/manufacturing/transformationsResource Example
1https://yourInstance.salesforce.com/services/data/vXX.X/connect/manufacturing/transformationsAvailable Version
55.0
Requires Chatter
No
HTTP Methods
POST
Request Body for POST
JSON Example
1{
2 "inputObjectIds": [
3 "0sTxx000000003FEAQ",
4 "0sTxx000000004rEAA",
5 "0sTxx0000000001EAA",
6 "0sTxx000000001dEAA"
7 ],
8 "inputObjectName": "MfgProgramCpntFrcstFact",
9 "usageType": "TransformationMapping",
10 "outputObjectName": "Opportunity",
11 "outputObjectDefaultValues": {
12 "Opportunity": {
13 "Pricebook2Id": "PriceBookID",
14 "StageName": "Prospecting",
15 "Probability": "20",
16 "Name": "SampleFactToOpp",
17 "CloseDate" : "2022-12-31"
18 },
19 "OpportunityLineItem" : {
20 "TotalPrice": 1234,
21 "CurrencyIsoCode":"USD" // This is required in mutli currenct enabled org.
22 },
23 "OpportunityLineItemSchedule": {
24 "Type": "Both" // It's based on the product schedule enabled on setup.
25 }
26 }
27}Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| inputObjectIds | String[] | The list of record IDs for the input object type containing the mapping definition used to create the business transformation. The list of IDs must all be for the same object type. | Required | 55.0 |
| inputObjectName | String | The name of the input object containing the mapping definition used to create
the business transformation. Possible values are:
|
Required | 55.0 |
| outputObjectDefaultValues | Map<String, String>> | The default values for the output object that are created from the input object IDs. | Optional | 55.0 |
| outputObjectName | String | The name of the output object that is created from the input object IDs. | Required | 55.0 |
| usageType | String | Usage type of the transformation. Possible values are:
|
Required | 55.0 |