SHIPINFO

This table is used to store two different types of shipping information. Both sets of information will be passed in the generated PackSlip.xml file. The first set of information is to store shipping instructions. Only one set of shipping instructions will be captured for any order, address, and ship mode combination. The second set of information is to store a shipping carrier account number. A shipping carrier account number will be stored for any order and ship mode combination.

Column Descriptions:

NameTypeDescription
SHIPINFO_IDBIGINT NOT NULLGenerated unique key.
ORDERS_IDBIGINT NOT NULLThis is the order ID of the order that this entry is associated with.
ADDRESS_IDBIGINT NOT NULLThis is the address ID for which the shipping instructions apply to. This field will be -1 when a shipping carrier account number is specified.
POLICY_IDBIGINTThis value is the business policy ID for the shipping carrier account number. This value will be null if a shipping instruction is being specified for this row entry.
SHIPMODE_IDINTEGER NOT NULLThis is the shipping mode that information is being attached to.
OPTCOUNTERSMALLINT NOT NULL DEFAULT 0The optimistic concurrency control counter for the table. Every time there is an update to the table, the counter is incremented.
CARRIERACCNTNUMVARCHAR (100)This is the shipping carrier account number specified by the customer or the service representative. This value will be null if a shipping instruction is being specified for this row entry.
INSTRUCTIONSVARCHAR (4000)These are the shipping instructions specified by the customer or the service representative. This value will be null if shipping carrier account number is specified for this row entry.

Indexes:

NameColumn NamesType
<SYSTEM-GENERATED>SHIPINFO_IDPrimary Key
I0000898ORDERS_ID+SHIPMODE_ID+ADDRESS_IDUnique Index
I0000899ADDRESS_IDNon-Unique Index
I0000900POLICY_IDNon-Unique Index
I0000902SHIPMODE_IDNon-Unique Index

Constrained By Parent Tables:

ConstraintColumnsParent TableParent ColumnsType
F_1145ORDERS_IDORDERSORDERS_IDCascade
F_1146ADDRESS_IDADDRESSADDRESS_IDCascade
F_1147POLICY_IDPOLICYPOLICY_IDCascade
F_1148SHIPMODE_IDSHIPMODESHIPMODE_IDCascade