Skip to main content

Magento 2 connector Import Orders Tests List

NetSuite Sales order import to Magento - Customer and product exist in Magento and NS

  1. import a product from NS (Product 1)
  2. create a customer and make it imported to NS (simply make order in Magento and export it to NS) - Customer 1
  3. create order in NS with Product 1, Customer 1 and import it to Magento
  4. check that order with the product created
    1. customer for order Customer 1
    2. orderItems created
    3. totals are right
    4. shipping method is right

NetSuite Sales order import to Magento -  The product does NOT exist in Magento

  1. create order in NS with the product (SKU) that does not exist in the Magento
  2. create order in NS with Product 1 and import it to Magento
  3. check that order with the product is NOT created in Magento

NetSuite Sales order import to Magento -  The product exists in Magento and NS, Customer exist only in the NS

  1. create the customer in NS - Customer 2
  2. create order in NS with Product 1, Customer 2 and import it to Magento
  3. check that order with the product created
    1. customer for the order - Customer 2 created in Magento
    2. orderItems created
    3. totals are right
    4. shipping method is right
    5. check netsuite_internal_id

NetSuite Sales order import to Magento -  Creating Shipment, Creditmemo, Invoice for imported order

  1. import order using Scenario 1 or Scenario 3
  2. create a fullfilment in NS and import it to Magento
    1. shipment is successfully created
  3. create Cache Sale  in NS and import it to Magento
    1. invoice successfully created
  4. create RMA+ Creditmemo in NS and import it to Magento
    1. creditmemo + rma successfully created

Import/Update Specific Order

  1. Create order 2 orders in the NS - NSOrder 1 and NSOrder 2
  2. Navigate to the Magento CLI and execute the command - 
  3. netsuite:utils:importorder --id [ns_internal_id], where ns_internal_id  is internal id of NSOrder 1 and NSOrder 2 (comma separated values)
  4. Check the Magento back office - the orders  MagentoOrder 1 and MagentoOrder 2 should be imported

Import Orders as range of NS Internal ID

  1. Create 2 orders in the NS - NSOrder 1 and NSOrder 2
  2. Navigate to the Magento CLI and execute the command - 
  3. netsuite:utils:importorder --from [ns_internal_id_order_1]  --to [ns_internal_id_order_2], where ns_internal_id  is internal id of orders
  4. Check the Magento back office - the orders  MagentoOrder 1 and MagentoOrder 2 should be imported