- GE =
s::SegmentDef.build(:GE, "Functional Group Trailer",
"To indicate the end of a functional group and provider control information",
e::E97 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::E28 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)))
- GS =
s::SegmentDef.build(:GS, "Functional Group Header",
"To indicate the beginning of a functional group and to provider control information",
e::E479 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::E142 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::E124 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::E373 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::E337 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::E28 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::E455 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::E480 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)))
- SE =
s::SegmentDef.build(:SE, "Transaction Set Trailer",
"To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)",
e::E96 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::E329 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)))
- ST =
s::SegmentDef.build(:ST, "Transaction Set Header",
"To indicate the start of a transaction set and assign a control number",
e::E143 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::E329 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)))