SpecTrans::existOtherRefRecords Method
Determines whether additional SpecTrans records exist that contain the same Spec references.
Syntax
server public static boolean existOtherRefRecords(
CompanyId _specCompany,
TableId _specTableId,
RecId _specRecId,
CompanyId _refCompany,
TableId _refTableId,
RefRecId _refRecId)
Run On
Server
Parameters
- _specCompany
Type: CompanyId Extended Data Type
The spec company of the SpecTrans record to find.
- _specTableId
Type: TableId Extended Data Type
The spec table ID of the SpecTrans record to find.
- _specRecId
Type: RecId Extended Data Type
The spec record ID of the SpecTrans record to find.
- _refCompany
Type: CompanyId Extended Data Type
The reference company of the SpecTrans record.
- _refTableId
Type: TableId Extended Data Type
The reference table ID of the SpecTrans record.
- _refRecId
Type: RefRecId Extended Data Type
The reference record ID of the SpecTrans record.
Return Value
Type: boolean
true if any records exist for the Spec references other than the passed in parameters; otherwise, false.
Remarks
This method is used during the autosettle process to determine whether a transaction should be autosettled.