Each row of this table stores a payment summary XML that could be sent to an external accounting system. The summary is by Store, Account, and payment policy.
Column Descriptions
Column Name
| Column Type
| Description |
PAYSUMMARY_ID
| BIGINT NOT NULL
| Generated unique key for this row.
|
ACCOUNT_ID
| BIGINT
| The business account ID of this payment summary. May be null if there is no business account.
|
SETCCURR
| CHAR(3)
| Currency of the Total Charge Amount field. Alphabetic currency codes as per ISO 4217.
|
CREDITLINE_ID
| BIGINT
| CreditLine ID. If the payment policy for this payment summary is the Credit Payment Policy, the ID of the Credit Line is also store here. Foreign key to the CREDITLINE table.
|
STOREENT_ID
| INTEGER NOT NULL
| The ID of the Store.
|
POLICY_ID
| BIGINT
| The ID of the Payment Policy that this payment summary is for.
|
PERIODSTARTTIME
| TIMESTAMP NOT NULL
| Period start time.
|
PERIODENDTIME
| TIMESTAMP NOT NULL
| Period end time.
|
TOTALCHARGE
| DECIMAL (20,5) NOT NULL
| The Total charge amount represented by this Payment Summary in the default currency of the Store.
|
PAYSUMMARYXML
| CLOB
| The Payment Summary XML for the specified period.
|
STATUS
| INTEGER
| Flag to indicate if the Payment Summary has been sent to an external accounting system:
0 = not sent or 1 = sent.
|
OPTCOUNTER
| SMALLINT
| Reserved for IBM internal use.
|