Share via


Tax1099Fields.verifyRecord Method

Verifies that the specified Tax1099Field record exists and creates or updates it as needed.

Syntax

private boolean verifyRecord(
    Tax1099Fields _tax1099Fields, 
    RecordInsertList _recordInsertList, 
    Tax1099Box _tax1099Box, 
    Tax1099FormDescription _tax1099FormDescription, 
    Tax1099Amount _tax1099Amount, 
    Tax1099Type _tax1099Type, 
   [boolean _forceupdate])

Run On

Called

Parameters

  • _tax1099Fields
    Type: Tax1099Fields Table
    In Memory version of Tax1099Fields table that contains records to check against
  • _recordInsertList
    Type: RecordInsertList Class
    Record Insert List to add records to to be inserted outside of function
  • _forceupdate
    Type: boolean
    Defaults false. If true, ignores user changes to a record and forces it to the given values

Return Value

Type: boolean
A boolean indicating if any records were updated

Exceptions

Exception Condition
Error

Exception thrown if _tax1099Fields is not an inMemory table or _recordInsertList is not initilized.

Remarks

Function is meant to be called inside a transaction scope and with the first two arguments set up appropriatly. See createTax1099Fields function for example.

See Also

Reference

Tax1099Fields Table