You can't use this until you register with us!




Description

Use data from a MySQL table to create orders with SanMar.


Purchasing Options



Available Actions

Create Orders

Read data from MySQL and create orders with SanMar.


Variables

Source Parameters
mysql_connection required

MySQL database where the order data is located.

source_table required

Table name, in schema.table format, where the the order data is located.

pointer required

Datetime stamp indicating the starting point of data to use to create new orders. Formatted as YYYY-MM-DD HH:MM:SS in UTC timezone.


Destination Parameters
sanmar_credentials required

Credentials to connect to SanMar's Web Services.


Purchase Order Parameters
orders_to_process required

SQL code used to locate and extract data needed to create new orders. Refer to slide out help for more information.

po_query required

SQL code used to create a new unique purchase order number. Refer to slide out help for more information.

attention_query required

SQL code used to create a new unique attention header. Refer to slide out help for more information.

update_table required

SQL code used record the response from the SanMar server after a new order creation attempt. Refer to slide out help for more information.


Shipping Parameters
shipTo

Name of the individual or Company that will receive the order.

shipAddress1 required

First line of the shipping address. Use the following abbreviations: ST, AVE, RD, DR, BLVD.

shipAddress2

Second line of the shipping address. Typically a floor, suite or apartment number.

shipCity required

City where the order will be shipped.

shipState required

Two letter abbreviation for the state where the order will be shipped.

shipZip required

Zip code where the order will be shipped. For example, 00321 or 98007-1156.

residence required

Is the address specified a personal residence?

shipMethod required

Method used to ship the order. For example, UPS.

shipEmail required

Email address to receive order updates.