I have some code I’m writing that will be used to calculate the weight of our sales orders in different ways. There are about 3 places that we might want it to do this. I’m thinking of moving this weight calculation function to a custom module since I’d like it to always use the same method/code to do so.