2 Before You Install the Recipe

You must perform the following configuration tasks on your Magento Commerce Cloud and Oracle NetSuite instances in order to successfully connect to these external systems using Oracle Integrationand create sales orders for invoices.

Configure Magento Commerce Cloud

To access the Magento Commerce Cloud instance from Oracle Integration and create sales orders, you’ll need to create a user account for Oracle Integration on Magento Commerce Cloud and make a few other configurations. See Prerequisites for Creating a Connection.

Configure Oracle NetSuite

To successfully connect to Oracle NetSuite using Oracle Integration, you must perform certain general configurations on your Oracle NetSuite instance and some configurations specific to the security policy you’ll use to access. In this recipe, you’ll use the token-based authentication (TBA) security policy.

Log in to your Oracle NetSuite instance as an Administrator and execute the following tasks.

  1. Perform the general configurations necessary to connect to Oracle NetSuite. See Enable Features on Oracle NetSuite and Assemble the Oracle NetSuite WSDL URL.
  2. Perform the TBA-related configuration tasks. See Prerequisites for the Token-Based Authentication Security Policy.

    Note:

    On the Role page, set the name of the role as OIC NS Integration Role and set the ID of the role as _oracle_oic_ns_integ_role.

    Grant the following permissions to the role you'll create in this step.

    Tab Name Permission Level
    Transactions Invoice Full

    List

    Currency

    Full

    List

    Customers

    Full

    List

    Subsidiaries

    Full

    List

    Contacts

    Full

    List

    Items

    Full

    Setup User Access Tokens Full

    Setup

    Log in using Access Tokens

    Full

    Setup

    SOAP Web Services

    Full

  3. Create a custom field for invoice in your Oracle NetSuite instance. See Creating Custom Transaction Body Fields. While creating a custom field, enter the following values.
    1. Specify the value for Label as MagentoStoreID.
    2. Specify the value for ID as magento_storeid.
    3. Check the SALE box in the Applies To section.
    4. Check the Main box in the Display section.
    5. From the Save drop-down list, select Save & Apply to Forms.