I’m probably overthinking this, but I’m extending a method directive used to read serial numbers from external manufacturing processes(we don’t use full serial tracking)… My OOP background tells me I should follow SOLID principles, but I’m not sure that’s an option as I don’t know that I can write functions to follow the single responsibility principle. More concretely I need to parse the current job #, check if serial numbers exist for the current job, and then write them to a temp table. Normally I would write at least three functions for this. Is it possible to write functions in a method directive?
For now I’ll just get a proof of concept working, but would love to hear any suggestions?