Will validate the supplied Global Location Number (GLN).

Syntax

finSupportedCountryBase.ValidateGLN(rawValue, country, length, newValue, [terminology])

Parameters

NameTypeOptionalByRefDescription
rawValue String The GLN.
country String If applicable, the country code prefix to Validate. NZ=94.
length Integer The length of the GLN, including the check digit.
newValue String ByRef The cleaned GLN number, spaces and dashes removed.
terminology String Optional The term to use in messages, e.g. GLN, GTIN, NZBN. If omitted, a value of GLN is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finSupportedCountryBase
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0