Operation Details
Description: Operation to retrieve all rows from the Utility entity that match the specified methodOfPmtCode and where the nextPaymentDate is <= the input date.
Sterotype: nsmulti
SQL
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