Jul 07, 2017 - 02:30 AM
A work class typically describes a Work Type, and pattern inherits from Work-. What this means is that all work classes inherits common Work- properties like pyStatusWork, pxUrgency, pyID etc. So, most often a class is created as a work class to describe some form of "work" to be instantiated and completed, e.g. New Purchase Order.
A data class is typically used to describe the data model, and can be used for interfacing with the data base. It pattern inherits from Data- and will contain properties common to this class. Data classes are also useful for describing the structure of your work classes' Page mode properties. These data classes may or may not interface directly with the database. If not, they can be created as an abstract data class.