Sha256: c32094916238460ed43bea57367f857e871fd266f13801a098f246295c341dfe

Contents?: true

Size: 1.61 KB

Versions: 2

Compression:

Stored size: 1.61 KB

Contents

<!--
  (c) 2019 Clay Dunston
  The code in this file is licensed under the MIT license.
-->

<!--
  This is an example of a message definition spread among several
  files: main loop is here, all other definitions, i.e., segments,
  composites, validation tables live in separate files.
-->

<Definition>
  <Loop name="855" comment="">
    <Segment name="ISA" max="1" required="y" />
    <Segment name="GS" max="1" required="y" />

    <Segment name="ST" max="1" required="y">
      <Field name="TransactionSetIdentifierCode" const="855" min="3" max="3" comment="Code uniquely identifying a Transaction Set" />
      <Field name="TransactionSetControlNumber" min="4" max="9" comment="Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set" />
    </Segment>
    <Segment name="BAK" max="1" required="y" />

    <Loop name="L1000" max="200">
      <Segment name="N1" max="1" required="n" />
      <Segment name="N3" max="2" required="n" />
      <Segment name="N4" min="1" required="n" />
    </Loop>

    <Loop name="L1010" max="100000">
      <Segment name="PO1" max="1" required="y" />
      <Loop name="L1020" min="1">
        <Segment name="PID" max="1" required="n" />
      </Loop>
      <Loop name="L1030" max="104">
        <Segment name="ACK" max="1" required="y" />
      </Loop>
    </Loop>

    <Loop name="L1040" max="1">
      <Segment name="CTT" max="1" required="y" />
    </Loop>

    <Segment name="SE" max="1" required="y" />

    <Segment name="GE" max="1" required="y" />
    <Segment name="IEA" max="1" required="y" />
  </Loop>
</Definition>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tcd_x12-1.7.1 misc/855.xml
tcd_x12-1.7.0 misc/855.xml