def run_before_save_methods(self):
		self.set_title_field()
		self.reset_seen()

		if self.flags.ignore_validate:
			return

		if self._action=="save":
			self.run_method("validate")
			self.run_method("before_save")
		elif self._action=="submit":
			self.run_method("validate")
			self.run_method("before_submit")
		elif self._action=="cancel":
			self.run_method("before_cancel")
		elif self._action=="update_after_submit":
			self.run_method("before_update_after_submit")
Run standard methods before  `INSERT` or `UPDATE`. Standard Methods are:
dataset/ETHPy150Open frappe/frappe/frappe/model/document.py/Document.run_before_save_methods