Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 918271
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:20:49+00:00 2026-05-15T18:20:49+00:00

Version 4010 x12 messages support segments with composite elements (like REF04) which contain sub-elements

  • 0

Version 4010 x12 messages support segments with composite elements (like REF04) which contain sub-elements that are separated by sub-element separators.
Here is an example of a segment which uses ; [semicolon] as a segment separator, * as an element separator and : [colon] as a sub-element separator:
REF*ACT*12345678901234*ACCOUNTING CODE*3X:SUB CONTRACT NUMBER 1234567;

My question is this: If there is another segment in the message (for example N1) which is not a composite element and it happens to contain a sub-element separator, should the message be:
a.) Accepted, which means the sub-element separator in N102 (see example) gets ignored and treated as a regular character that is part of the element data
b.) Rejected, because sub-element separators can only appear inside composite elements, therefore it cannot be present in a N1 segment.

Example (with same separators as above – note that a colon appears in N102 as part of the data):
N1*PE*TEST:PARTY ONE;

Any input would be helpful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T18:20:50+00:00Added an answer on May 15, 2026 at 6:20 pm

    Based on the scenario you describe, I would reject the transaction. It violates X12 standards and would probably cause errors in most EDI translators or parsers.

    The X12 standards have this to say about delimiters such as the subelement separator (ISA16):

    Once specified in the interchange
    header, the delimiters are not to be
    used in a data element value elsewhere
    in the interchange.

    Assuming this is an inbound transaction, your trading partner should take steps to ensure that none of the data they send to you will contain any characters that are the same as the element separator, subelement separator, or segment terminator. If the subelement separator is a colon and colons cannot be avoided in their data, then another subelement separator should be used.

    As an aside, I would be careful about using semicolons as segment terminators. That is a character that often appears in data (e.g. addresses, product descriptions, etc.).

    It may seem like a hardship at first, but the X12 standards greatly facilitate the exchange of data in the long run.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

PHPList (version 2.10.17) fails to send messages to addresses that match one of the
Version used: Delphi 7. I'm working on a program that does a simple for
Version 1.0 of an application has a data model, which is saved/loaded using the
Short version : I would like the maven-glassfish-plugin to only be executed in the
I'm creating a simple BizTalk 2010 process that will convert a 4010 835 file
Version 3.1.3 if its relevant. There is this suggestion which may work now, but
Which version of the gcc compiler supports free const_iterator methods for containers, e.g.: cbegin
Version : 11.2.0.2.0 I'd like to verify the follow assertion I'm reading again in
since version 10 guava offers com.google.common.eventbus.EventBus - a generic pub-sub facility. It is not
Django (version 1.1.4 for what it's worth) is arbitrarily not finding items that are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.