Operation Details |
Description: | Searches for good causes which are not related with reference specified. |
Sterotype: | nsmulti |
SQL |
SELECT goodCauseID, goodCauseReference, description, name, dateCreated, recordStatus, versionNo INTO :goodCauseID, :goodCauseReference, :description, :name, :dateCreated, :recordStatus, :versionNo FROM GoodCause WHERE recordStatus = :goodCauseStatus AND goodCauseID NOT IN ( SELECT goodCauseID FROM GoodCauseLink WHERE relatedID = :relatedID ) |