Invoice actions
Use the Invoice actions to process invoices by using the Datacap Accounts Payable application.
The Invoice actions can configure date, fingerprint, format, and vendor settings on invoice pages before export.
- AddToDetailErrorMsg
Appends extra text to the existing error message. - AddToErrorMsg
Appends the supplied text to any existing error message string. - AllMixedCase
Changes the value of the current field to be Title case. The first letter of each word is capitalized. - AlterDatebyDay
Adds the specified number of days to the date contained in the current field. The original character confidence is not changed. - CalculateNotesZone
Creates a zone between detail lines to recognize the text between lines. - CaptureOpInfo
Captures the Operator, Station ID, and current time and place them into variables. The variables are named based on the provided variable prefix, such as, prefix Operator, prefix Station, and prefix Time. When, a prefix is not provided the task name is used as the prefix by default. - CheckAndFixDecimal
Replaces the space or comma with a decimal point. This action is used to fix errors where the decimal is not recognized and leaves a blank in that area. - CheckForSticky
For new fingerprints, checks whether there is another matching fingerprint within the same batch that was already verified. It can be used to obtain zone information. - CheckFreeDiskSpace
Reads the LowDiskSpaceThreshold setting from the [Notifications] section of the INI file that is specified in the first parameter. - ClearErrorMsg
Use this action to clear the current error message. - CreateFingerprint
Creates a fingerprint for the current page, even when there is an existing fingerprint. - DetailFix
Calculates the quantity, price, and line total when one of them is blank within a detail field. This calculation is done for all detail lines on the page. - FindExportImage
Searches the batch directory for a file that corresponds to the current page that contains the current field. The file extension must match the extension that is specified with the input parameter. - FPXMLUsed
Indicates when FPXML format fingerprint files are being used. Call this action when you are using fingerprints from FPXML with Invoice.rrx. - GenerateDetails
Sets up a field in APT and puts a detail subfield on every page. This extra detail subfield appears on all pages of a multi-page invoice, allowing every page to be viewed. - iloc_SetDetailSimple
Fills the Setup DCO from Runtime Data file. - IncrementBatchVar
Increments a batch level variable by 1. When the variable does not exist, it is created. When the variable exists but the value is not a number, the variable is set to 1. - IsFingerPrintClass
Connects to the fingerprint database and verifies that the specified fingerprint class contains the fingerprint ID of the current page. - IsInINI
Reads and returns to the action the value of the specified key in the INI file. - IsInList
Validates that the value of a field is contained within a string. - IsMultipageDocument
Determines whether the current object is a document with multiple pages attached. - IsSinglePageDocument
Determines whether the current object is a document with only 1 page attached. - IsStationIDSuffix
Tests the current station ID by checking that the specified parameter matches the rightmost portion of the station ID. - Is_JobNamePrefix
Tests the leftmost portion of the job name to determine if it matches the provided prefix. - LoadCCOFromField
Loads the DCO from a field object. The verify panels do not load the CCO into the scripting engine so this action accomplishes that task. - PopulateZNLineItemFieldDynamic
This action is like the PopulateZNLineItemField except that it uses the CCO that was loaded into memory by LoadCCOFromField, instead of the global CCO. - ReadFPXMLZones
Reads the zones from the FPXML into the objects for the page and stores the specified fields. When it creates detail lines, it knows the positions of the fields of these detail lines. - ScanLineItemDynamic
Scans the line items from the CCO that was loaded into the field. This action is like ScanLineItem except that it uses the CCO loaded for the field and reads position variables from the line item level. - SendOutlookNotification
Uses Outlook to send a notification to specified email addresses. The message within the email is determined by previous calls to actions with a set notification, such as CheckFreeDiskSpace. - SetDynamicDetailZones
Takes the position of the line items and builds the line coordinates. It sets the details zones from the first line to the end of the CCO. - SetStickyNo
Sets the Sticky indicator to No to indicate that there are no sticky fingerprints. Sticky fingerprints identify a page within a single verification session when another form of the same type appears after a previous form was zoned. - SwapImages
Interchanges the TIF for the current page with another TIF that has the same file name but a different extension. - SwitchMMDD
Switches US Month and Day date values. It swaps the first 2 characters of the field value with the 2 characters that follow the separator. - UpdateFPStats
Updates the fingerprint statistics in the fingerprint database. This action keeps track of the last accessed fingerprint and the number of times a fingerprint is accessed. - ValidateVendor
Checks whether the current vendor, vendor number, and postal code exist on the same record in the lookup database. - WriteErrorMessage
Writes the message to field level variable message that appears in the status bar. The message is stored in the MESSAGE variable.
Parent topic: Global actions