Retrieving and processing orders from your MarcomCentral store

After you set up an input device, workflows, and a notification, do these steps to retrieve and process orders from your MarcomCentral store.
To retrieve and process orders from your MarcomCentral store:
  1. Enable your new workflows for processing MarcomCentral orders and job tickets:
    1. Click the Workflow tab.
    2. In the Workflow Objects portlet, right-click the workflow for processing orders and select Enable.
    3. Right-click the workflow for processing orders and select Enable.
    4. Right-click the workflow for processing job tickets and select Enable.
  2. Enable your new notification:
    1. Click the Administration tab.
    2. In the left pane, click System → Notifications.
    3. Right-click the notification and select Enable.
  3. Enable your new input device:
    1. In the left pane, click Devices → Input Devices.
    2. Right-click the input device and select Enable and Connect.
  4. Log in to your store at the MarcomCentral web site and create an order.
    As an alternative, reorder selected items.
  5. Check to see if the order appears on the jobs table.
  6. If the order does not appear on the jobs table:
    1. Disable and disconnect the input device.
    2. Check the messages in the log for the input device.
    3. If the web service returned a 500 error, display the properties for the input device. Click the Authentication tab, and reenter your order token in the Static credential property.
    4. If a message states that nothing in the response matched the value of the response pattern, click the Request tab. Check the value of the Time zone offset property.
      Make sure that the value is the offset in hours between Coordinated Universal Time (UTC) and the time zone used by the MarcomCentral web service.
      For example, if the MarcomCentral web service uses Pacific Standard Time, make sure that the value is -8.
    5. Enable and connect the input device.
  7. After the order appears in the jobs table, check to see if child jobs appear in the jobs table.
  8. If child jobs do not appear in the jobs table:
    1. Disable the workflow.
    2. Check the state of the order job and the messages in its job log.
    3. If the job is in the Error state in the ApplyXSLTransform step, display the properties for the step. Check the value of the XSLT file property. Make sure that the directory path and name of the XSLT file are correct.
      For this problem, the message in the job log states that the system cannot use the XSLT file.
    4. If the job is in the Error state in the CallSOAPService step:
      • Check the messages in the job log.
      • Display the properties for the step.
      • If a message in the job log states that the web service returned a 500 error, reenter your order token in the Password field.
        Other problems, such as an incorrect SOAP request, can cause the web service to return a 500 error.
      • If a message in the job log states that the web service returned a 400 error, check the payload.
        Other problems can cause the web service to return a 400 error.
    5. If the job is in the FailWithMessage step in the order workflow, increase the value of the Wait for property on the Wait step.
    6. Save and enable the workflow.
    7. Right-click the job and select Process Again. Process the job from the first step in the workflow.
  9. If a child job goes into the Error state in the CallSOAPService step in the job ticket workflow:
    1. Check the messages in the job log.
    2. Display the properties for the step.
    3. If a message in the job log states that the web service returned a 500 error, reenter your order token in the Password field.
      Other problems, such as an incorrect SOAP request, can cause the web service to return a 500 error.
    4. If a message in the job log states that the web service returned a 400 error, check the payload.
      Other problems can cause the web service to return a 400 error.
  10. If a child job is sent to the FailWithMessage step in the job ticket workflow, display the properties for the Wait step. Increase the value of the Wait for property.
  11. To solve other problems with job processing, check the messages in the job log.
  12. When the state of all the jobs in the order changes to Retained, the notification calls the CloseoutByOrder operation in the Order Closeout web service.
    MarcomCentral changes the value in the Order Status column for each item in the order to Shipped. The ship date for the item is the date when MarcomCentral received the notification. Depending on how you set up your store, other values can change. For example, MarcomCentral can assign an invoice number and date and a packing slip number.
  13. Log in to your MarcomCentral store and verify that the status of all the items in the order is Shipped.
  14. If the status remains Work in Progress:
    1. Check the messages in the log for the notification.
    2. If the web service returned a 500 error, display the properties for the notification. Click the Authentication tab, and reenter your closeout token in the Static credential property.
    3. At your MarcomCentral store, verify that the status of all the items in the order is Shipped.
 
Copyright © 2016, 2018