In the text:
RegisterRecord.Result = (RegisterRecord.SourceData / SelectionResult.Normal * SelectionResult.Actual;
Correctly:
RegisterRecord.Result = (RegisterRecord.SourceData / SelectionResult.Normal) * SelectionResult.Actual;
Understanding basics of 1C:Enterprise platform. To start working with 1C:Enterprise platform visit Getting started page