Skip to main content

Document links

:::info Status Outline — expand with a full worked example (e.g. wiring a new source→target document link). :::

Document links let one document spawn or reference another — e.g. an Invoice with a "Create Waybill" button that produces a linked Waybill.

The pieces

  • [SourceFor] on the source document's Dto — drives the generated "Create {Type}" button.
  • IDocumentReaderService / IDocumentLinkService — read and persist links (Sys_DocumentLinks).
  • A Document-kind [Dialog] selector for manually linking two existing documents.
  • An unconditional "Links" View tab, present on every document regardless of whether it has any [SourceFor] relationships configured.

See also