Skip to content

/AWS1/CL_BDIX12DETAILS

A structure that contains the X12 transaction set and version. The X12 structure is used when the system transforms an EDI (electronic data interchange) file.

If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_TRANSACTIONSET TYPE /AWS1/BDIX12TRANSACTIONSET /AWS1/BDIX12TRANSACTIONSET

Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.

IV_VERSION TYPE /AWS1/BDIX12VERSION /AWS1/BDIX12VERSION

Returns the version to use for the specified X12 transaction set.


Queryable Attributes

transactionSet

Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.

Accessible with the following methods

Method Description
GET_TRANSACTIONSET() Getter for TRANSACTIONSET, with configurable default
ASK_TRANSACTIONSET() Getter for TRANSACTIONSET w/ exceptions if field has no valu
HAS_TRANSACTIONSET() Determine if TRANSACTIONSET has a value

version

Returns the version to use for the specified X12 transaction set.

Accessible with the following methods

Method Description
GET_VERSION() Getter for VERSION, with configurable default
ASK_VERSION() Getter for VERSION w/ exceptions if field has no value
HAS_VERSION() Determine if VERSION has a value