Operation Details
Description: Gets Training Credit records count for the given Training ID and Provider Category.
Sterotype: ns
SQL
SELECT
  COUNT(TrainingCredit.trainingCreditID)
INTO
  :count 
FROM
  TrainingCredit 
WHERE TrainingCredit.trainingID = :trainingID 
  AND TrainingCredit.providerCategory = :providerCategory 
  AND TrainingCredit.recordStatus = :recordStatus