Codeunit 447 "Record Link Management"
System Application · System.Utilities
Across versions
- BC23-25present
- BC261 events removed
- BC27-30unchanged
Neighbourhood 40 connected objects and pages
System Application · System.Utilities · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
| SingleInstance | true |
Events published
OnAfterCopyLinks(FromRecord: Variant; ToRecord: Variant)(integration): Integration event for after copying links from one record to the other.
Procedures
CopyLinks(FromRecord: Variant; ToRecord: Variant): Copies all the links from one record to the other and sets Notify to FALSE for them.WriteNote(var RecordLink: Record "Record Link"; Note: Text): Writes the Note BLOB into the format the client code expects.ReadNote(RecordLink: Record "Record Link"): Text: Read the Note BLOBRemoveLinks(RecVariant: Variant): Removes all record links from all records in the RecVariant within current filtersRemoveOrphanedLinks(): Iterates over the record link table and removes those with obsolete record ids.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 4470 “Record Link Impl.” (5 calls:
CopyLinks → CopyLinks,ReadNote → ReadNote,RemoveLinks → RemoveLinks, …)
Called by
- Codeunit 5139 “Job Archive Management” (7 calls:
RenameJobArchieve → CopyLinks,RenameJobPlanningLineArchive → CopyLinks,RenameJobTaskArchive → CopyLinks, …) - Codeunit 80 “Sales-Post” (5 calls:
InsertCrMemoHeader → CopyLinks,InsertInvoiceHeader → CopyLinks,InsertReturnReceiptHeader → CopyLinks, …) - Codeunit 90 “Purch.-Post” (5 calls:
InsertCrMemoHeader → CopyLinks,InsertInvoiceHeader → CopyLinks,InsertReceiptHeader → CopyLinks, …) - Codeunit 5063 “ArchiveManagement” (4 calls:
RestoreSalesDocument → CopyLinks,RestoreSalesLines → CopyLinks,StorePurchDocument → CopyLinks, …) - Codeunit 5355 “CRM Notes Synch Job” (3 calls:
CreateCRMAnnotation → ReadNote,ModifyNote → ReadNote,ModifyNote → WriteNote) - Codeunit 5988 “Serv-Documents Mgt.” (3 calls:
PrepareCrMemoHeader → CopyLinks,PrepareInvoiceHeader → CopyLinks,PrepareShipmentHeader → CopyLinks) - Codeunit 6041 “Service Document Archive Mgmt.” (3 calls:
RestoreServiceDocument → CopyLinks,RestoreServiceLines → CopyLinks,StoreServiceDocument → CopyLinks) - Table 5970 “Filed Service Contract Header” (3 calls:
FileContract → CopyLinks,FileServiceContractContractServDiscounts → CopyLinks,FileServiceContractServiceHours → CopyLinks) - Table 20406 “Qlty. Inspection Line” (2 calls:
GetMeasurementNote → ReadNote,SetMeasurementNote → WriteNote) - Codeunit 13 “Gen. Jnl.-Post Batch” (1 call:
UpdateAndDeleteLines → RemoveLinks) - Codeunit 1305 “Sales-Quote to Invoice” (1 call:
MoveLineCommentsToSalesInvoice → CopyLinks) - Codeunit 1509 “Notification Entry Dispatcher” (1 call:
AddNote → WriteNote) - Codeunit 1535 “Approvals Mgmt.” (1 call:
PostApprovalEntries → CopyLinks) - Codeunit 1690 “Bank Deposit-Post” (1 call:
InsertPostedBankDepositHeader → CopyLinks) - Codeunit 213 “Res. Jnl.-Post Batch” (1 call:
Code → RemoveLinks) - Codeunit 23 “Item Jnl.-Post Batch” (1 call:
HandleNonRecurringLine → RemoveLinks) - Codeunit 4470 “Record Link Impl.” (1 call:
CopyLinks → OnAfterCopyLinks) - Codeunit 454 “Job Queue - Send Notification” (1 call:
SetText → WriteNote) - Codeunit 5341 “CRM Int. Table. Subscriber” (1 call:
CreateNote → WriteNote) - Codeunit 5343 “CRM Sales Order to Sales Order” (1 call:
CreateNote → WriteNote) - Codeunit 5348 “CRM Quote to Sales Quote” (1 call:
CreateNote → WriteNote) - Codeunit 5600 “FA Insert Ledger Entry” (1 call:
CopyRecordLinksToFALedgEntry → CopyLinks) - Codeunit 5704 “TransferOrder-Post Shipment” (1 call:
RunWithCheck → CopyLinks) - Codeunit 5705 “TransferOrder-Post Receipt” (1 call:
RunWithCheck → CopyLinks) - Codeunit 5760 “Whse.-Post Receipt” (1 call:
CreatePostedRcptHeader → CopyLinks) - Codeunit 5763 “Whse.-Post Shipment” (1 call:
CreatePostedShptHeader → CopyLinks) - Codeunit 5850 “Invt. Doc.-Post Receipt” (1 call:
OnRun → CopyLinks) - Codeunit 5851 “Invt. Doc.-Post Shipment” (1 call:
OnRun → CopyLinks) - Codeunit 5856 “TransferOrder-Post Transfer” (1 call:
RunWithCheck → CopyLinks) - Codeunit 5923 “Service-Quote to Order” (1 call:
MakeOrder → CopyLinks) - Codeunit 5940 “ServContractManagement” (1 call:
CreateServHeader → CopyLinks) - Codeunit 5944 “SignServContractDoc” (1 call:
SignContractQuote → CopyLinks) - Codeunit 7307 “Whse.-Activity-Register” (1 call:
CreateRegActivHeader → CopyLinks) - Codeunit 7324 “Whse.-Activity-Post” (1 call:
CreatePostedActivHeader → CopyLinks) - Codeunit 86 “Sales-Quote to Order” (1 call:
OnRun → CopyLinks) - Codeunit 87 “Blanket Sales Order to Order” (1 call:
OnRun → CopyLinks) - Codeunit 900 “Assembly-Post” (1 call:
Post → CopyLinks) - Codeunit 96 “Purch.-Quote to Order” (1 call:
OnRun → CopyLinks) - Codeunit 97 “Blanket Purch. Order to Order” (1 call:
OnRun → CopyLinks) - Table 904 “Assemble-to-Order Link” (1 call:
CopyAsmToNewAsmOrder → CopyLinks)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Record Link Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.