CallPOLR

Pre-matches invoice line items with the purchase order before it runs the verification task.

Syntax

bool CallPOLR (StrParam)

Parameters

The ADOBDB constant number for the PO number field. When using bind variables, the data type of the PO Number is specified with this action.

Returns

Always True.

Level

Page level.

Details

This action is used to pre-match invoice line items with the PO prior to verify operator verification. The record set for the PO is retrieved using the information in the settings.ini. This calls the record set according to the DSN in the settings.ini. PODSN and POLookup indicate how to obtain the record set. The record set is expected to be the line items for the PO for the current document and is keyed off of the PO number. It then uses the POLR logic to perform the automatic matching.
Note: The TestPODSN and PODSN ini entries support smart parameters to allow for secure connection strings.
The settings ini file must contain values for these keys:
  • [POLR]
  • Qty=
  • ItemID=
  • Price=
  • WriteUnusedPOLInes=
  • PriceTolerance=
  • SeparatorCharacter=
If the station name has a suffix of "-Test" then this key must exist:
  • [Database]
  • TestPODSN=
  • TestPOLookup=
If the station name does not have a suffix of "-Test" then this key must exist:
  • [Database]
  • PODSN=
  • POLookup=
Example:
CallPOLR("200")