SQL-067: clsPaymentReturnReasonCodeCollection retrieve (culture-aware)
Retrieves all payment return reason codes with culture-aware descriptions, ordered by code.
Classification
Field
Value
SQL ID
SQL-067
Operation type
Read
Execution method
Inline SQL
Database
Oracle*
Schema
[unqualified]**
Command type
Text
Business object
clsPaymentReturnReasonCodeCollection
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve / AfterRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:CultureCode\
Input
String
5
Binds \MyCriteria.CultureCode\ and current thread culture*
Tables
Sample SQL
Select P . BANK_TRANSMITTAL_FLAG as BankTransmittalFlag ,
P . CATEGORY as Category ,
P . CODE as Code ,
case when P2 . code_descr is null
then cast ( P . CODE_DESCR as nvarchar2 ( 2000 ))
else P2 . code_descr end AS description ,
RETURN_PAYMENT_EVENT_CODE as ReturnPaymentEventCode
From PAYMENT_RETURN_REASON_CODE P
left outer join PAYMENT_RETURN_REASON_GCODE p2
on ( P2 . code = P . code
and upper ( P2 . CULTURE_CODE ) = upper (: CultureCode ))
order by p . code
Operations and processes
Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.
Business rules
Sources
Business\SAIF.Business.Payment.EFT\clsPaymentReturnReasonCodeCollection.vb