Share via


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

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).

See Also

Reference

RAssetDocument Table