{
  "title": "Page 5522 Order Planning",
  "url": "https://jonas-paprotka.de/ref/page/5522-order-planning/",
  "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/page/5522-order-planning/source/29/",
        "repo": "https://github.com/microsoft/BCApps",
        "branch": "releases/29.x",
        "commit": "a66254c3b8b5bb1cea290dc8f9d097aec4381153",
        "path": "src/Layers/W1/BaseApp/Inventory/Requisition/OrderPlanning.Page.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": "page",
    "id": 5522,
    "name": "Order Planning",
    "app": "Base Application",
    "appByVersion": [
      {
        "app": "Base Application",
        "from": 17
      }
    ],
    "nameByVersion": [
      {
        "name": "Order Planning",
        "from": 17
      }
    ],
    "namespace": "Microsoft.Inventory.Requisition",
    "versions": "17-28",
    "majors": [
      17,
      18,
      19,
      20,
      21,
      22,
      23,
      24,
      25,
      26,
      27,
      28
    ],
    "extends": null,
    "sourceTable": "246",
    "sourceFile": "Inventory/Requisition/OrderPlanning.Page.al",
    "obsolete": null,
    "obsoleteSeenFrom": null,
    "byVersion": {
      "17": {
        "app": "base-application",
        "name": "Order Planning",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "246",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 10,
          "values": 0
        },
        "stub": false
      },
      "18": {
        "app": "base-application",
        "name": "Order Planning",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "246",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 12,
          "values": 0
        },
        "stub": false
      },
      "19": {
        "app": "base-application",
        "name": "Order Planning",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "246",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 14,
          "values": 0
        },
        "stub": false
      },
      "20": {
        "app": "base-application",
        "name": "Order Planning",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "246",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 14,
          "values": 0
        },
        "stub": false
      },
      "21": {
        "app": "base-application",
        "name": "Order Planning",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "246",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 16,
          "values": 0
        },
        "stub": false
      },
      "22": {
        "app": "base-application",
        "name": "Order Planning",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "246",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 16,
          "values": 0
        },
        "stub": false
      },
      "23": {
        "app": "base-application",
        "name": "Order Planning",
        "ns": "Microsoft.Inventory.Requisition",
        "obsolete": null,
        "target": "",
        "sourceTable": "246",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 16,
          "values": 0
        },
        "stub": false
      },
      "24": {
        "app": "base-application",
        "name": "Order Planning",
        "ns": "Microsoft.Inventory.Requisition",
        "obsolete": null,
        "target": "",
        "sourceTable": "246",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 16,
          "values": 0
        },
        "stub": false
      },
      "25": {
        "app": "base-application",
        "name": "Order Planning",
        "ns": "Microsoft.Inventory.Requisition",
        "obsolete": null,
        "target": "",
        "sourceTable": "246",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 20,
          "values": 0
        },
        "stub": false
      },
      "26": {
        "app": "base-application",
        "name": "Order Planning",
        "ns": "Microsoft.Inventory.Requisition",
        "obsolete": null,
        "target": "",
        "sourceTable": "246",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 20,
          "values": 0
        },
        "stub": false
      },
      "27": {
        "app": "base-application",
        "name": "Order Planning",
        "ns": "Microsoft.Inventory.Requisition",
        "obsolete": null,
        "target": "",
        "sourceTable": "246",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 20,
          "values": 0
        },
        "stub": false
      },
      "28": {
        "app": "base-application",
        "name": "Order Planning",
        "ns": "Microsoft.Inventory.Requisition",
        "obsolete": null,
        "target": "",
        "sourceTable": "246",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 14,
          "values": 0
        },
        "stub": false
      }
    },
    "fields": [],
    "keys": [],
    "procedures": [
      {
        "name": "SetSalesOrder",
        "sig": "(Record Sales Header)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "This procedure is not used.",
          "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": "This procedure is not used.",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "SetProdOrder",
        "sig": "(Record Production Order)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "This procedure replaced by procedure SetProdOrderDemand()",
          "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": "This procedure replaced by procedure SetProdOrderDemand()",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "SetAsmOrder",
        "sig": "(Record Assembly Header)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "This procedure is not used.",
          "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": "This procedure is not used.",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "SetServOrder",
        "sig": "(Record Service Header)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "This procedure is not used.",
          "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": "This procedure is not used.",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "SetJobOrder",
        "sig": "(Record Job)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "This procedure is not used.",
          "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": "This procedure is not used.",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "SetRecFilters",
        "sig": "()",
        "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": "FindReqLineForCursor",
        "sig": "(var Record Requisition Line, Record Requisition Line)",
        "returns": "",
        "kind": "procedure",
        "access": "protected",
        "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": "procedure",
            "access": "protected",
            "obsolete": null
          }
        ]
      },
      {
        "name": "CalcPlan",
        "sig": "()",
        "returns": "",
        "kind": "procedure",
        "access": "protected",
        "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": "procedure",
            "access": "protected",
            "obsolete": null
          }
        ]
      },
      {
        "name": "SetDemandOrderFilter",
        "sig": "(Option)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by procedure SetDemandOrderSourceType",
          "tag": "25.0"
        },
        "majors": [
          21,
          22,
          23,
          24,
          25,
          26,
          27
        ],
        "range": "21-27",
        "first": 21,
        "last": 27,
        "obsoleteSince": 25,
        "spans": [
          {
            "from": 21,
            "to": 24,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 25,
            "to": 27,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by procedure SetDemandOrderSourceType",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "SetProdOrderDemand",
        "sig": "(Integer, Code[20])",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "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": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "SetDemandOrderSourceType",
        "sig": "(Enum Demand Order Source Type)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "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": "public",
            "obsolete": null
          }
        ]
      }
    ],
    "events": [
      {
        "name": "OnAfterShowDemandOrder",
        "sig": "(var Record Requisition 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": "OnAfterStatusTextOnFormat",
        "sig": "(var Record Requisition Line, var Text)",
        "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": "OnAfterDemandTypeTextOnFormat",
        "sig": "(var Record Requisition Line, var Text)",
        "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": "OnBeforeMakeSupplyOrders",
        "sig": "(var Record Requisition Line, Record Manufacturing User Template, var Boolean, var Boolean)",
        "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": "OnUpdateReqLineOnAfterGetCurrRecord",
        "sig": "(var Record Requisition Line)",
        "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": "OnCalcPlanOnBeforeGetOrdersToPlan",
        "sig": "(var Record Requisition Line)",
        "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": "OnBeforeShowDemandOrder",
        "sig": "(var Record Requisition Line, var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "21-28",
        "first": 21,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 21,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnAfterDemandSubtypeTextOnFormat",
        "sig": "(var Record Requisition Line, var Text)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          25,
          26,
          27,
          28
        ],
        "range": "25-28",
        "first": 25,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 25,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnSetRecDemandFilter",
        "sig": "(var Record Requisition Line, Enum Demand Order Source Type)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          25,
          26,
          27,
          28
        ],
        "range": "25-28",
        "first": 25,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 25,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      }
    ],
    "values": []
  }
}