How do we handle for example record-type specific logic in the domain layer?
Imagine I have an object that calculates a currency field oninsert, but this logic differs for the record-type.
Would I make the domain class virtual? Or would I put the record-type specific logic into the service class for that object?
How do we handle for example record-type specific logic in the domain layer? Imagine I have an object that calculates a currency field oninsert, but this logic differs for the record-type.
Would I make the domain class virtual? Or would I put the record-type specific logic into the service class for that object?