Codeunit "Record Link Management"
ID 447
Namespace: System.Utilities
Exposes functionality to administer record links related to table records.
Properties
Name | Value |
---|---|
Access | Public |
SingleInstance | True |
Methods
CopyLinks
Copies all the links from one record to the other and sets Notify to FALSE for them.
procedure CopyLinks(FromRecord: Variant, ToRecord: Variant)
Parameters
Name | Type | Description |
---|---|---|
FromRecord | Variant |
The source record from which links are copied. |
ToRecord | Variant |
The destination record to which links are copied. |
WriteNote
procedure WriteNote(RecordLink: __MissingTypeSymbol__, Note: Text)
Parameters
Name | Type | Description |
---|---|---|
RecordLink | __MissingTypeSymbol__ | |
Note | Text |
ReadNote
procedure ReadNote(RecordLink: __MissingTypeSymbol__): Text
Parameters
Name | Type | Description |
---|---|---|
RecordLink | __MissingTypeSymbol__ |
Returns
Type | Description |
---|---|
Text |
RemoveLinks
Removes all record links from all records in the RecVariant within current filters
procedure RemoveLinks(RecVariant: Variant)
Parameters
Name | Type | Description |
---|---|---|
RecVariant | Variant |
A filtered record. All record links associated with records within the filtered recordset will be deleted. |
RemoveOrphanedLinks
Iterates over the record link table and removes those with obsolete record ids.
procedure RemoveOrphanedLinks()