How can we save a Sales order if below error ‘Drug license not specified or validity already expired for the customer’, occurs on finish button click?

Cause: System shows Drug license not specified or validity already expired for the customer on Sales order, if the Customer used in Sales order does not have valid upto date entered for the specific Licence no.

Remedies:
1) User should search and check in customer master for specified drug license no. and check the valid upto date field.
2) Please enter the valid upto date in the customer master and then do Sales order entry again.