HostEventExporter

Code Extension Type: GENERAL_NOTICES_CODE_EXTENSION (on page 1)

Purpose: The HostEventExporter records a message in the Integration Service Message view form. You can use this form to modify and resend the message to the queue. N4 creates a SNX message that contains key information generated by a service event using the HostEventExporter code extension, and sends it to the outbound JMS queue.

Sample outbound message:

<host-outbound-message>

<event id="UNIT_DISCH" time-event-applied="2014-01-10T12:11:19" user-id="user:user1" is-billable="Y" entity="UNIT" entity-id="CNTU3242456">

  <field-changes>

    <field-change id="posName" new-value="Y-YARD1-EA" prev-value="V-AAATP" />

  </field-changes>

</event>

<move move-kind="DSCH" timestamp="2014-01-10T12:11:19">

  <from-position loc-type="VESSEL" location="AAATP" />

  <to-position loc-type="YARD" location="YARD1" slot="EA" />

  <move-details time-discharge="2014-01-10T12:11:19" time-put="2014-01-10T12:11:19" restow-reason="VESSELOP" />

</move>

</host-outbound-message>

Some of the attributes included in a message are:

HostEventExporter is a sample event exporter provided by Navis. You can also implement your own code extension based on your requirement.