Returns True if the supplied Global Location Number (GLN) is valid.

Syntax

ISValidation.IsValidGlobalLocationNumber(value, [message], [newValue], [allowBlank], [terminology], [prefix], [length])

Parameters

NameTypeOptionalByRefDescription
value String The GLN to validate.
message String Optional ByRef If False includes the reason.
newValue String Optional ByRef The formatted GLN number, spaces and dashes removed.
allowBlank Boolean Optional If omitted, a value of False is assumed.
terminology String Optional The term to use in messages, e.g. GLN, GTIN, NZBN. If omitted, a value of GLN is assumed.
prefix String Optional If defined, the GLN must start with this prefix.
length Integer Optional The length of the GLN, including the check digit. Typically 13 digits. If omitted, a value of 13 is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISValidation
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0