Function: transactionCountMismatch()
transactionCountMismatch(
position):X12ParseWarning
Build an X12_TRANSACTION_COUNT_MISMATCH warning. Emitted when GE-01
does not equal the actual number of ST..SE transaction sets present in
the group. Both numbers stay on the model (ge.elements[1] and
group.transactions.length).
Parameters
position
Returns
Example
import { transactionCountMismatch } from "@cosyte/x12";
const w = transactionCountMismatch({ segmentIndex: 4, groupIndex: 0, elementIndex: 1 });