{
  "title": "Codeunit 359 PeriodFormManagement",
  "url": "https://jonas-paprotka.de/ref/codeunit/359-periodformmanagement/",
  "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": "21.5.53619.63803",
    "code": {},
    "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": 359,
    "name": "PeriodFormManagement",
    "app": "Base Application",
    "appByVersion": [
      {
        "app": "Base Application",
        "from": 17
      }
    ],
    "nameByVersion": [
      {
        "name": "PeriodFormManagement",
        "from": 17
      }
    ],
    "namespace": "",
    "versions": "17-21",
    "majors": [
      17,
      18,
      19,
      20,
      21
    ],
    "extends": null,
    "sourceTable": null,
    "sourceFile": "PeriodFormManagement.Codeunit.al",
    "obsolete": {
      "state": "Pending",
      "tag": "19.0",
      "reason": "Replaced by PeriodPageManagement.Codeunit.al due to enum implementation."
    },
    "obsoleteSeenFrom": 19,
    "byVersion": {
      "17": {
        "app": "base-application",
        "name": "PeriodFormManagement",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 10,
          "values": 0
        },
        "stub": false
      },
      "18": {
        "app": "base-application",
        "name": "PeriodFormManagement",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 10,
          "values": 0
        },
        "stub": false
      },
      "19": {
        "app": "base-application",
        "name": "PeriodFormManagement",
        "ns": "",
        "obsolete": {
          "state": "Pending",
          "tag": "19.0",
          "reason": "Replaced by PeriodPageManagement.Codeunit.al due to enum implementation."
        },
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 11,
          "values": 0
        },
        "stub": false
      },
      "20": {
        "app": "base-application",
        "name": "PeriodFormManagement",
        "ns": "",
        "obsolete": {
          "state": "Pending",
          "tag": "19.0",
          "reason": "Replaced by PeriodPageManagement.Codeunit.al due to enum implementation."
        },
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 11,
          "values": 0
        },
        "stub": false
      },
      "21": {
        "app": "base-application",
        "name": "PeriodFormManagement",
        "ns": "",
        "obsolete": {
          "state": "Pending",
          "tag": "19.0",
          "reason": "Replaced by PeriodPageManagement.Codeunit.al due to enum implementation."
        },
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 11,
          "values": 0
        },
        "stub": false
      }
    },
    "fields": [],
    "keys": [],
    "procedures": [
      {
        "name": "FindDate",
        "sig": "(Text[3], var Record Date, Option)",
        "returns": "Boolean",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
          "tag": "19.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21
        ],
        "range": "17-21",
        "first": 17,
        "last": 21,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "Boolean",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 19,
            "to": 21,
            "returns": "Boolean",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
              "tag": "19.0"
            }
          }
        ]
      },
      {
        "name": "NextDate",
        "sig": "(Integer, var Record Date, Option)",
        "returns": "Integer",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
          "tag": "19.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21
        ],
        "range": "17-21",
        "first": 17,
        "last": 21,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "Integer",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 19,
            "to": 21,
            "returns": "Integer",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
              "tag": "19.0"
            }
          }
        ]
      },
      {
        "name": "CreatePeriodFormat",
        "sig": "(Option, Date)",
        "returns": "Text[10]",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
          "tag": "19.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21
        ],
        "range": "17-21",
        "first": 17,
        "last": 21,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "Text[10]",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 19,
            "to": 21,
            "returns": "Text[10]",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
              "tag": "19.0"
            }
          }
        ]
      },
      {
        "name": "MoveDateByPeriod",
        "sig": "(Date, Option, Integer)",
        "returns": "Date",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
          "tag": "19.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21
        ],
        "range": "17-21",
        "first": 17,
        "last": 21,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "Date",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 19,
            "to": 21,
            "returns": "Date",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
              "tag": "19.0"
            }
          }
        ]
      },
      {
        "name": "MoveDateByPeriodToEndOfPeriod",
        "sig": "(Date, Option, Integer)",
        "returns": "Date",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
          "tag": "19.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21
        ],
        "range": "17-21",
        "first": 17,
        "last": 21,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "Date",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 19,
            "to": 21,
            "returns": "Date",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
              "tag": "19.0"
            }
          }
        ]
      },
      {
        "name": "GetPeriodTypeSymbol",
        "sig": "(Option)",
        "returns": "Text[1]",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
          "tag": "19.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21
        ],
        "range": "17-21",
        "first": 17,
        "last": 21,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "Text[1]",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 19,
            "to": 21,
            "returns": "Text[1]",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
              "tag": "19.0"
            }
          }
        ]
      },
      {
        "name": "EndOfPeriod",
        "sig": "()",
        "returns": "Date",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
          "tag": "19.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21
        ],
        "range": "17-21",
        "first": 17,
        "last": 21,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "Date",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 19,
            "to": 21,
            "returns": "Date",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
              "tag": "19.0"
            }
          }
        ]
      },
      {
        "name": "GetFullPeriodDateFilter",
        "sig": "(Option, Text)",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
          "tag": "19.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21
        ],
        "range": "17-21",
        "first": 17,
        "last": 21,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 19,
            "to": 21,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
              "tag": "19.0"
            }
          }
        ]
      },
      {
        "name": "FindPeriod",
        "sig": "(var Record Item, Text[3], Option, Option)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          17,
          18
        ],
        "range": "17-18",
        "first": 17,
        "last": 18,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "FindPeriodOnMatrixPage",
        "sig": "(var Text, var Text, Text[3], Option, Boolean)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
          "tag": "19.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21
        ],
        "range": "17-21",
        "first": 17,
        "last": 21,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 19,
            "to": 21,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
              "tag": "19.0"
            }
          }
        ]
      },
      {
        "name": "FindPeriod",
        "sig": "(var Record Item, Text[3], Option, Enum Analysis Amount Type)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
          "tag": "19.0"
        },
        "majors": [
          19,
          20,
          21
        ],
        "range": "19-21",
        "first": 19,
        "last": 21,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 19,
            "to": 21,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by same procedure in PeriodPageManagement.Codeunit.al due to enum implementation.",
              "tag": "19.0"
            }
          }
        ]
      }
    ],
    "events": [
      {
        "name": "OnAfterCreatePeriodFormat",
        "sig": "(Option, Date, var Text[10])",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by OnAfterCreatePeriodFormat of PeriodPageManagement.Codeunit.al.",
          "tag": "19.0"
        },
        "majors": [
          19,
          20,
          21
        ],
        "range": "19-21",
        "first": 19,
        "last": 21,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 19,
            "to": 21,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by OnAfterCreatePeriodFormat of PeriodPageManagement.Codeunit.al.",
              "tag": "19.0"
            }
          }
        ]
      }
    ],
    "values": []
  }
}