Database SQL Operation: DeductionProductLink.searchDeductionByProductID
Description: | Returns a list of deductions associated with a particular product. |
Sterotype: | nsmulti |
SELECT
DeductionProductLink.deductionProductLinkID,
DeductionProductLink.deductionID,
DeductionProductLink.priority,
Deduction.deductionName
INTO
:deductionProductLinkID,
:deductionID,
:priority,
:deductionName
FROM
DeductionProductLink,
Deduction
WHERE DeductionProductLink.productID = :productID
AND DeductionProductLink.deductionID = Deduction.deductionID
ORDER BY DeductionProductLink.priority
|