ORDERPAYMENTSPLIT (4.0SP20)

Stores payment split links for an order

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

SALESORDERITEMID

uniqueidentifier

false

The order item for this payment.

PAYMENTID

uniqueidentifier

false

The payment record for this order item.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_ORDERPAYMENTSPLIT_DATEADDED

DATEADDED

False

False

True

IX_ORDERPAYMENTSPLIT_DATECHANGED

DATECHANGED

False

False

False

IX_ORDERPAYMENTSPLIT_PAYMENTID

PAYMENTID

False

False

False

PK_ORDERPAYMENTSPLIT

ID

True

True

False

Triggers
Trigger Name Description

TR_ORDERPAYMENTSPLIT_AUDIT_UPDATE

TR_ORDERPAYMENTSPLIT_AUDIT_DELETE