PPCCREDIT

This table stores the information of the value object container Credit for credit-related transactions in the payments subsystem.

Column Descriptions:

NameTypeDescription
PPCCREDIT_IDBIGINT NOT NULLThe generated credit identifier
PPCPAYINST_IDBIGINT NOT NULLThe identifier of the payment instruction in the payments subsystem under which this credit is created. This column stores the CMR relationship with PPCPAYINST.
PPCPAYMENT_IDBIGINTThe identifier of the payment in the payments subsystem to which this dependent credit is associated. NULL when this credit is an independent credit. This column stores the CMR relationship with PPCPAYMENT
EXPECTEDAMOUNTDECIMAL (20,5) NOT NULLThe expected amount that will be credited under this credit, the actual credited amount must be less than or equal to this amount
CREDITINGAMOUNTDECIMAL (20,5) NOT NULL DEFAULT 0.00000The amount of the pending credit transaction under this credit
CREDITEDAMOUNTDECIMAL (20,5) NOT NULL DEFAULT 0.00000The credited amount of the credit transaction under this credit
RVRSNGCRDTEDAMNTDECIMAL (20,5) NOT NULL DEFAULT 0.00000The cumulative amount of all the pending reverse credit transactions under this credit
STATESMALLINT NOT NULLThe state of this credit: 0: STATE_NEW 1: STATE_CREDITING 2: STATE_CREDITED 3: STATE_FAILED 4: STATE_CANCELED
TIMECREATEDTIMESTAMP NOT NULLThe time when the credit was created
TIMEUPDATEDTIMESTAMP NOT NULLThe time when the credit was updated
MARKFORDELETEINTEGER NOT NULL DEFAULT 0The flag indicates whether this object has been marked for deletion. 0: not marked for deletion 1: marked for deletion
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.

Indexes:

NameColumn NamesType
<SYSTEM-GENERATED>PPCCREDIT_IDPrimary Key
I0000922PPCPAYINST_IDNon-Unique Index
I0000923PPCPAYMENT_IDNon-Unique Index

Constrained By Parent Tables:

ConstraintColumnsParent TableParent ColumnsType
F_1170PPCPAYINST_IDPPCPAYINSTPPCPAYINST_IDCascade
F_1171PPCPAYMENT_IDPPCPAYMENTPPCPAYMENT_IDCascade

Referenced By Child Tables:

ConstraintColumnsChild TableChild ColumnsType
F_1173PPCCREDIT_IDPPCPAYTRANPPCCREDIT_IDCascade