This is the document in question.
I want it to return the classification as A, B, C, or D for each row in the fields otx and ttd. The classifications A, B, C, and D are composed of values from otx and ttd, and this classification is found within a table.
Table of values according to which the classification will be made.