My coding background is in a more traditional object oriented language (Java, C#) so it's taken me a while to adjust my way of thinking to properly use CSI/Mongoose methodologies. I'm currently reworking a project & it's looking much better but I'm now struggling with polymorphism & inheritance.
I'm working on code that allows a user to submit a request for stock items inside CSI. There are currently 3 types of requests I'm being asked to handle: Quantity Move, Job Material Issue and Misc. Issue. I have an IDO called "RequestFromStock". This contains all the common elements that every single request will have. I then created 3 extended IDO's, one each for each request type adding in the missing data for each request.
How would I go about displaying/accessing all of these requests from a Form? Would I have just the primary collection of the "requests from stock" or would I need to include sub-collections, one of each type, and then do some kind of 'trickery' to get the rest of the information our of the sub-collections?