When and how does the credit term get set in Sales order?

Suggestion:
Credit terms are used to define the number of days credit can be given to the customer or taken from the supplier.
In Sales Order, In the ‘Sold to’ field, if the users enter the customer code. As soon as the users select the customer code, all other details about the customer will be loaded on the form, These are common details about the customer like address, credit terms, price list etc. If these details are not appearing, it means the complete details have not been entered in the customer master. If the customer master does not have the credit terms then it gets populated from Customer Series Credit master .
Note: Credit term code has to be present in the Credit Term master.