{"title":"Table 8002 Planned Subscription Line, extension points 29","url":"https://jonas-paprotka.de/ref/table/8002-planned-subscription-line/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"table","id":8002,"name":"Planned Subscription Line","app":"Subscription Billing","url":"https://jonas-paprotka.de/ref/table/8002-planned-subscription-line/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/8002-planned-subscription-line/source/","path":"src/Apps/W1/Subscription Billing/App/Contract Renewal/Tables/PlannedSubscriptionLine.Table.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:8057":{"name":"Date Formula Management","url":"https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/"},"table:4":{"name":"Currency","url":"https://jonas-paprotka.de/ref/table/4-currency/"},"table:330":{"name":"Currency Exchange Rate","url":"https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/"},"codeunit:408":{"name":"DimensionManagement","url":"https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/"},"table:8002":{"name":"Planned Subscription Line","url":"https://jonas-paprotka.de/ref/table/8002-planned-subscription-line/"}},"procs":[{"name":"Subscription Line Start Date.OnValidate","line":50,"kind":"trigger","steps":[[52,"ext","codeunit",8057,"ErrorIfDateEmpty",2],[53,"call","CheckServiceDates",0]]},{"name":"Subscription Line End Date.OnValidate","line":60,"kind":"trigger","steps":[[62,"ext","codeunit",8057,"ErrorIfDateEmpty",2],[63,"call","CheckServiceDates",0]]},{"name":"Calculation Base Amount.OnValidate","line":79,"kind":"trigger","steps":[[82,"ext","table",4,"InitRoundingPrecision",0],[84,"ext","table",330,"ExchangeAmtFCYToLCY",4],[89,"call","CalculatePrice",0]]},{"name":"Calculation Base %.OnValidate","line":100,"kind":"trigger","steps":[[102,"call","CalculatePrice",0]]},{"name":"Billing Base Period.OnValidate","line":148,"kind":"trigger","steps":[[150,"ext","codeunit",8057,"ErrorIfDateFormulaEmpty",2],[151,"ext","codeunit",8057,"ErrorIfDateFormulaNegative",1]]},{"name":"Notice Period.OnValidate","line":177,"kind":"trigger","steps":[[179,"ext","codeunit",8057,"ErrorIfDateFormulaNegative",1]]},{"name":"Initial Term.OnValidate","line":186,"kind":"trigger","steps":[[188,"ext","codeunit",8057,"ErrorIfDateFormulaNegative",1]]},{"name":"Extension Term.OnValidate","line":195,"kind":"trigger","steps":[[199,"ext","codeunit",8057,"ErrorIfDateFormulaNegative",1],[200,"call","CheckRatioBetweenBillingBasePeriodAndRhythm",0]]},{"name":"Billing Rhythm.OnValidate","line":206,"kind":"trigger","steps":[[208,"ext","codeunit",8057,"ErrorIfDateFormulaEmpty",2],[209,"ext","codeunit",8057,"ErrorIfDateFormulaNegative",1],[210,"call","CheckRatioBetweenBillingBasePeriodAndRhythm",0]]},{"name":"Shortcut Dimension 1 Code.OnValidate","line":248,"kind":"trigger","steps":[[250,"call","ValidateShortcutDimCode",2]]},{"name":"Shortcut Dimension 2 Code.OnValidate","line":260,"kind":"trigger","steps":[[262,"call","ValidateShortcutDimCode",2]]},{"name":"Unit Cost (LCY).OnValidate","line":346,"kind":"trigger","steps":[[351,"ext","table",4,"Initialize",1],[355,"ext","table",330,"ExchangeAmtLCYToFCY",4]]},{"name":"ValidateShortcutDimCode","line":416,"kind":"procedure","access":"local","params":2,"steps":[[422,"ext","codeunit",408,"ValidateShortcutDimValues",3],[424,"write",8002,"Modify"]]},{"name":"CalculatePrice","line":427,"kind":"procedure","access":"local","params":0,"steps":[[430,"ext","table",4,"InitRoundingPrecision",0],[431,"validate",8002,"Price"],[433,"validate",8002,"Price"]]},{"name":"CheckRatioBetweenBillingBasePeriodAndRhythm","line":436,"kind":"procedure","access":"local","params":0,"steps":[[440,"ext","codeunit",8057,"CheckIntegerRatioForDateFormulas",4]]}]}