Import of Orders with Discounts: Process Activity

The following activity will walk you through the process of importing orders that contain items with discounts.

Story

Suppose that the SweetLife sales manager decided to offer discounts for some of the products that the company sells in its Shopify store. Starting from today, the company provides the following discounts:

  • 10 percent discount on purchase of 96-ounce jar of plum jam
  • Five-dollar discount on purchase of 96-ounce jar of banana jam
  • Additional discount in the amount of $20 for the orders of $500 or more

As SweetLife's implementation consultant, you need to create an order with discounts of multiple types, import it to MYOB Advanced, and then explore how the applied discounts are displayed in the imported order.

Configuration Overview

In the U100 dataset, for the purposes of this activity, the PLUMJAM96 and BANJAM96 stock items have been created on the Stock Items (IN202500) form.

Process Overview

In this activity, you will do the following:

  1. On the Enable/Disable Features (CS100000) form, activate the Customer Discounts feature.
  2. On the Shopify Stores (BC201010) form, review the discount-related settings.
  3. In the admin area, create an order and apply multiple discounts to it.
  4. On the Prepare Data (BC501000) form, prepare the sales order data for synchronization; on the Process Data (BC501500) form, process the sales order data prepared for synchronization.
  5. On the Sales Orders (SO301000) form, review the imported sales order and applied discount.

System Preparation

Before you complete the instructions in this activity, do the following:

  1. Make sure that the following prerequisites have been met:
  2. Launch the MYOB Advanced website with the U100 dataset preloaded, and sign in with the following credentials:
    • Username: gibbs
    • Password: 123
  3. Open the Enable/Disable Features (CS100000) form.
  4. On the form toolbar, click Modify, and select the Customer Discounts check box under Advanced Financials.
  5. On the form toolbar, click Enable.

Step 1: Configuring Discount-Related Settings

To update the store settings for the import of online orders with discounts, in MYOB Advanced, do the following:

  1. Open the Shopify Stores (BC201010) form.
  2. In the Store Name box of the Summary area, select SweetStore - SP.
  3. On the Order Settings tab (Order section), in the Show Discounts As box, select Document Discounts.

    With this option selected, the system aggregates discounts applied to particular lines of the order in the Shopify store and displays these discounts at the document level in the imported sales orders (that is, on the Discounts tab of the Sales Orders (SO301000) form).

  4. Save your changes.

Step 2: Creating a Sales Order

To create an order for ten 96-ounce jars of plum jam, in the Shopify admin area, do the following:

  1. In the left menu, click Orders.
  2. On the Orders page, which opens, in the upper right, click Create order.
  3. On the Create order page, which opens, in the Products section, start typing plum jam in the search bar.
  4. In the All products dialog box, which opens with the search results, select the unlabeled check box in the row with the Plum jam 96 oz product, and click Add.
  5. In the row of the Plum jam 96 oz product, change the quantity to 10.
  6. Start typing banana jam in the search bar.
  7. In the All products dialog box, select the unlabeled check box in the row with the Banana jam 96 oz, and click Add.
  8. In the row of the Banana jam 96 oz product, change the quantity to 10.
  9. In the Customer section, click in the search bar and in the menu that opens, select Melody Keys.
  10. In the Products section, click the price of the Plum jam 96 oz product ($45.15).
  11. In the Add discount dialog box, which opens, in the Discount type box, select Percentage, in the Discount value box, enter 10, and click Apply.

    Notice that the discount has been applied and the product price has changed to $40.64.

  12. Click the price of the Banana jam 96 oz product (also $45.15).
  13. In the Add discount dialog box, which opens, in the Discount type box, leave Amount, in the Discount value box, enter 5, and click Apply.

    Notice that the discount has been applied and the product price has changed to $40.15.

  14. In the Payment section, click Add discount to add an order-level discount.
  15. In the Add discount dialog box, which opens, in the Discount type box, leave Amount, in the Discount value box, enter 20, and click Apply.

    For the purposes of this activity, assume that the payment was received outside Shopify.

  16. In the Payment section, click Collect payment > Mark as paid.
  17. In the Mark as paid dialog box, which opens, click Create order.

    The system closes the dialog box and creates the order. At the top of the page, notice that the system has assigned the order an order number, the Paid payment status, and the Unfulfilled fulfillment status.

You have created an order and applied two line-level discounts and one order-level discount to it. In the next step, you will import this order to MYOB Advanced.

Step 3: Importing the Sales Order

To import the sales order, in MYOB Advanced, do the following:

  1. Open the Prepare Data (BC501000) form.
  2. In the Summary area, specify the following settings:
    • Store: SweetStore - SP
    • Prepare Mode: Incremental
  3. In the table, select the Selected check box in the row of the Sales Order entity.
  4. On the form toolbar, click Prepare.
  5. In the Processing dialog box, which opens, click Close to close the dialog box.
  6. In the row of the Sales Order entity, click the link with the number of prepared synchronization records in the Ready to Process column.
  7. On the Process Data (BC501500) form, which opens with the SweetStore - SP store and the Sales Order entity selected, in the row of the order you created (which you can find by its identifier in the External ID column and empty ERP ID), select the unlabeled check box.
  8. On the form toolbar, click Process.
  9. In the Processing dialog box, which opens, click Close to close the dialog box.

Step 4: Reviewing the Discount in the Imported Sales Order

To review how the discount is displayed in the imported sales order, do the following:

  1. Open the Sync History (BC301000) form.
  2. In the Summary area, specify the following settings:
    • Store: SweetStore - SP
    • Entity: Sales Order
  3. On the Processed tab, in the row of the sales order that you have just imported, click the link in the ERP ID column.
  4. On the Sales Orders (SO301000) form, which opens in a pop-up window, review the settings of the sales order, as shown in the screenshot below.

    On the Details tab, notice that in the Discount Amount and Discount Percent column, the system has inserted zeros in both lines.

    On the Discounts tab, notice that a single row has been added, as shown in the following screenshot. The External Document type the Type column reflects the fact that the discounts were imported from an external system. The values in the Discount Amt. and Discount Percent columns reflect the discounts applied in the Shopify store.

    Figure 1. Imported sales order with discounts


You have created an order with discounts of various types in the Shopify store, explored how they are applied to an order in the store, and reviewed how they are displayed in the order after it has been imported to MYOB Advanced.