# mulesoft Salesforce OMS - Full Documentation --- product: Salesforce OMS version: 1.1 is-latest-version: true --- # Anypoint MQ Setup Guide > For the full documentation index, see: https://docs.mulesoft.com/llms.txt To create the Anypoint MQ destinations that are required by the MuleSoft Accelerator for Salesforce OMS components, use the `Anypoint-MQ-Configuration` Postman collection in the [Accelerator B2B Common Resources](https://anypoint.mulesoft.com/exchange/org.mule.examples/accel-b2b-common-resources-src/) project. ## Environment Settings Create the `dev` environment by using the template in the [Accelerator B2B Common Resources](https://anypoint.mulesoft.com/exchange/org.mule.examples/accel-b2b-common-resources-src/) project and importing it into your Postman workspace. Assign the values that reflect your target Anypoint Platform org before running the requests. ## Run the Collection The collection defines the variables that you must override prior to running requests. The collection is organized into separate folders, which you must execute in the following order: 1. Authorization 2. Client-Management - This variable is optional. 3. Queue-Management 4. Exchange-Management Run requests in the Verification folder to validate the results of the previous operations. You can also run the requests in the Deletions folder to clean up objects created by the collection. ## Verify Destinations Successful execution of the collection creates the following Anypoint MQ destinations:
| Queue Name | Bound to Exchange | Dead Letter Queue Name |
|---|---|---|
accel-b2b-orders-update-queue | accel-oms-update-exchange | accel-b2b-orders-update-dl-queue |
accel-oms-exception-queue | ||
accel-retail-update-queue | accel-retail-update-exchange | accel-retail-exception-dl-queue |
accel-shipping-update-queue | accel-shipping-update-exchange | accel-shipping-exception-dl-queue |
| Property Name | Description |
|---|---|
env_identifier_x12-isa-zz_id | The ID of the identifier type X12-ISA-ZZ. |
env_identifier_x12-gs_id | The ID of the identifier type X12-GS for partner. |
env_identifier_ref-id_id | The ID of the identifier type Reference ID. This is static across all the organizations. |
http_endpoint_type_id | The |
host_anypoint_org | The host name of the Anypoint Platform organization. |
devx.orgid | The ID of the Anypoint Platform organization. |
devx.envid | The ID of the environment in the Anypoint Platform organization. |
partner_x12_isa_identifier_value | The value of the partner identifier type X12-ISA-ZZ. This example uses |
partner_reference_id_identifier_value | The value of the partner identifier type Reference ID. This example uses |
partner_x12_gs_identifier_type_value | The value of the partner identifier type X12 - GS. This example uses |
host_x12_isa_identifier_value | The value of the host identifier type X12-ISA-ZZ. This example uses |
host_reference_id_identifier_value | The value of the host identifier type Reference ID. This example uses |
host_x12_gs_identifier_type_value | The value of the host identifier type X12 - GS. This example uses |
b2b_orders_process_api_host_name | The host name of the B2B Orders Process API. |
b2b_orders_prc_api_orders_path | The URI path for |
b2b_storage_sys_api_host_name | The host name of the B2B Storage System API. |
b2b_erp_prc_api_host_name | The host name of the ERP Process API. This example uses the B2B Simulator Process API. |
b2b_erp_prc_api_invoices_path | The URI path for Invoices in the ERP Process API. This example uses the B2B Simulator Process API. |
b2b_orders_prc_api_payments_path | The URI path for Payments in the B2B Orders Process API. |
b2b_erp_prc_api_acknowledgements_path | The URI path for Acknowledgments in the ERP Process API. This example uses the B2B Simulator Process API. |
partner_name | The name of the partner. |
partner_description | The description of the partner. |
partner_website_url | The website URL of the partner. |
| Salesforce Object | Field Label | Field Name | Data Type | Length | Unique | ExternalId |
|---|---|---|---|---|---|---|
Account | B2B EDI Sender Code | B2B_EDISenderCode__c | Text(Case Sensitive) | 15 | Y | N |
Account | B2B Order Currency | B2B_OrderCurrency__c | Text | 3 | N | N |
Account | B2B Order Delivery Method | B2B_OrderDeliveryMethod__c | Lookup(Order Delivery Method) | N | ||
Account | B2B Order Sales Channel | B2B_OrderSalesChannel__c | Lookup(Sales Channel) | N | ||
Account | B2B Order Store | B2B_OrderStore__c | Lookup(Store) | N | ||
Shipment | ExternalId | ExternalId__c | Text | 100 | N | Y |
| Salesforce Object | Field Label | Field Name | Data Type | Length | Unique | ExternalId |
|---|---|---|---|---|---|---|
Pending Order Summary Error | Error Code | Error_Code__c | Text | 255 | N | N |
Pending Order Summary Error | Error Message | Error_Message__c | Long Text Area | 5000 | N | N |
Pending Order Summary Error | Event Uuid | Event_Uuid__c | Text | 255 | N | N |
Pending Order Summary Error | External Reference Identifier | External_Reference_Identifier__c | Text | 255 | N | N |
Pending Order Summary Error | Pending Order Summary Error Name | Name | Text | 80 | N | N |
| Name | API Name | Event Type | Publish Behavior |
|---|---|---|---|
ShipmentCreated | ShipmentCreated__e | High Volume | Publish After Commit |
| Field Label | Field Name | Data Type | Length | Unique | ExternalId |
|---|---|---|---|---|---|
OrderSummaryId | OrderSummaryId__c | Text | 50 | N | N |
ShipmentId | ShipmentId__c | Text | 50 | N | N |
| Salesforce Object | Field Name | Data Type | Length | Unique | ExternalId |
|---|---|---|---|---|---|
BusinessPartner | YY1_SME_MPARTYROLEID_bus | Text | 36 | Y | Y |
SalesOrder | YY1_SME_MORDERID_SDH | Text | 36 | Y | Y |
Product | YY1_SME_UnvProductId_PRD | Text | 36 | Y | Y |
| Communication Arrangement ID | Service Name | Protocol |
|---|---|---|
SAP_COM_0109 | Sales Order (A2X) | OData V2 |
SAP_COM_0223 | Outbound Delivery - Notify (B2B) | OData V2 |
SAP_COM_0905 | Transportation Management - Freight Order Integration | OData V4 |
SAP_COM_0120 | Billing Document - Create with SD Document Reference | SOAP |
SAP_COM_0120 | Billing Document - Read, Cancel, GetPDF | OData V2 |
| Output Type | Goods movement status | Document Category | Picking status |
|---|---|---|---|
DELIVERY_NOTE | A | J | C |
| Output Type | Recipient | Channel | Rolee |
|---|---|---|---|
DELIVERY_NOTE | <Customer Number> | EDI | WE |
| Field name | Type | Cardinality | Join Condition |
|---|---|---|---|
I_SalesDocument | Primary Datasource | N/A | N/A |
I_SDDocumentMultiLevelProcFlow | Associated Datasource | Zero or More [0..*] | PrecedingDocument = SalesDocument |
I_SDDocumentCategory | Associated Datasource | Zero or More [0..*] | SDDocumentCategory = SubsequentDocumentCategory |
| Alias | Path | Type | Key |
|---|---|---|---|
SalesDocument | I_SalesDocument.SalesDocument | CHAR (10) | Yes |
PrecedingDocumentCategory | _I_SDDocumentMultiLevelProcFlo.PrecedingDocumentCategory | CHAR (4) | No |
SubsequentDocument | _I_SDDocumentMultiLevelProcFlo.SubsequentDocument | CHAR (10) | No |
SubsequentDocumentCategory | _I_SDDocumentMultiLevelProcFlo.SubsequentDocumentCategory | CHAR (10) | No |
ProcessFlowLevel | _I_SDDocumentMultiLevelProcFlo.ProcessFlowLevel | NUMC(2) | No |
CreationDate | _I_SDDocumentMultiLevelProcFlo.CreationDate | DATS (8) | No |
CreationTime | _I_SDDocumentMultiLevelProcFlo.CreationTime | TIMS (6) | No |
| SAP Field Name | Label | Data Type | Length | SAP Business Context |
|---|---|---|---|---|
YY1_SME_Tracking_Nmb | Tracking Number | Text | 20 | Transportation Orders (TM_TRANSPORTATION_ORDER) |