In my opinion this is something you should do when you query the data and you should not store that information in the database. The numbers may change if records are deleted, added between other records and so on. Calculated items shouldn't be generally stored.
To get the ordinal number in a query you can use
ROW_NUMBER [
^]
Depending on the situation you can get the slip number and the row number in separate columns and format them at client side (concatenate etc). Of course they can be converted to character and concatenated in the SQL statement but typically formatting shouldn't be done with SQL