Hello fellows, Good day.
I am in a situation where I have to perform a transaction master detail record (Drop prev details, insert new details, Update Master status)
- Master Business Object has 20 fields
- Details Business Object has 4 fields only
Now I have to update only 1 field in master table and 4 fields in details table for insert.
If I initialize a new master object, 19 fields are being wasted for a simple update. What do I do to efficiently handle this situation ?
Can I make a new object and inherit only one field from my master business object ? Please give me a little working example if you advise me a DTO or something with inheritance. Thanks.