ValidationErrorLine Property

The line number in the EDI document where the error occurred.

Syntax

ANSI (Cross Platform)
int GetValidationErrorLine(int iValidationErrorIndex);

Unicode (Windows)
INT GetValidationErrorLine(INT iValidationErrorIndex);
- (int)validationErrorLine:(int)validationErrorIndex;
#define PID_X12VALIDATOR_VALIDATIONERRORLINE 10

IPWORKSX12_EXTERNAL void* IPWORKSX12_CALL IPWorksX12_X12Validator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSX12_EXTERNAL int IPWORKSX12_CALL IPWorksX12_X12Validator_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

The line number in the EDI document where the error occurred. This value may be used in conjunction with the ValidationErrorColumn property to determine the exact location within the EDI document where the error occurred.

The ValidationErrorIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ValidationErrorCount property.

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks X12 2020 C++ Edition - Version 20.0 [Build 8155]