MuleSoft Accelerator for Manufacturing icon

MuleSoft Accelerator for Manufacturing

(0 reviews)

Prerequisites

This page provides guidance on configuring the various systems and products required to implement the use cases provided by this solution.

Salesforce Manufacturing Cloud

The following provides guidance on the custom fields that need to be created for the customer, product, and sales order sync use cases in order to function end-to-end.

Custom fields

The following fields must be created in the corresponding objects.

Salesforce ObjectField NameData TypeLengthUniqueExternalIdDescription
AccountGlobal_Customer_Id__cText36YY
OrderGlobal_SalesOrder_Id__cText36YY
OrderTotal_Tax__cCurrency10,2YY
OrderOrderTotalAmount__cFormula (Currency)10,2YYOrder Total Amount is sum of Shippingc, Total_Taxc, and TotalAmount
Product2Global_Product_Id__cText36YY–

Anypoint MQ Configuration

The Anypoint-MQ-Queues-Exchanges Postman collection in the manufacturing-common-resources project will pre-create all MQ destinations required by the accelerator components.

The collection requires the dev environment template to be imported into your Postman workspace and assigned proper values first. The following MQ destinations will be created upon successful execution.

Queue NameBound to ExchangeDead Letter Queue Name
mfg-customer-update-queueaccelerator-customer-update-exchangemfg-customer-update-queue-dlq
mfg-product-update-queueaccelerator-product-update-exchangemfg-product-update-queue-dlq
mfg-order-update-queueaccelerator-order-update-exchangemfg-order-update-queue-dlq
mfg-rebatepayout-create-queuemfg-rebatepayout-create-exchangemfg-rebatepayout-create-dl-queue

Configurations in S/4HANA

Below are all the configuration arrangements that are required for this use case:

Communication ArrangementService Name
SAP_COM_0008Business Partner - Replicate from SAP S/4HANA Cloud to Client
SAP_COM_0009Product Master - Replicate from SAP S/4HANA Cloud to Client
SAP_COM_0287Sales Order Bulk Replication Integration

Configure communication arrangement

For communication arrangement SAP_COM_0287 to replicate the sales orders pricing elements, the following configuration is required.

  1. Enter the app Communication arrangement to edit or create the arrangement.
  2. At outbound services sections, complete with the following:
Configure SAP_COM_0287

Custom fields

Create the following fields in the corresponding objects for the use case:

Salesforce ObjectField NameData TypeLengthUniqueExternalId
BusinessPartnerYY1_SME_MPARTYROLEID_M_busText40YY
SalesOrderYY1_SME_MORDERID_MFG_SDHText40YY
ProductYY1_SME_UnvProductId_M_PRDText40YY

Custom CDS View

  • Name: YY1_JournalEntryItem_Info
  • Representative Key: AccountingDocument
  • Scenario: External API
  • Data Source: I_JournalEntryItem
  • Elements:
AliasPathTypeKey
SourceLedgerI_JournalEntryItem.SourceLedgerCHAR (2)Yes
CompanyCodeI_JournalEntryItem.CompanyCodeCHAR (4)Yes
FiscalYearI_JournalEntryItem.FiscalYearNUMC (4)Yes
AccountingDocumentI_JournalEntryItem.AccountingDocumentCHAR (10)Yes
LedgerGLLineItemI_JournalEntryItem.LedgerGLLineItemCHAR(6)Yes
LedgerI_JournalEntryItem.LedgerCHAR(2)Yes
AccountingDocumentTypeI_JournalEntryItem.AccountingDocumentTypeCHAR(2)No
CustomerI_JournalEntryItem.CustomerCHAR(10)No
YY1_SME_ExtPaymID_MFG_JEII_JournalEntryItem.YY1_SME_ExtPaymID_MFG_JEICHAR(20)No
CreationDateI_JournalEntryItem._JournalEntry.AccountingDocumentCreationDateDATS (8)No
LastChangeDateI_JournalEntryItem._JournalEntry.LastChangeDateDATS (8)No
IsReversedI_JournalEntryItem._JournalEntry.IsReversedCHAR(1)No
ReversalReasonI_JournalEntryItem._JournalEntry.ReversalReasonCHAR(2)No
ReverseDocumentI_JournalEntryItem._JournalEntry.ReverseDocumentCHAR(10)No
ClearingDateI_JournalEntryItem.ClearingDateDATS (8)No
ClearingAccountingDocumentI_JournalEntryItem.ClearingAccountingDocumentCHAR(10)No
ClearingDocumentLastChangeDateI_JournalEntryItem._ClearingAccountingDocument.LastChangeDateDATS (8)No
ClearingDocumentCreationDateI_JournalEntryItem._ClearingAccountingDocument.AccountingDocumentCreationDateDATS (8)No
ClearingDocumentCreationTimeI_JournalEntryItem._ClearingAccountingDocument.CreationTimeTIMS (6)No
AmountInCompanyCodeCurrencyI_JournalEntryItem._ClearingAccountingDocument._OperationalAcctgDocItem.AmountInCompanyCodeCurrencyCURR (23,2)No
AmountInTransactionCurrencyI_JournalEntryItem._ClearingAccountingDocument._OperationalAcctgDocItem.AmountInTransactionCurrencyCURR (23,2)No
TransactionCurrencyI_JournalEntryItem._ClearingAccountingDocument._OperationalAcctgDocItem.TransactionCurrencyCUKY (5)No
CompanyCodeCurrencyI_JournalEntryItem._ClearingAccountingDocument._OperationalAcctgDocItem.CompanyCodeCurrencyCUKY (5)No

A custom communication scenario has to be created adding this CDS view as an inbound service. Once published, create a communication arrangement using that custom communication scenario. That arrangement will have the service URL to retrieve the Journal Entry Item information.


Reviews

TypeCustom
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onSep 6, 2022
Asset overview

Asset versions for 1.2.x

Asset versions
VersionActions
1.2.0

Categories

Industry Vertical
ManufacturingNo values left to add
Solution
Accelerator
ManufacturingNo values left to add

Tags