{
  "title": "Codeunit 5701 Item Subst.",
  "url": "https://jonas-paprotka.de/ref/codeunit/5701-item-subst/",
  "author": "Jonas Paprotka",
  "license": "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link.",
  "subject": "Microsoft Dynamics 365 Business Central",
  "checked": "2026-09-20",
  "source": {
    "feed": "https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json",
    "package": "Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972",
    "build": "28.5.54151.54365",
    "code": {
      "29": {
        "url": "https://jonas-paprotka.de/ref/codeunit/5701-item-subst/source/29/",
        "repo": "https://github.com/microsoft/BCApps",
        "branch": "releases/29.x",
        "commit": "a66254c3b8b5bb1cea290dc8f9d097aec4381153",
        "path": "src/Layers/W1/BaseApp/Inventory/Item/Substitution/ItemSubst.Codeunit.al",
        "license": "MIT"
      }
    },
    "note": "Presence per major, highest build of each; 17 is the oldest major on the feed. Local procedures are not listed."
  },
  "object": {
    "type": "codeunit",
    "id": 5701,
    "name": "Item Subst.",
    "app": "Base Application",
    "appByVersion": [
      {
        "app": "Base Application",
        "from": 17
      }
    ],
    "nameByVersion": [
      {
        "name": "Item Subst.",
        "from": 17
      }
    ],
    "namespace": "Microsoft.Inventory.Item.Substitution",
    "versions": "17-28",
    "majors": [
      17,
      18,
      19,
      20,
      21,
      22,
      23,
      24,
      25,
      26,
      27,
      28
    ],
    "extends": null,
    "sourceTable": null,
    "sourceFile": "Inventory/Item/Substitution/ItemSubst.Codeunit.al",
    "obsolete": null,
    "obsoleteSeenFrom": null,
    "byVersion": {
      "17": {
        "app": "base-application",
        "name": "Item Subst.",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 27,
          "values": 0
        },
        "stub": false
      },
      "18": {
        "app": "base-application",
        "name": "Item Subst.",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 28,
          "values": 0
        },
        "stub": false
      },
      "19": {
        "app": "base-application",
        "name": "Item Subst.",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 29,
          "values": 0
        },
        "stub": false
      },
      "20": {
        "app": "base-application",
        "name": "Item Subst.",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 29,
          "values": 0
        },
        "stub": false
      },
      "21": {
        "app": "base-application",
        "name": "Item Subst.",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 29,
          "values": 0
        },
        "stub": false
      },
      "22": {
        "app": "base-application",
        "name": "Item Subst.",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 29,
          "values": 0
        },
        "stub": false
      },
      "23": {
        "app": "base-application",
        "name": "Item Subst.",
        "ns": "Microsoft.Inventory.Item.Substitution",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 29,
          "values": 0
        },
        "stub": false
      },
      "24": {
        "app": "base-application",
        "name": "Item Subst.",
        "ns": "Microsoft.Inventory.Item.Substitution",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 29,
          "values": 0
        },
        "stub": false
      },
      "25": {
        "app": "base-application",
        "name": "Item Subst.",
        "ns": "Microsoft.Inventory.Item.Substitution",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 31,
          "values": 0
        },
        "stub": false
      },
      "26": {
        "app": "base-application",
        "name": "Item Subst.",
        "ns": "Microsoft.Inventory.Item.Substitution",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 38,
          "values": 0
        },
        "stub": false
      },
      "27": {
        "app": "base-application",
        "name": "Item Subst.",
        "ns": "Microsoft.Inventory.Item.Substitution",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 38,
          "values": 0
        },
        "stub": false
      },
      "28": {
        "app": "base-application",
        "name": "Item Subst.",
        "ns": "Microsoft.Inventory.Item.Substitution",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 37,
          "values": 0
        },
        "stub": false
      }
    },
    "fields": [],
    "keys": [],
    "procedures": [
      {
        "name": "ItemSubstGet",
        "sig": "(var Record Sales Line)",
        "returns": "Boolean",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 20,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 21,
            "to": 28,
            "returns": "Boolean",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "ItemServiceSubstGet",
        "sig": "(var Record Service Line)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Moved to codeunit ServItemSubstitution",
          "tag": "25.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27
        ],
        "range": "17-27",
        "first": 17,
        "last": 27,
        "obsoleteSince": 25,
        "spans": [
          {
            "from": 17,
            "to": 24,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 25,
            "to": 27,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Moved to codeunit ServItemSubstitution",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "GetCompSubst",
        "sig": "(var Record Prod. Order Component)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Moved to codeunit Mfg. Item Substitution as GetProdOrderCompSubst()",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Moved to codeunit Mfg. Item Substitution as GetProdOrderCompSubst()",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "UpdateComponent",
        "sig": "(var Record Prod. Order Component, Code[20], Code[10])",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Moved to codeunit Mfg. Item Substitution as UpdateProdOrderComp()",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Moved to codeunit Mfg. Item Substitution as UpdateProdOrderComp()",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "PrepareSubstList",
        "sig": "(Code[20], Code[10], Code[10], Date, Boolean)",
        "returns": "Boolean",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by procedure FindItemSubstitutions()",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "Boolean",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "Boolean",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by procedure FindItemSubstitutions()",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "GetTempItemSubstList",
        "sig": "(var Record Item Substitution)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Use procedure FindItemSubstitutions with parameters TempItemSubstitutions instead.",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Use procedure FindItemSubstitutions with parameters TempItemSubstitutions instead.",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "ErrorMessage",
        "sig": "(Code[20], Code[10])",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "ItemAssemblySubstGet",
        "sig": "(var Record Assembly Line)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "CalcCustPrice",
        "sig": "(var Record Item Substitution, var Record Item Substitution, var Record Sales Line)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "18-28",
        "first": 18,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 18,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "RunOnInsertInSubstServiceListOnAfterCalcQtyAvail",
        "sig": "(var Record Item, Record Service Line, var Record Item Substitution)",
        "returns": "",
        "kind": "procedure",
        "access": "internal",
        "obsolete": null,
        "majors": [
          25,
          26,
          27,
          28
        ],
        "range": "25-28",
        "first": 25,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 25,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "internal",
            "obsolete": null
          }
        ]
      },
      {
        "name": "RunOnInsertInSubstServiceListOnBeforeCalcQtyAvail",
        "sig": "(var Record Item, Record Service Line, var Record Item Substitution)",
        "returns": "",
        "kind": "procedure",
        "access": "internal",
        "obsolete": null,
        "majors": [
          25,
          26,
          27,
          28
        ],
        "range": "25-28",
        "first": 25,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 25,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "internal",
            "obsolete": null
          }
        ]
      },
      {
        "name": "FindItemSubstitutions",
        "sig": "(var Record Item Substitution, Code[20], Code[10], Code[10], Date, Boolean, var Decimal, var Decimal)",
        "returns": "Boolean",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          26,
          27,
          28
        ],
        "range": "26-28",
        "first": 26,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 26,
            "to": 28,
            "returns": "Boolean",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "RunOnAfterGetCompSubst",
        "sig": "(var Record Prod. Order Component, var Record Item Substitution)",
        "returns": "",
        "kind": "procedure",
        "access": "internal",
        "obsolete": null,
        "majors": [
          26,
          27,
          28
        ],
        "range": "26-28",
        "first": 26,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "internal",
            "obsolete": null
          }
        ]
      },
      {
        "name": "RunOnAfterUpdateComponentBeforeAssign",
        "sig": "(var Record Prod. Order Component, var Record Prod. Order Component)",
        "returns": "",
        "kind": "procedure",
        "access": "internal",
        "obsolete": null,
        "majors": [
          26,
          27,
          28
        ],
        "range": "26-28",
        "first": 26,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "internal",
            "obsolete": null
          }
        ]
      },
      {
        "name": "RunOnBeforeUpdateComponent",
        "sig": "(var Record Prod. Order Component, Code[20], Code[10], var Boolean)",
        "returns": "",
        "kind": "procedure",
        "access": "internal",
        "obsolete": null,
        "majors": [
          26,
          27,
          28
        ],
        "range": "26-28",
        "first": 26,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "internal",
            "obsolete": null
          }
        ]
      },
      {
        "name": "RunOnGetCompSubstOnAfterCheckPrepareSubstList",
        "sig": "(var Record Prod. Order Component, var Record Item Substitution, var Record Item, var Decimal, var Decimal)",
        "returns": "",
        "kind": "procedure",
        "access": "internal",
        "obsolete": null,
        "majors": [
          26,
          27,
          28
        ],
        "range": "26-28",
        "first": 26,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "internal",
            "obsolete": null
          }
        ]
      }
    ],
    "events": [
      {
        "name": "OnAfterGetCompSubst",
        "sig": "(var Record Prod. Order Component, var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Moved to codeunit Mfg. Item Substitution",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Moved to codeunit Mfg. Item Substitution",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "OnAfterItemSubstGet",
        "sig": "(var Record Sales Line, Record Sales Line)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnAfterUpdateComponentBeforeAssign",
        "sig": "(var Record Prod. Order Component, var Record Prod. Order Component)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Moved to codeunit Mfg. Item Substitution",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Moved to codeunit Mfg. Item Substitution",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "OnBeforeUpdateComponent",
        "sig": "(var Record Prod. Order Component, Code[20], Code[10], var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Moved to codeunit Mfg. Item Substitution",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Moved to codeunit Mfg. Item Substitution",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "OnCalcCustPriceOnAfterCalcQtyAvail",
        "sig": "(var Record Item, Record Sales Line, var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnCalcCustPriceOnBeforeCalcQtyAvail",
        "sig": "(var Record Item, Record Sales Line, var Record Item Substitution, Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnAssemblyCalcCustPriceOnAfterCalcQtyAvail",
        "sig": "(var Record Item, Record Assembly Line, var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnAssemblyCalcCustPriceOnBeforeCalcQtyAvail",
        "sig": "(var Record Item, Record Assembly Line, var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnBeforeCalcCustPrice",
        "sig": "(var Record Item Substitution, Record Sales Line, var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21
        ],
        "range": "17-21",
        "first": 17,
        "last": 21,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 21,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnBeforeItemSubstGetPopulateTempSalesLine",
        "sig": "(var Record Sales Line, var Record Item Substitution, var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          17
        ],
        "range": "17",
        "first": 17,
        "last": 17,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 17,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnInsertInSubstServiceListOnAfterCalcQtyAvail",
        "sig": "(var Record Item, Record Service Line, var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Moved to codeunit ServItemSubstitution",
          "tag": "25.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 25,
        "spans": [
          {
            "from": 17,
            "to": 24,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 25,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Moved to codeunit ServItemSubstitution",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "OnInsertInSubstServiceListOnBeforeCalcQtyAvail",
        "sig": "(var Record Item, Record Service Line, var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Moved to codeunit ServItemSubstitution",
          "tag": "25.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 25,
        "spans": [
          {
            "from": 17,
            "to": 24,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 25,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Moved to codeunit ServItemSubstitution",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "OnCreateSubstListOnAfterCalcQtyAvail",
        "sig": "(var Record Item, Record Prod. Order Component, var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by event OnCreateSubstListOnAfterCalcQuantityAvailable",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by event OnCreateSubstListOnAfterCalcQuantityAvailable",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "OnCreateSubstListOnBeforeCalcQtyAvail",
        "sig": "(var Record Item, Record Prod. Order Component, var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by event OnCreateSubstListOnBeforeCalcQuantityAvailable",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by event OnCreateSubstListOnBeforeCalcQuantityAvailable",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "OnGetCompSubstOnAfterCheckPrepareSubstList",
        "sig": "(var Record Prod. Order Component, var Record Item Substitution, var Record Item, var Decimal, var Decimal)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Moved to codeunit Mfg. Item Substitution",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Moved to codeunit Mfg. Item Substitution",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "OnItemSubstGetOnAfterSubstSalesLineItem",
        "sig": "(var Record Sales Line, var Record Sales Line, var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnItemSubstGetOnAfterItemSubstitutionSetFilters",
        "sig": "(var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnItemSubstGetOnAfterTempItemSubstitutionSetFilters",
        "sig": "(var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21
        ],
        "range": "17-21",
        "first": 17,
        "last": 21,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 21,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnCalcCustPriceOnBeforeTempItemSubstitutionInsert",
        "sig": "(var Record Item Substitution, Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnBeforeItemSubstGetPopulateTempSalesLine",
        "sig": "(var Record Sales Line, var Record Item Substitution, var Boolean, Code[20], Code[10])",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "18-28",
        "first": 18,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 18,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnBeforeSaveItemSalesUOM",
        "sig": "(var Code[10], Record Item, var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "19-28",
        "first": 19,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 19,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnBeforeCalcCustPrice",
        "sig": "(var Record Item Substitution, Record Sales Line, var Boolean, Record Item)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "22-28",
        "first": 22,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 22,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnItemSubstGetOnAfterTempItemSubstitutionSetFilters",
        "sig": "(var Record Item Substitution, var Record Sales Line, var Record Sales Line, Code[10], var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "22-28",
        "first": 22,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 22,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnCreateSubstListOnAfterCalcQuantityAvailable",
        "sig": "(var Record Item, var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          26,
          27,
          28
        ],
        "range": "26-28",
        "first": 26,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnCreateSubstListOnBeforeCalcQuantityAvailable",
        "sig": "(var Record Item, var Record Item Substitution)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          26,
          27,
          28
        ],
        "range": "26-28",
        "first": 26,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      }
    ],
    "values": []
  }
}