Hello,
The instructor create a course for a student
How ? What is a course ?
when the course will be finished, the instructor fill in the report with some information including a license number
What is that report ? What component are you talking about ? (and what is the link with Easy Social ?!)
So he should consume the serial he bought as license number.
Okay.. But it implies so many elements and questions that I can't even formulate a complete answer.
Like : "what if the serial is already used ?" => "What component are you talking about for these reports ?"
The best solution is that the user could choose one of his serial number from a list
Once again, I don't know what component you're talking about.
And also, you do not precise who is that "user".
one number for each student in the course
So it would mean that you can embed more details in a serial than just a code...
To be honest ; I still have no idea of what you're trying to do but I can tell you for sure that it is related to a custom component and some custom development.
I still don't see what is the relation with Easy Social but I doubt that that component can provide you the required feature nor that you can plug HikaSerial and EasySocial together "like that" to have a bridge consumption system (since it require pre-validation).
Now your custom dev can be related to HikaSerial and use the consumption has a start for your "reporting" system and include more inputs in the form, use a plugin to do extra action during the consumption, etc.
And you can even customize the view to load the list of serials for the "user" so he won't have a simple input but a dropdown with the list of its available serials.
A lot of things are possible ; but it will require some custom development (and some time).
I hope that my explanations are clear enough.
Regards,