Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle EBS to MS Dynamics 365 for Sales #361

Merged
merged 2 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
connector-type: msdynamicscrmrest
type: event-trigger
triggers:
CREATED_POLLER:
input-context:
data: SalesOrder
assembly:
$ref: '#/integration/assemblies/assembly-1'
options:
subscription:
createdField: createdon
updatedField: modifiedon
timeFormat: YYYY-MM-DDTHH:mm:ssZ
timeZone: UTC
pollingInterval: '5'
isCreatedQueryable: true
action-interfaces:
action-interface-1:
type: api-action
business-object: OE_INBOUND_INT_Service___PROCESS_ORDER
connector-type: oracleebs
actions:
CREATE_ORDER: {}
assemblies:
assembly-1:
assembly:
execute:
- if:
name: If
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
branch:
- condition:
'{{$Trigger.shipto_stateorprovince}}': not empty
execute:
- custom-action:
name: Oracle E-Business Suite Create order
target:
$ref: '#/integration/action-interfaces/action-interface-1'
action: CREATE_ORDER
map:
mappings:
- P_HEADER_REC:
mappings:
- CREATION_DATE:
template: '{{$Trigger.datefulfilled}}'
- FREIGHT_TERMS_CODE:
template: '{{$Trigger.shipto_freighttermscode}}'
- ORDER_TYPE_ID:
template: '{{$Trigger.ordernumber}}'
- PRICE_LIST_ID:
template: '{{$Trigger.pricelevelid}}'
- SHIP_TO_ADDRESS_ID:
template: '{{$Trigger.shipto_addressid}}'
- SHIP_TO_ADDRESS_REF:
template: '{{$Trigger.shipto_composite}}'
- P_HEADER_VAL_REC:
mappings:
- DELIVER_TO_ZIP:
template: '{{$Trigger.shipto_postalcode}}'
- PRICE_LIST:
template: '{{$Trigger.skippricecalculation}}'
- SHIP_FROM_POSTAL_CODE:
template: '{{$Trigger.shipto_postalcode}}'
- SHIP_TO_ADDRESS3:
template: '{{$Trigger.shipto_line3}}'
- SHIP_TO_CITY:
template: '{{$Trigger.shipto_city}}'
- SHIP_TO_CONTACT_FIRST_NAME:
template: '{{$Trigger.shipto_contactname}}'
- SHIP_TO_COUNTRY:
template: '{{$Trigger.shipto_country}}'
- SOLD_TO_LOCATION_STATE:
template: '{{$Trigger.shipto_stateorprovince}}'
- SOAHeader:
mappings:
- NLSLanguage:
template: US
- OrgId:
template: '{{$Trigger.ordernumber}}'
- RespApplication:
template: '{{$Trigger.processid}}'
- Responsibility:
template: '{{$Trigger.ordernumber}}'
- SecurityGroup:
template: '{{$Trigger.owningteam}}'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: flowDetails
$ref: '#/flowDetails'
completion-action:
terminate:
info:
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
message: Send order
status-code: 200
else:
execute: []
completion-action:
terminate:
info:
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
message: Order needs manual review.
status-code: 200
output-schema: {}
name: Create an order in Oracle E-Business Suite when a new order is received in Microsoft Dynamics 365
models: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
To refer to these instructions while editing the flow, open [the GitHub page](https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Create%20an%20order%20in%20Oracle%20E-Business%20Suite%20when%20a%20new%20order%20is%20received%20in%20Microsoft%20Dynamics%20365_instructions.md) (opens in a new window).

1. Click **Create flow** to start using the template.
2. Connect to the following accounts by using your credentials:
- [Microsoft Dynamics 365 for Sales](https://www.ibm.com/docs/en/app-connect/saas?topic=apps-microsoft-dynamics-365-sales)
- [Oracle E-Business Suite](https://www.ibm.com/docs/en/app-connect/saas?topic=apps-oracle-e-business-suite)
3. To start the flow, in the banner, click **Start flow**.

Use this template to create an order in Oracle E-Business Suite whenever a new order is received in Microsoft Dynamics 365 for Sales.
15 changes: 12 additions & 3 deletions resources/template-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -1951,15 +1951,24 @@
"targetApps": ["shopify", "square"],
"tags": ["api", "shopify", "square"],
"offerings": ["app connect professional"]
},
{
},
{
"name": "Create a contact in HubSpot CRM when a contact is created in Salesforce and then associate the contact with a company",
"description": "Use this template to create a contact in HubSpot CRM with the contact details whenever a contact is created in Salesforce. If the Salesforce contact has the company’s details, then the company will be associated with the contact in HubSpot CRM.",
"summary": "Salesforce to 2 applications",
"sourceApp": "salesforce",
"targetApps": ["hubspotcrm", "salesforce"],
"tags": ["salesforce", "hubspotcrm", "if"],
"offerings": ["app connect professional"]
}
},
{
"name": "Create an order in Oracle E-Business Suite when a new order is received in Microsoft Dynamics 365",
"description": "Use this template to create an order in Oracle E-Business Suite when a new order is received in Microsoft Dynamics 365 for Sales.",
"summary": "Microsoft Dynamics 365 for Sales to Oracle E-Business Suite",
"sourceApp": "msdynamicscrmrest",
"targetApps": ["msdynamicscrmrest", "oracleebs"],
"tags": ["msdynamicscrmrest", "oracleebs"],
"offerings": ["app connect professional"]
}
]
}