I am coming from OFBiz and noticed that in Moqui, we only have the lastUpdatedStamp field, whereas OFBiz includes additional timestamp fields like createdStamp, lastUpdatedStamp, createdTxStamp, and lastUpdatedTxStamp.
I was wondering if there is a specific reason behind this design choice. I particularly miss the createdStamp field, as it is useful when syncing data with other systems.
Would love to hear your insights. Thanks in advance!
createdStamp deserves to be a default field for a few simple reasons:
Auto-set, zero effort — populated automatically at record creation if not already provided. No extra code needed.
Immutable by design — unlike lastUpdatedStamp, it never changes, so it’s always a reliable answer to “when did this record enter the system?”
Invaluable for debugging — when something breaks, correlating records by creation time is often the fastest way to find the cause.
Useful for BI and reporting — cohort analysis, dashboards, exports — almost every analytical use case benefits from a creation timestamp. Retrofitting it later is painful.
I don’t think this is worth implementing as a nice to have though.
If someone has a non-manufactured critical use case for it it’s worth merging, otherwise the cost of the easily gigabyte of space that would take up on moqui servers around the world isn’t worth it imho.