ValidateVendor
Checks whether the current vendor, vendor number, and postal code exist on the same record in the lookup database.
Syntax
bool ValidateVendor (StrParam)
Parameters
The connection string to the lookup database. Smart Parameters are supported.Returns
False if the connection cannot be opened or if the settings file cannot be found.False if these fields cannot be found: Vendor, Vendor_Number, or Remittance_Zip.
False if the vendor cannot be found in the database.
Otherwise, True.
Level
Page level.Details
The fields that are validated are in the validate vendor check are Vendor, Vendor_Number, and Remittance_Zip.- Example
SetIsOverrideable("False") ValidateVendor("@APPVAR(*/lookupdb:cs)")