Is there a way put maximum limit on Master or Transaction Records? Apprciate any comments.
I don’t understand your question. What do you mean by a “maximum limit”?
Example: Customer Records
Entry is limited only from 1 to 1,000 records. After that, entries cannot be saved. The purpose is to provide proper infrastructure support such server compute, memory and storage.
If your goal is to put limits on compute/memory/storage, capping records won’t be an effective way of doing that.
But, if you want to cap records for certain doctypes, it’s pretty trivial to do. Using either a server script or a custom controller, catch the
before_insert event and throw an error if the user is at or beyond the cap.