Qad2014se - Customize - Sosomt.p - Generate Different Order Sequence

Hi All,

I need to customize sosomt.p program which generates the different types of orders with order sequence number starting with "AEM10000", "AEM10001", "AEM10002" like this, please help me out how can I do it.
I do not find the standard program sosomt.p source code.