Last Updated: 7/22/2025 8:42:49 PM

Intergy Version: 22.00.00.00

PaymentReversal

Table Definition  Parent Tables  Child Tables

Table Definition

Description: This table is used to record a reversal of a payment made to a charge.

Field Datatype Default Null Option Comment
ChargeSID INTEGER ?   MANDATORY FK
ActivityCount INTEGER 0   MANDATORY FK
PaymentSID INTEGER ?   MANDATORY FK
AssignmentActivityCount INTEGER 0   MANDATORY FK
JournalSID INTEGER ?   MANDATORY FK
PostDate DATE   MANDATORY FK
UnappliedCreditSID INTEGER ?   MANDATORY FK
Origin CHARACTER(3)   OPTIONAL Programmatically set origin (parent table) of the unapplied credit record. Possible values are: PRV - payment reversal PVD - payment void and CVD - charge void
Amount DECIMAL(10,2) 0   OPTIONAL User entered amount.
TimeStamp CHARACTER(14)   OPTIONAL System generated date/time stamp record was last written.
LastUser INTEGER ?   OPTIONAL User ID of user that last wrote the record.
CreateStamp CHARACTER(14)   OPTIONAL System generated date/time stamp record was created.
CreateUser INTEGER ?   OPTIONAL User ID of user that created the record.

Parent Tables
Parent TableJoin PhraseWhen deleting parent record...
PaymentAssignment PaymentReversal.PaymentSID = PaymentAssignment.PaymentSID and
PaymentReversal.ChargeSID = PaymentAssignment.ChargeSID and
PaymentReversal.AssignmentActivityCount = PaymentAssignment.ActivityCount
RESTRICT if PaymentReversal exists
ChargeActivity PaymentReversal.ChargeSID = ChargeActivity.ChargeSID and
PaymentReversal.ActivityCount = ChargeActivity.ActivityCount
CASCADE if PaymentReversal exists

Child Tables
Child TableJoin PhraseWhen deleting PaymentReversal record...