SELECT
Placement.placementID,
Placement.placeID,
Placement.providerOfferingID,
Placement.startDate,
Placement.endDate,
Placement.comments,
Placement.caseParticipantRoleID,
Placement.unitAmount,
Placement.unitAmountFixedInd,
Placement.totalCost,
Placement.caseID,
Placement.recordStatus
INTO
:placementID,
:placeID,
:providerOfferingID,
:startDate,
:endDate,
:comments,
:caseParticipantRoleID,
:unitAmount,
:unitAmountFixedInd,
:totalCost,
:caseID,
:recordStatus
FROM
Placement,
ProviderOffering,
ServiceOffering
WHERE ProviderOffering.providerConcernRoleID = :resourceID
AND Placement.providerOfferingID = ProviderOffering.providerOfferingID
AND Placement.recordStatus = :recordStatus
AND ProviderOffering.serviceOfferingID = ServiceOffering.serviceOfferingID
AND ServiceOffering.placementPmtInd = :placementPmtInd
AND ServiceOffering.unitOfMeasure = :unitOfMeasure
|