{"title":"Table 8056 Subscription Package Line, extension points 29","url":"https://jonas-paprotka.de/ref/table/8056-subscription-package-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":8056,"name":"Subscription Package Line","app":"Subscription Billing","url":"https://jonas-paprotka.de/ref/table/8056-subscription-package-line/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/8056-subscription-package-line/source/","path":"src/Apps/W1/Subscription Billing/App/Service Commitments/Tables/SubscriptionPackageLine.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:8056":{"name":"Subscription Package Line","url":"https://jonas-paprotka.de/ref/table/8056-subscription-package-line/"},"table:27":{"name":"Item","url":"https://jonas-paprotka.de/ref/table/27-item/"}},"procs":[{"name":"Partner.OnValidate","line":26,"kind":"trigger","steps":[[28,"call","CheckCalculationBaseTypeAgainstVendor",0]]},{"name":"Template.OnValidate","line":37,"kind":"trigger","steps":[[50,"call","CheckCalculationBaseTypeAgainstVendor",0]]},{"name":"Invoicing via.OnValidate","line":67,"kind":"trigger","steps":[[74,"call","ErrorIfInvoicingViaIsNotContractForDiscount",0]]},{"name":"Invoicing Item No..OnValidate","line":82,"kind":"trigger","steps":[[86,"call","ErrorIfInvoicingItemIsNotServiceCommitmentItemForDiscount",0]]},{"name":"Calculation Base Type.OnValidate","line":93,"kind":"trigger","steps":[[95,"call","CheckCalculationBaseTypeAgainstVendorError",2]]},{"name":"Billing Base Period.OnValidate","line":108,"kind":"trigger","steps":[[110,"ext","codeunit",8057,"ErrorIfDateFormulaNegative",1],[111,"call","CheckRatioBetweenBillingBasePeriodAndRhythm",0]]},{"name":"Billing Rhythm.OnValidate","line":117,"kind":"trigger","steps":[[119,"ext","codeunit",8057,"ErrorIfDateFormulaEmpty",2],[120,"ext","codeunit",8057,"ErrorIfDateFormulaNegative",1],[121,"call","CheckRatioBetweenBillingBasePeriodAndRhythm",0]]},{"name":"Initial Term.OnValidate","line":131,"kind":"trigger","steps":[[133,"ext","codeunit",8057,"ErrorIfDateFormulaNegative",1]]},{"name":"Notice Period.OnValidate","line":139,"kind":"trigger","steps":[[142,"ext","codeunit",8057,"ErrorIfDateFormulaNegative",1]]},{"name":"Extension Term.OnValidate","line":148,"kind":"trigger","steps":[[152,"ext","codeunit",8057,"ErrorIfDateFormulaNegative",1]]},{"name":"Discount.OnValidate","line":158,"kind":"trigger","steps":[[160,"call","ErrorIfInvoicingViaIsNotContractForDiscount",0],[161,"call","ErrorIfInvoicingItemIsNotServiceCommitmentItemForDiscount",0],[162,"call","ErrorIfDiscountUsedWithUsageBasedBilling",0]]},{"name":"Usage Based Billing.OnValidate","line":182,"kind":"trigger","steps":[[188,"validate",8056,"Usage Based Pricing"],[190,"validate",8056,"Usage Based Pricing"],[191,"call","ErrorIfDiscountUsedWithUsageBasedBilling",0]]},{"name":"Usage Based Pricing.OnValidate","line":199,"kind":"trigger","steps":[[203,"validate",8056,"Usage Based Billing"],[205,"validate",8056,"Pricing Unit Cost Surcharge %"]]},{"name":"CheckCalculationBaseTypeAgainstVendor","line":238,"kind":"procedure","access":"local","params":0,"steps":[[240,"call","IsWrongCalculationBaseTypeForVendor",2],[242,"call","NotifyCalculationBaseTypeChanged",0]]},{"name":"CheckCalculationBaseTypeAgainstVendorError","line":246,"kind":"procedure","access":"internal","params":2,"steps":[[248,"call","IsWrongCalculationBaseTypeForVendor",2]]},{"name":"CheckRatioBetweenBillingBasePeriodAndRhythm","line":305,"kind":"procedure","access":"local","params":0,"steps":[[309,"ext","codeunit",8057,"CheckIntegerRatioForDateFormulas",4]]},{"name":"GetInvoicingItemNo","line":312,"kind":"procedure","access":"internal","params":1,"steps":[[316,"ext","table",27,"IsServiceCommitmentItem",0]]}]}