RAssetDocument::existByRef Method
Validates whether any document of the specified type exists that references the specified record.
Syntax
client server public static boolean existByRef(
RAssetId _assetId,
RAssetReportType _type,
Common _record)
Run On
Called
Parameters
- _assetId
Type: RAssetId Extended Data Type
The asset ID.
- _type
Type: RAssetReportType Enumeration
The document type.
- _record
Type: Common Table
The related document record.
Return Value
Type: boolean
true if any document of the specified type exists that references the specified record.
Remarks
The _assetId parameter is added to help the DBMS use the existing index (AssetIdTypeNumIdx).