InventBatchJournalResultAttributeValue.validateAttributeValue Method
Validates a specific batch attribute value (locale or storage format) for a given index.
Syntax
public boolean validateAttributeValue(
PdsAttribValue _attributeValue,
int _index,
[PdsBatchAttribId _attributeId,
boolean _isLocaleFormat])
Run On
Called
Parameters
- _attributeValue
Type: PdsAttribValue Extended Data Type
The specific batch attribute value to validate.
- _index
Type: int
The index of the batch attribute value in the result attributes record.
- _attributeId
Type: PdsBatchAttribId Extended Data Type
The batch attribute ID corresponding to _index; optional for performance purposes.
- _isLocaleFormat
Type: boolean
Determines whether the _attributevalue is in locale format; optional.
Return Value
Type: boolean
true if the batch attribute value is a valid for input; otherwise, false.