Operation Details
Description: Returns the number of active decision attachments for an appeal decision.
Sterotype: ns
SQL
SELECT
  COUNT(attachmentLinkID)
INTO
  :recordCount 
FROM
  HearingDecisionAttachmentLink 
WHERE hearingDecisionID = :hearingDecisionID 
  AND recordStatus = :recordStatus