SELECT
Utility.concernRoleID,
Utility.name,
Utility.registeredName,
Utility.utilityTypeCode,
Utility.methodOfPmtCode,
Utility.paymentFrequency,
Utility.statusCode,
Utility.comments,
Utility.primaryAlternateID,
Utility.maximumPaymentRate,
Utility.minimumPaymentAmount,
Utility.nextPaymentDate,
Utility.versionNo
INTO
:concernRoleID,
:name,
:registeredName,
:utilityTypeCode,
:methodOfPmtCode,
:paymentFrequency,
:statusCode,
:comments,
:primaryAlternateID,
:maximumPaymentRate,
:minimumPaymentAmount,
:nextPaymentDate,
:versionNo
FROM
Utility
WHERE Utility.methodOfPmtCode = :methodOfPmtCode
AND Utility.nextPaymentDate <= :nextPaymentDate
|