---
id: object/codeunit/30262
type: object
title: Codeunit 30262 "Shpfy Document Link Mgt."
summary: Codeunit 30262 "Shpfy Document Link Mgt." in Shopify (Microsoft.Integration.Shopify). 1 public procedures, 4 event subscribers. Introduced in BC29, still in BC30, changed in BC30.
tier: official
language: en
tags:
  - codeunit
  - shopify
versions:
  introduced: "29"
  last_changed: "30"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: eacc8ebfedc599d25c9b464119013d211fef1d0f61607ec78d1d7da7c0050227
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Shopify/app/src/Document%20Links/Codeunits/ShpfyDocumentLinkMgt.Codeunit.al
    title: src/Apps/W1/Shopify/app/src/Document Links/Codeunits/ShpfyDocumentLinkMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12215
    - change/bcapps/9525
    - change/bcapps/10741
object_type: codeunit
object_id: 30262
name: Shpfy Document Link Mgt.
namespace: Microsoft.Integration.Shopify
app: Shopify
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in:
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 5
  events: 0
  subscribers: 4
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Codeunit 30262 "Shpfy Document Link Mgt."

> Codeunit 30262 "Shpfy Document Link Mgt." in Shopify (Microsoft.Integration.Shopify). 1 public procedures, 4 event subscribers. Introduced in BC29, still in BC30, changed in BC30.

Shopify · Microsoft.Integration.Shopify · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Shopify/app/src/Document%20Links/Codeunits/ShpfyDocumentLinkMgt.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Permissions | TableData "Shpfy Doc. Link To Doc." = imd |

## Event subscriptions

- OnDeleteSalesHeader subscribes to Table "Sales Header" OnAfterDeleteEvent
- OnAfterDelete subscribes to Codeunit "PostSales-Delete" OnAfterDeleteHeader
- OnBeforeDeleteAfterPosting subscribes to Codeunit "Sales-Post" OnBeforeDeleteAfterPosting
- OnAfterSalesPosting subscribes to Codeunit "Sales-Post" OnAfterPostSalesDoc

## Procedures

- `CreateNewDocumentLink(DocumentType: Enum "Shpfy Shop Document Type"; DocumentId: BigInteger; BCDocumentType: Enum "Shpfy Document Type"; DocumentNo: code[20])` (internal)

## Recent changes

- 2026-10-06 [#12215 [Shopify] Link grouped invoice to all originating orders](../../changes/bcapps/12215.md) (main, BC30, fix)
- 2026-09-18 [#9525 [Shopify] Automatic Transaction Posting](../../changes/bcapps/9525.md) (main, BC30, feature)
- 2026-08-28 [#10741 [Shopify] Fix exchange refund order links, totals, and refund page layout](../../changes/bcapps/10741.md) (main, BC30, fix)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: BC30

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). 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: "Shpfy Document Link Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
