src/Data/BizDataObj.php
private function _runDOTrigger($triggerType)
    {
        // locate the trigger metadata file BOName_Trigger.xml
        $triggerServiceName = $this->objectName . "_Trigger";
        $xmlFile = ObjectFactoryHelper::getXmlFileWithPath($triggerServiceName);
        if (!$xmlFile) {
            return;
        }

        $triggerService = Openbizx::getObject($triggerServiceName);
        if ($triggerService == null) {
            return;
        }
        // invoke trigger service ExecuteTrigger($triggerType, $currentRecord)

        $triggerService->execute($this, $triggerType);
    }
private function _runDOTrigger($triggerType)
    {
        // locate the trigger metadata file BOName_Trigger.xml
        $triggerServiceName = $this->objectName . "_Trigger";
        $xmlFile = ObjectFactoryHelper::getXmlFileWithPath($triggerServiceName);
        if (!$xmlFile) {
            return;
        }

        $triggerService = Openbizx::getObject($triggerServiceName);
        if ($triggerService == null) {
            return;
        }
        // invoke trigger service ExecuteTrigger($triggerType, $currentRecord)

        $triggerService->execute($this, $triggerType);
    }
Run DataObject trigger

@param string $triggerType type of the trigger