/AWS1/CL_BDIX12VALIDATIONRULE¶
Represents a single validation rule that can be applied during X12 EDI processing. This is a union type that can contain one of several specific validation rule types: code list validation rules for modifying allowed element codes, element length validation rules for enforcing custom length constraints, or element requirement validation rules for changing mandatory/optional status. Each validation rule targets specific aspects of EDI document validation to ensure compliance with trading partner requirements and business rules.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
io_codelistvalidationrule TYPE REF TO /AWS1/CL_BDIX12CODELSTVALIDA00 /AWS1/CL_BDIX12CODELSTVALIDA00¶
Specifies a code list validation rule that modifies the allowed code values for a specific X12 element. This rule enables you to customize which codes are considered valid for an element, allowing for trading partner-specific code requirements.
io_elementlengthvalidationrl TYPE REF TO /AWS1/CL_BDIX12ELEMENTLENGTH00 /AWS1/CL_BDIX12ELEMENTLENGTH00¶
Specifies an element length validation rule that defines custom length constraints for a specific X12 element. This rule allows you to enforce minimum and maximum length requirements that may differ from the standard X12 specification.
io_elementreqvalidationrule TYPE REF TO /AWS1/CL_BDIX12ELEMENTREQVAL00 /AWS1/CL_BDIX12ELEMENTREQVAL00¶
Specifies an element requirement validation rule that modifies whether a specific X12 element is required or optional within a segment. This rule provides flexibility to accommodate different trading partner requirements for element presence.
Queryable Attributes¶
codeListValidationRule¶
Specifies a code list validation rule that modifies the allowed code values for a specific X12 element. This rule enables you to customize which codes are considered valid for an element, allowing for trading partner-specific code requirements.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CODELISTVALIDATIONRULE() |
Getter for CODELISTVALIDATIONRULE |
elementLengthValidationRule¶
Specifies an element length validation rule that defines custom length constraints for a specific X12 element. This rule allows you to enforce minimum and maximum length requirements that may differ from the standard X12 specification.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ELEMENTLENGTHVALIDATIO00() |
Getter for ELEMENTLENGTHVALIDATIONRULE |
elementRequirementValidationRule¶
Specifies an element requirement validation rule that modifies whether a specific X12 element is required or optional within a segment. This rule provides flexibility to accommodate different trading partner requirements for element presence.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ELEMENTREQVALIDATIONRULE() |
Getter for ELEMENTREQVALIDATIONRULE |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_X12VALIDATIONRULES¶
TYPES TT_X12VALIDATIONRULES TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDIX12VALIDATIONRULE WITH DEFAULT KEY
.