Function: unknownCarc()
unknownCarc(
position):X12ParseWarning
Build an X12_UNKNOWN_CARC warning. Emitted when a CAS adjustment
carries a CARC code outside the bundled snapshot (see
"../code-lists/carc.js".CARC). The verbatim code is preserved on
the parsed adjustment (adjustment.reasonCode); only the description is
missing.
Parameters
position
Returns
Example
import { unknownCarc } from "@cosyte/x12";
const w = unknownCarc({ segmentIndex: 14, groupIndex: 0, transactionIndex: 0 });