Activate and Run the Recipe

After you've configured the connections and other resources, you can activate and run the recipe.

  1. Activate the recipe. See Activate a Recipe or Accelerator.
  2. Run the recipe.
    1. Obtain the endpoint URLs for the trigger integration flows, namely Oracle DiCentral SCM Forecast Create and Oracle DiCentral SCM SalesOrder Create.
      1. On the Configuration Editor page of Oracle Integration, select an integration flow and click Run.
      2. On the resulting pop-up dialog, click the Metadata URL link.
      3. From the new tab that opens, copy the Endpoint URL value.
    2. Log in to your DiCentral instance and configure it to perform the following actions to send forecast and firm orders.
      1. Send a POST EDI forecast request to the Oracle DiCentral SCM Forecast Create endpoint URL (obtained in the previous step) along with the forecast data.
      2. Send a POST EDI firm order request to the Oracle DiCentral SCM SalesOrder Create endpoint URL (obtained in the previous step) along with the firm order data.

      When the recipe receives these POST requests it will send the forecast or firm order requests toOracle SCM Cloud.

    3. Obtain the endpoint URLs for the integration flows, namely Oracle SCM DiCentral Order Shipment and Oracle ERP DiCentral Order Invoice.
      1. On the Configuration Editor page, select an integration flow and click Run.
      2. On the resulting pop-up dialog, click the WSDL URL link.
      3. From the new tab that opens, copy the WSDL URL value. Leave out ?wsdl from the URL, and note the URL.
    4. Log in to Fusion Applications, and configure the shipment and invoice endpoints in Fusion CMK, so that when a shipment or invoice is created in Oracle SCM Cloud, the recipe sends the information to DiCentral.
      1. Navigate to Collaboration Messaging under Tools. Click Tasks, then click Service Providers, and then select Manage Collaboration Messaging Service Providers.
      2. Open the service provider that you had set up as part of Fusion CMK configuration.

        Note:

        If not already configured, you can configure Web Services as delivery method for both shipment and invoice outbound CMK messages.
      3. Update the service provider using the WSDL URLs you have obtained in the previous step.

        Update Shipment Provider:

        Field Information to enter
        Name Name of your Shipment Out delivery method. For example, SHIPMENT_OUT.
        Delivery Method Type Web Service
        Service Name CollaborationMessageV2.process
        End Point Endpoint URL of the shipment webservice.
        User Name Enter the username of the Oracle Integration user account with the Service Invoker role.
        Password Enter the password of the Oracle Integration user account with the Service Invoker role.

        Update Invoice Provider:

        Field Information to enter
        Name Name of your Invoice Out delivery method. For example, INVOICE_OUT.
        Delivery Method Type Web Service
        Service Name CollaborationMessageV2.process
        End Point Endpoint URL of the shipment webservice.
        User Name Enter the username of the Oracle Integration user account with the Service Invoker role.
        Password Enter the password of the Oracle Integration user account with the Service Invoker role.
    5. Log in to your Oracle SCM Cloud as Supply Chain Planner and check if the forecast is created.
      1. Click the Tools tab on the home page, and then select Scheduled Processes. Ensure that the collection requests have been completed.
      2. Click Supply Chain Planning, and then select Demand and Supply Planning.
      3. Open the plan that you created and run the plan with the following options.
        • Refresh with Current Data: Yes
        • Forecast Shipments: Yes
      4. When the execution is complete, you can review the plan including exceptions.
    6. Log in to Oracle SCM Cloud as the Order and Shipping Clerk, and check for the new order. After the order is fulfilled, ship the order fulfilment line and generate the invoice.
      1. Check if a new sales order is created and view its details.
        • Click the Bell icon on the top-right corner to view the order creation notifications.
        • Copy the Document Reference Number from the notification message.
        • Search for the new order with the Document Reference Number. The new order is displayed with information such as customer name, quantity, and so on. Note the order number. You’ll use it later to ship the order.
        • Click Additional Information in the header to view the OEM specific firm order information received from DiCentral.
        • Select the fulfillment line with earliest shipment date. Observe the order status. It should show Awaiting Shipping.
        • Click Additional Information on the right for the selected fulfilment line and view the additional flex fields.
      2. To ship the selected fulfilment line, click Supply Chain Management and then click Inventory Management.
        • Select Show Tasks: Shipments and search for the order with the order number you noted down earlier.
        • Select the fulfillment line with earliest ship date. Enter the same Shipped Quantity as Requested Quantity and click Save.

          Note:

          The recipe doesn’t support split lines.
        • Click AutoCreate Shipment.
        • Click the shipment you just created. Click Actions, and then click Pick Release. Click Actions again and click Pack Automatically.
        • Click Ship Confirm.

        When the order is shipped, the integration Oracle SCM DiCentral Order Shipment is triggered, and it sends the shipment information to DiCentral.

      3. To generate an invoice for the shipment, click the Tools tab on the home page, and then select Scheduled Processes.
        • Schedule a new process for Import AutoInvoice. Run the process for the order you shipped. Once the process completes, an invoice is generated.

        When the invoicing process completes, the integration Oracle ERP DiCentral Order Invoice is triggered, and it sends the invoice information to DiCentral.

      4. If the request from DiCentral contains updates to existing orders, you should see the updates in the order. Updates could be for the quantity or dates.
  3. Monitor the running of the integration flow in Oracle Integration.
    1. In the Configuration Editor, click Activation to view the integrations in the recipe. Hover over the integration to monitor, then click Actions Actions icon and select Run, then Track instances.
    2. On the Track Instances page, observe the integration flow of the recipe being triggered and running successfully.
  4. Finally, log in to your DiCentral instance and verify if the order creation response, and the shipment and invoice information have been received.
    1. To verify if the order creation response is received:
      • Navigate to Customer Demand Mgt and then Firm Orders.
      • Filter the records using trading partner you have used for sending the request to Oracle SCM Cloud. The orders created with Oracle SCM Cloud are displayed. The External Reference Number shows the order key for each order created in Oracle SCM Cloud.
      • Search for the required record and click it to view details. Check if the record details match with the order created in Oracle SCM Cloud.
    2. To verify if the shipment information is received:
      • Navigate to Customer Shipments and then Shipments.
      • Filter the records using trading partner you have used for sending the request to Oracle SCM Cloud. Search will display records with individual ship IDs.
      • Click the record for which you want to view details. Check if the shipment record details match with the shipment created in Oracle SCM Cloud.
    3. To verify if the invoice information is received:
      • Navigate to Customer Financing and then Invoice.
      • Filter the invoices using trading partner you have used for sending the request to Oracle SCM Cloud. Invoice records are displayed.
      • Click the required invoice record, and view its summary in the General tab. Check if the invoice record details match with the invoice generated for the shipment in Oracle SCM Cloud.

        To view the comparison between Requested, Shipped, and Invoice Quantity, click the Details tab.