Transformations
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
-
/connect/manufacturing/transformations
- Resource Example
-
https://yourInstance.salesforce.com/services/data/vXX.X/connect/manufacturing/transformations
- Available version
- 55.0
- Requires Chatter
- No
- HTTP methods
- POST
- Request body for POST
- JSON example
-
{ "inputObjectIds": [ "0sTxx000000003FEAQ", "0sTxx000000004rEAA", "0sTxx0000000001EAA", "0sTxx000000001dEAA" ], "inputObjectName": "MfgProgramCpntFrcstFact", "usageType": "TransformationMapping", "outputObjectName": "Opportunity", "outputObjectDefaultValues": { "Opportunity": { "Pricebook2Id": "PriceBookID", "StageName": "Prospecting", "Probability": "20", "Name": "SampleFactToOpp", "CloseDate" : "2022-12-31" }, "OpportunityLineItem" : { "TotalPrice": 1234, "CurrencyIsoCode":"USD" // This is required in mutli currenct enabled org. }, "OpportunityLineItemSchedule": { "Type": "Both" // It's based on the product schedule enabled on setup. } } }
- 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: - MfgProgramCpntFrcstFact
- ManufacturingProgram
- MfgProgramCpntFrcstFact
- Period
- Quote
- QuoteLineItem
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: - ConvertToSalesAgreement
- CLMFieldMapping
- EligibleProgramRebateType
- MapJournalToMemberAggregate
- TransformationMapping
Required 55.0
- Response body for POST
- Transformation Output