The ITranslateGradeTypeForReplaceLineItemRequest determines the grade type value for an outgoing replaceLineItem request, based on the incoming GradeType field off of the IReadGradesResult request object.
The interface implementation is D2L.IM.IPSIS.LIS.OMS.ITranslateGradeTypeForReplaceLineItemRequest.
The IPSIS, Default configuration lists for ITranslateReadResultsRequest interface are shipped with the product. They are listed along with the extension point they are intended for.
The ReplaceLineItemRequestGradeTypeTranslator is the default translator for the ITranslateGradeTypeForReplaceLineItemRequest interface.
ReplaceLineItemRequestGradeTypeTranslator
The ReplaceLineItemRequestGradeTypeTranslator determines the grade type value for an outgoing replaceLineItem request, based on the incoming GradeType field off of the IReadGradesResult request object.
Implementation
D2L.IM.IPSIS.LIS.ResultAdapters.OMS.Default.ReplaceLineItemRequestGradeTypeTranslator
Expected behavior
The translator performs the following the tasks:
- The incoming grade type is obtained from the GradeType field off of the IReadGradesResult request object.
- If the type is either FinalAdjusted or FinalCalculated, the translator sets the result to Final. Otherwise, the result is the empty string.
- Returns True.