Attaching the sample record
Whenever a project uses sample management and quota control you must attach the sample record to the quota control system, so that sample management can communicate with quota control once it receives the sample record back from the interviewing program at the end of the interview. To do this, put the following statement at the end of AuthenticateSampleRec once you have rejected everyone who has failed authentication for any reason not associated with quota control:
QuotaEngine.AttachRecord(SampleRec)
For further information, see
Quota Object model.
See also