<?xml version = '1.0' encoding = 'UTF-8'?>
<TriggerOraclev10g class="oracle.dbtools.crest.model.design.storage.oracle.v10g.TriggerOraclev10g" name="OUTBOUND_VISTA_MSG_TRG" directorySegmentName="seg_0" id="2B300F09-AD7E-CF13-75A9-329B1BC86F7B">
<sourceConnName>local_erx</sourceConnName>
<sourceObjSchema>ERX</sourceObjSchema>
<sourceObjName>OUTBOUND_VISTA_MSG_TRG</sourceObjName>
<createdBy>DNS   WandlJ</createdBy>
<createdTime>2016-07-06 19:35:04 UTC</createdTime>
<ownerDesignName>eRx Database Model v2</ownerDesignName>
<actions>INSERT, UPDATE</actions>
<body>BEGIN &lt;br/&gt;IF UPDATING THEN&lt;br/&gt;  :NEW.UPDATE_DATE := SYSDATE;&lt;br/&gt;ELSE&lt;br/&gt;  :NEW.CREATED_DATE := SYSDATE;&lt;br/&gt;   IF :NEW.OUTBOUND_VISTA_MSG_ID IS NULL THEN&lt;br/&gt;  :NEW.OUTBOUND_VISTA_MSG_ID := OUTBOUND_VISTA_MSG_ID_SEQ.NEXTVAL;&lt;br/&gt;  END IF;&lt;br/&gt;END IF;&lt;br/&gt;END;</body>
<triggerTime>BEFORE</triggerTime>
<owner>D9046BB6-4F49-0E5D-466F-6A8BD6405589</owner>
<table>B190C912-F470-C334-80AE-563DA47A1B14</table>
</TriggerOraclev10g>