ScanDetailsByLines
Searches a line item grid object for line items, where each line item consists of the specified number of rows.
Syntax
bool ScanDetailsByLines (sParam)Parameters
Number of lines in each lineitem. Smart parameters are supported.Returns
True if the bound Field object contains lines of data. Otherwise, False.Level
Field level.Details
Searches the DETAILS Field object’s zone for instances of a LINEITEM Field object. Captures the data based on the number of lines (parameter) in a Line Item table, row by row.This action captures all potential LINEITEM rows (consisting of 2 lines each) in the parent DETAILS field, even rows that may not fit your criteria for content.
Attention: You must run additional
rulesets to delete ineligible Line Items. In the Invoices application,
these are the Clean and Filter rulesets.
- Example
ScanDetailsByLines("2")