Operation Details
Description:  
Sterotype: nsmulti
SQL
SELECT
  ProviderRosterLineItem.providerRosterLineItemID,
  ProviderRosterLineItem.rosterLineItemID,
  ProviderRosterLineItem.caseID,
  ProviderRosterLineItem.saReferenceNo,
  ProviderRosterLineItem.clientReferenceNo,
  ProviderRosterLineItem.clientFirstName,
  ProviderRosterLineItem.clientLastName,
  ProviderRosterLineItem.clientDOB,
  ProviderRosterLineItem.status,
  ProviderRosterLineItem.exceptionProcInd,
  ProviderRosterLineItem.correctionInd,
  ProviderRosterLineItem.voucherNumber,
  ProviderRosterLineItem.autoGeneratedInd,
  ProviderRosterLineItem.caseReferenceNo,
  ProviderRosterLineItem.addressID,
  ProviderRosterLineItem.serviceAuthorizationID,
  ProviderRosterLineItem.versionNo
INTO
  :providerRosterLineItemID,
  :rosterLineItemID,
  :caseID,
  :saReferenceNo,
  :clientReferenceNo,
  :clientFirstName,
  :clientLastName,
  :clientDOB,
  :status,
  :exceptionProcInd,
  :correctionInd,
  :voucherNumber,
  :autoGeneratedInd,
  :caseReferenceNo,
  :addressID,
  :serviceAuthorizationID,
  :versionNo 
FROM
  ProviderRosterLineItem,
  RosterLineItem 
WHERE ProviderRosterLineItem.addressID IN 
  ( 
  SELECT
    Address.addressID 
  FROM
    Address 
  WHERE Address.addressData like :addressData 
  ) 
  AND clientReferenceNo like :clientReferenceNo 
  AND clientFirstName like :clientFirstName 
  AND clientLastName like :clientLastName 
  AND clientDOB = :clientDOB 
  AND ProviderRosterLineItem.rosterLineItemID = RosterLineItem.rosterLineItemID 
  AND RosterLineItem.rosterID = :rosterID