Skip to main content
Version: v0.0.2

Interface: X12Ack999Ik3

The decoded IK3 implementation data segment note (loop 2100).

  • segmentIdCode - IK3-01: the X12 segment identifier (e.g. NM1, CLP, HL).
  • segmentPositionInTransactionSet - IK3-02: 1-indexed position of the offending segment inside the inbound ST..SE.
  • loopIdentifier - IK3-03: situational; the loop identifier (e.g. 2010BA) where the offending segment lives.
  • syntaxErrorCode - IK3-04: situational; one of Ik304Code. undefined when the parent IK3 is purely a context wrapper for nested IK4s (the per-element error path).

Example

import type { X12Ack999SegmentNote } from "@cosyte/x12";
declare const note: X12Ack999SegmentNote;
note.ik3.segmentIdCode; // "NM1"
note.ik3.segmentPositionInTransactionSet; // 8

Properties

loopIdentifier

readonly loopIdentifier: string | undefined


segmentIdCode

readonly segmentIdCode: string


segmentPositionInTransactionSet

readonly segmentPositionInTransactionSet: number


syntaxErrorCode

readonly syntaxErrorCode: Ik304Code | undefined