<?xml version = '1.0' encoding = 'UTF-8'?>
<TriggerOraclev10g class="oracle.dbtools.crest.model.design.storage.oracle.v10g.TriggerOraclev10g" name="OB_NCPDP_MSG_HIST_INS_TRG" directorySegmentName="seg_0" id="1B0C9B85-42A9-DA19-8883-9FBFF5465075">
<sourceConnName>local_erx</sourceConnName>
<sourceObjSchema>ERX</sourceObjSchema>
<sourceObjName>OB_NCPDP_MSG_HIST_INS_TRG</sourceObjName>
<createdBy>DNS   WandlJ</createdBy>
<createdTime>2016-07-11 13:14:17 UTC</createdTime>
<ownerDesignName>eRx Database Model v2</ownerDesignName>
<actions>UPDATE</actions>
<body>DECLARE rec OUTBOUND_NCPDP_MSG_HIST%ROWTYPE;&lt;br/&gt;  blank OUTBOUND_NCPDP_MSG_HIST%ROWTYPE;&lt;br/&gt;  BEGIN&lt;br/&gt;    rec := blank;&lt;br/&gt;    IF UPDATING THEN&lt;br/&gt;      rec.OUTBOUND_NCPDP_MSG_ID   := :NEW.OUTBOUND_NCPDP_MSG_ID;&lt;br/&gt;      rec.MESSAGE_STATUS         := :NEW.MESSAGE_STATUS;&lt;br/&gt;      rec.UPDATE_DATE            := :NEW.UPDATE_DATE;&lt;br/&gt;      rec.CREATED_DATE           := :NEW.CREATED_DATE;&lt;br/&gt;    END IF;&lt;br/&gt;    INSERT INTO OUTBOUND_NCPDP_MSG_HIST VALUES rec;&lt;br/&gt;  END;</body>
<triggerTime>AFTER</triggerTime>
<owner>D9046BB6-4F49-0E5D-466F-6A8BD6405589</owner>
<table>9766F42D-B453-BE45-3C62-A8A38477669E</table>
</TriggerOraclev10g>