SALESORDERITEMS Table

Added in Version 6.2.1

The SALESORDERITEMS table stores the information associated with the items included in a sales order. This table contains information including, but not limited to the product, price, quantity, discount, and product family.

Legend
 

Field Datatype (Length) Allow Nulls Indexes Relationship Related Table and Field

SALESORDERITEMSID (PK)

char(12)

NOT NULL

SALESORDERITEMS_ID_PK (CA)

 

 

 

SALESORDERID (FK)

char(12)

NOT NULL

SALESORDERITEMS_SALESORDERID (IE)

 

(Many) to (One)

SALESORDER.SALESORDERID

CREATEUSER (FK)

char(12)

NULLS

 

(Many) to (One)

USERINFO.USERID

CREATEDATE

datetime(8)

NULLS

 

 

 

MODIFYUSER (FK)

char(12)

NULLS

 

(Many) to (One)

USERINFO.USERID

MODIFYDATE

datetime(8)

NULLS

 

 

 

PRODUCT

varchar(64)

NULLS

 

 

 

PROGRAM

varchar(64)

NULLS

 

 

 

PRICE

float(8)

NULLS

 

 

 

QUANTITY

float(8)

NULLS

 

 

 

DISCOUNT

float(8)

NULLS

 

 

 

FAMILY

varchar(32)

NULLS

 

 

 

OPPPRODUCTID (FK)

char(12)

NULLS

 

(Many) to (One)

OPPORTUNITY_PRODUCT.OPPPRODUCTID

PRODUCTID (FK)

char(12)

NULLS

 

(Many) to (One)

PRODUCT.PRODUCTID

ACTUALID (FK)

varchar(64)

NULLS

 

(Many) to (One)

PRODUCT.ACTUALID

DESCRIPTION

text(16)

NULLS

 

 

 

EXTENDEDPRICE

float(8)

NULLS

 

 

 

UNIT

varchar(64)

NULLS

 

 

 

CALCULATEDPRICE

numeric(17,4)

NULLS

 

 

 

GLOBALSYNCID

varchar(36)

NULLS

SALESORDERITEMS_GLOBALSYNCID (IE)

 

 

LINENUMBER

int

NULLS

 

 

 

LINETYPE

varchar(32)

NULLS

 

 

 

SLXLOCATIONID (FK)

char(12)

NULLS

 

(Many) to (One)

SLXLOCATION.SLXLOCATIONID

UNITOFMEASUREID (FK)

char(12)

NULLS

 

(Many) to (One)

UNITOFMEASURE.UNITOFMEASUREID

PRICEDETAILDESCRIPTION

varchar(256)

NULLS

 

 

 

PRICEDETAILNOTES

text

NULLS

 

 

 

ITEMLOCKED

varchar(1)

NULLS

 

 

 

TICK

int

NULLS

 

 

 

APPID (FK)

char(12)

NULLS

 

(Many) to (One)

APPIDMAPPING.APPID

COMMODITYTYPE

varchar(32)

NULLS

 

 

 

CREATESOURCE

varchar(64)

NULLS