Definition of x12_an, x12_r, and x12_n2 node types in BizTalk EDI X12 Schema

Source: Internet
Author: User
Tags biztalk

The following table lists the data types used in the schema of the BizTalk EDI X12 file:

X12_n-numeric type (integer)

X12_r-real type (real ). Format: [Sign] integral-digits [. [fractional-digits], Sign (Symbol) can only be "-", not "+"
Note:
Use Shema in vs2005 ide to verify the XML instance. If the content of a node of this type contains numbers "0" or spaces (such as 12.20, 005 ), the following error message appears:
Error 16 segment level: Field error: Segment ID-mea: field position-3: Current Value-12.20: [6] invalid character in Data Element
This XML instance cannot pass Shema verification in any way,
However, in the EDI properties X12 properties-> party as interchage sender-> ack generation and validation settings of the party,
Check the allow leading and trailing zeros and spaces check boxes. This XML can be verified during the parsing run of EDI pipeline.

X12_an- Alphanumeric)

X12_id- Enumeration type

X12_dt-date type (datetime)

X12_tm-time)

X12_nx-specifies the decimal digit type. X> 0. If it is set"N2 "indicates that the value 1234 of the X12 file after pipeline resolution is converted to 12.34
Note:
To enable automatic conversion, you must go to the EDI attribute X12 Properties> party as interchage sender> ack generation and validation settings of the party,
Check the convert implied decimal format NN to base 10 numeric value check box.

-- In fact, the above types are consistent with the standard type definitions in the ansi edi X12 document.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.