Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _tax1099Box
Type: Tax1099Box Extended Data Type
The Tax1099Box field of the record in question
- _tax1099FormDescription
Type: Tax1099FormDescription Extended Data Type
The Description field of the record in question
- _tax1099Amount
Type: Tax1099Amount Extended Data Type
The Tax1099Amount field of the record in question
- _tax1099Type
Type: Tax1099Type Enumeration
The Tax1099Type field of the record in question
- _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.