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,
ContractVersion,
ContractPOLink
WHERE ContractVersion.contractVersionID = :resourceID
AND ContractVersion.contractVersionID = ContractPOLink.contractVersionID
AND ProviderOffering.providerOfferingID = ContractPOLink.providerOfferingID
AND Placement.providerOfferingID = ProviderOffering.providerOfferingID
AND Placement.recordStatus = :recordStatus
AND ProviderOffering.serviceOfferingID = :serviceOfferingID
AND ServiceOffering.placementPmtInd = :placementPmtInd
|