{
  "title": "Codeunit 5986 Serv-Amounts Mgt.",
  "url": "https://jonas-paprotka.de/ref/codeunit/5986-serv-amounts-mgt/",
  "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/5986-serv-amounts-mgt/source/29/",
        "repo": "https://github.com/microsoft/BCApps",
        "branch": "releases/29.x",
        "commit": "a66254c3b8b5bb1cea290dc8f9d097aec4381153",
        "path": "src/Layers/W1/BaseApp/Service/Posting/ServAmountsMgt.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": 5986,
    "name": "Serv-Amounts Mgt.",
    "app": "Base Application",
    "appByVersion": [
      {
        "app": "Base Application",
        "from": 17
      }
    ],
    "nameByVersion": [
      {
        "name": "Serv-Amounts Mgt.",
        "from": 17
      }
    ],
    "namespace": "Microsoft.Service.Posting",
    "versions": "17-28",
    "majors": [
      17,
      18,
      19,
      20,
      21,
      22,
      23,
      24,
      25,
      26,
      27,
      28
    ],
    "extends": null,
    "sourceTable": null,
    "sourceFile": "Service/Posting/ServAmountsMgt.Codeunit.al",
    "obsolete": null,
    "obsoleteSeenFrom": null,
    "byVersion": {
      "17": {
        "app": "base-application",
        "name": "Serv-Amounts Mgt.",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 29,
          "values": 0
        },
        "stub": false
      },
      "18": {
        "app": "base-application",
        "name": "Serv-Amounts Mgt.",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 31,
          "values": 0
        },
        "stub": false
      },
      "19": {
        "app": "base-application",
        "name": "Serv-Amounts Mgt.",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 34,
          "values": 0
        },
        "stub": false
      },
      "20": {
        "app": "base-application",
        "name": "Serv-Amounts Mgt.",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 35,
          "values": 0
        },
        "stub": false
      },
      "21": {
        "app": "base-application",
        "name": "Serv-Amounts Mgt.",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 35,
          "values": 0
        },
        "stub": false
      },
      "22": {
        "app": "base-application",
        "name": "Serv-Amounts Mgt.",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 35,
          "values": 0
        },
        "stub": false
      },
      "23": {
        "app": "base-application",
        "name": "Serv-Amounts Mgt.",
        "ns": "Microsoft.Service.Posting",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 38,
          "values": 0
        },
        "stub": false
      },
      "24": {
        "app": "base-application",
        "name": "Serv-Amounts Mgt.",
        "ns": "Microsoft.Service.Posting",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 38,
          "values": 0
        },
        "stub": false
      },
      "25": {
        "app": "base-application",
        "name": "Serv-Amounts Mgt.",
        "ns": "Microsoft.Service.Posting",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 39,
          "values": 0
        },
        "stub": false
      },
      "26": {
        "app": "base-application",
        "name": "Serv-Amounts Mgt.",
        "ns": "Microsoft.Service.Posting",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 38,
          "values": 0
        },
        "stub": false
      },
      "27": {
        "app": "base-application",
        "name": "Serv-Amounts Mgt.",
        "ns": "Microsoft.Service.Posting",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 33,
          "values": 0
        },
        "stub": false
      },
      "28": {
        "app": "base-application",
        "name": "Serv-Amounts Mgt.",
        "ns": "Microsoft.Service.Posting",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 36,
          "values": 0
        },
        "stub": false
      }
    },
    "fields": [],
    "keys": [],
    "procedures": [
      {
        "name": "Initialize",
        "sig": "(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": "GetDimensions",
        "sig": "(Integer, var Record Dimension Buffer)",
        "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": "Finalize",
        "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": "FillInvPostingBuffer",
        "sig": "(var Record Invoice Post. Buffer, var Record Service Line, var Record Service Line, Record Service Header)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by FillInvoicePostBuffer().",
          "tag": "19.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25
        ],
        "range": "17-25",
        "first": 17,
        "last": 25,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 19,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by FillInvoicePostBuffer().",
              "tag": "19.0"
            }
          }
        ]
      },
      {
        "name": "DivideAmount",
        "sig": "(Option, Decimal, var Record Service Header, var Record Service Line, var Record VAT Amount Line, var Record VAT Amount 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": "RoundAmount",
        "sig": "(Decimal, var Record Service Header, var Record Service Line, var Record Service Line, var Record Service Line, var Record Service Line, var Record Service 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": "ReverseAmount",
        "sig": "(var Record Service 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": "InvoiceRounding",
        "sig": "(var Record Service Header, var Record Service Line, var Record Service Line, var Boolean, Boolean, Integer)",
        "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": "RoundingLineInserted",
        "sig": "()",
        "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": 28,
            "returns": "Boolean",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "GetRoundingLineNo",
        "sig": "()",
        "returns": "Integer",
        "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": "Integer",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "SumServiceLines",
        "sig": "(var Record Service Header, Option, var Record Service Line, var Record Service Line, var Decimal, var Text[30], var Decimal, var Decimal, var Decimal)",
        "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": "SumServiceLinesTemp",
        "sig": "(var Record Service Header, var Record Service Line, Option, var Record Service Line, var Record Service Line, var Decimal, var Text[30], var Decimal, var Decimal, var Decimal)",
        "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": "GetServiceLines",
        "sig": "(var Record Service Header, var Record Service Line, Option)",
        "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": "MAX",
        "sig": "(Integer, Integer)",
        "returns": "Integer",
        "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": "Integer",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "GetLastLineNo",
        "sig": "(Record Service Line)",
        "returns": "Integer",
        "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": "Integer",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "SetSuppressCommit",
        "sig": "(Boolean)",
        "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": "AmountsDifferByMoreThanRoundingPrecision",
        "sig": "(Decimal, Decimal, Decimal)",
        "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": 28,
            "returns": "Boolean",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "FillInvoicePostBuffer",
        "sig": "(var Record Invoice Post. Buffer, var Record Service Line, var Record Service Line, Record Service Header)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by new implementation in ServicePostInvoice codeunit",
          "tag": "20.0"
        },
        "majors": [
          19,
          20,
          21,
          22,
          23,
          24,
          25
        ],
        "range": "19-25",
        "first": 19,
        "last": 25,
        "obsoleteSince": 21,
        "spans": [
          {
            "from": 19,
            "to": 20,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 21,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by new implementation in ServicePostInvoice codeunit",
              "tag": "20.0"
            }
          }
        ]
      },
      {
        "name": "RunOnAfterUpdateInvoiceRounding",
        "sig": "(Record Service Header, var Record Service Line, var Record Service Line, Boolean, var Integer, var Boolean)",
        "returns": "",
        "kind": "procedure",
        "access": "internal",
        "obsolete": null,
        "majors": [
          27,
          28
        ],
        "range": "27-28",
        "first": 27,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 27,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "internal",
            "obsolete": null
          }
        ]
      }
    ],
    "events": [
      {
        "name": "OnAfterDivideAmount",
        "sig": "(var Record Service Header, var Record Service Line, Option, Decimal, var Record VAT Amount Line, var Record VAT Amount 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": "OnAfterFillInvoicePostBuffer",
        "sig": "(var Record Invoice Post. Buffer, Record Service Line, var Record Invoice Post. Buffer, 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": "OnAfterIncrAmount",
        "sig": "(var Record Service Line, Record Service 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": "OnAfterReverseAmount",
        "sig": "(var Record Service 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": "OnAfterUpdateInvPostBuffer",
        "sig": "(var Record Invoice Post. Buffer)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          17,
          18
        ],
        "range": "17-18",
        "first": 17,
        "last": 18,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnBeforeFillInvPostingBuffer",
        "sig": "(var Record Invoice Post. Buffer, var Record Service Line, var Record Service Line, Record Service Header, var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by event OnBeforeFillInvoicePostBuffer().",
          "tag": "19.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26
        ],
        "range": "17-26",
        "first": 17,
        "last": 26,
        "obsoleteSince": 19,
        "spans": [
          {
            "from": 17,
            "to": 18,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 19,
            "to": 26,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by event OnBeforeFillInvoicePostBuffer().",
              "tag": "19.0"
            }
          }
        ]
      },
      {
        "name": "OnBeforeDivideAmount",
        "sig": "(var Record Service Header, var Record Service Line, Option, Decimal, var Record VAT Amount Line, var Record VAT Amount 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": "OnBeforeInvoiceRoundingAmount",
        "sig": "(var Record Service Header, var Decimal, Boolean, var Decimal, 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": "OnBeforeRoundAmount",
        "sig": "(var Record Service Header, var Record Service Line, Decimal)",
        "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": "OnBeforeUpdateInvPostBuffer",
        "sig": "(var Record Invoice Post. Buffer)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
          "tag": "20.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26
        ],
        "range": "17-26",
        "first": 17,
        "last": 26,
        "obsoleteSince": 21,
        "spans": [
          {
            "from": 17,
            "to": 20,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 21,
            "to": 26,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
              "tag": "20.0"
            }
          }
        ]
      },
      {
        "name": "OnRoundAmountOnBeforeIncrAmount",
        "sig": "(var Record Service Line, Record Service Line, Record Service Line, Date, 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": "OnSumServiceLines2OnBeforeSetTypeFilters",
        "sig": "(var Record Service Line, Record Service Header, Option, 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": "OnAfterFillInvoicePostBuffer",
        "sig": "(var Record Invoice Post. Buffer, Record Service Line, var Record Invoice Post. Buffer, Boolean, Record Service Line)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
          "tag": "20.0"
        },
        "majors": [
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26
        ],
        "range": "18-26",
        "first": 18,
        "last": 26,
        "obsoleteSince": 21,
        "spans": [
          {
            "from": 18,
            "to": 20,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 21,
            "to": 26,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
              "tag": "20.0"
            }
          }
        ]
      },
      {
        "name": "OnBeforeInvPostingBufferCalcInvoiceDiscountAmount",
        "sig": "(var Record Invoice Post. Buffer, var Record Service Line, var Record Service Line, Record Service Header, var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
          "tag": "20.0"
        },
        "majors": [
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26
        ],
        "range": "18-26",
        "first": 18,
        "last": 26,
        "obsoleteSince": 21,
        "spans": [
          {
            "from": 18,
            "to": 20,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 21,
            "to": 26,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
              "tag": "20.0"
            }
          }
        ]
      },
      {
        "name": "OnBeforeInvPostingBufferCalcLineDiscountAmount",
        "sig": "(var Record Invoice Post. Buffer, var Record Service Line, var Record Service Line, Record Service Header, var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
          "tag": "20.0"
        },
        "majors": [
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26
        ],
        "range": "18-26",
        "first": 18,
        "last": 26,
        "obsoleteSince": 21,
        "spans": [
          {
            "from": 18,
            "to": 20,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 21,
            "to": 26,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
              "tag": "20.0"
            }
          }
        ]
      },
      {
        "name": "OnAfterFillInvoicePostBufferProcedure",
        "sig": "(var Record Invoice Post. Buffer, Record Service Line, var Record Invoice Post. Buffer, Boolean, Record Service Line)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
          "tag": "20.0"
        },
        "majors": [
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26
        ],
        "range": "19-26",
        "first": 19,
        "last": 26,
        "obsoleteSince": 21,
        "spans": [
          {
            "from": 19,
            "to": 20,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 21,
            "to": 26,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
              "tag": "20.0"
            }
          }
        ]
      },
      {
        "name": "OnAfterUpdateInvPostBuffer",
        "sig": "(var Record Invoice Post. Buffer, var Record Invoice Post. Buffer)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
          "tag": "20.0"
        },
        "majors": [
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26
        ],
        "range": "19-26",
        "first": 19,
        "last": 26,
        "obsoleteSince": 21,
        "spans": [
          {
            "from": 19,
            "to": 20,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 21,
            "to": 26,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
              "tag": "20.0"
            }
          }
        ]
      },
      {
        "name": "OnBeforeFillInvoicePostBuffer",
        "sig": "(var Record Invoice Post. Buffer, var Record Service Line, var Record Service Line, Record Service Header, var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
          "tag": "20.0"
        },
        "majors": [
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26
        ],
        "range": "19-26",
        "first": 19,
        "last": 26,
        "obsoleteSince": 21,
        "spans": [
          {
            "from": 19,
            "to": 20,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 21,
            "to": 26,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "Replaced by new implementation event in codeunit ServicePostInvoice",
              "tag": "20.0"
            }
          }
        ]
      },
      {
        "name": "OnDivideAmountOnAfterCalcLineAmountExpected",
        "sig": "(var Record Service Line, var Decimal, var Decimal)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "20-28",
        "first": 20,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 20,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnInvoiceRoundingAmountOnBeforeCheckUseTempData",
        "sig": "(var Record Service Header, var Record Service Line)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "23-28",
        "first": 23,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 23,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnInvoiceRoundingAmountOnAfterCheckUseTempData",
        "sig": "(var Record Service Header, var Record Service Line)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "23-28",
        "first": 23,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 23,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnSumServiceLines2OnBeforeInvoiceRounding",
        "sig": "(var Record Service Header, var Record Service Line, var Record Service Line, var Record Service Line, Option, var Boolean, var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "23-28",
        "first": 23,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 23,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnAfterInvoiceRounding",
        "sig": "(Record Service Header, var Record Service Line, var Record Service Line, Boolean, Decimal, Record Currency, var Integer, var Boolean, var Boolean, var Integer)",
        "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": "OnDivideAmountOnBeforeTempVATAmountLineRemainderModify",
        "sig": "(var Record Service Line, var Record Service Header, var Record Currency, var Record VAT Amount Line, var Record VAT Amount Line)",
        "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": "OnRoundAmountOnBeforeCalculateLCYAmounts",
        "sig": "(var Record Service Line, var Record Service Line, Record Service Header, Record Service Line, Record Service Line, var Record Service Line, var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          27,
          28
        ],
        "range": "27-28",
        "first": 27,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 27,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnAfterUpdateInvoiceRounding",
        "sig": "(Record Service Header, var Record Service Line, var Record Service Line, Record Currency, Boolean, var Integer, var Boolean, var Boolean, var Integer)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          27,
          28
        ],
        "range": "27-28",
        "first": 27,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 27,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnDivideAmountOnSalesTaxCalculation",
        "sig": "(var Record Service Line, Decimal, Option, Record Currency)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          28
        ],
        "range": "28",
        "first": 28,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 28,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnDivideAmountOnAfterGetTempVATAmountLine",
        "sig": "(var Record Service Line, var Record VAT Amount Line)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          28
        ],
        "range": "28",
        "first": 28,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 28,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnAfterInitialize",
        "sig": "()",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": null,
        "majors": [
          28
        ],
        "range": "28",
        "first": 28,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 28,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          }
        ]
      }
    ],
    "values": []
  }
}