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

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

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

See Also