DELETELINKS Function (Record)

Deletes all of the links that have been added to a record.

Syntax


Record.DELETELINKS  

Parameters

Record
Type: Record

The record that contains the links to delete.

Example

The following example removes all the links from the specified record (number 30000) in the Vendor table. This example requires that you create the following variable in the C/AL Globals window.

Variable name DataType Subtype
MyRecord Record Vendor

MyRecord.GET('30000');  
MyRecord.DELETELINKS;  

See Also

DELETELINKS Function (RecordRef)
Record Data Type