{"title":"Table 8054 Sub. Package Line Template, extension points 29","url":"https://jonas-paprotka.de/ref/table/8054-sub-package-line-template/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":8054,"name":"Sub. Package Line Template","app":"Subscription Billing","url":"https://jonas-paprotka.de/ref/table/8054-sub-package-line-template/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/8054-sub-package-line-template/source/","path":"src/Apps/W1/Subscription Billing/App/Service Commitments/Tables/SubPackageLineTemplate.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:8054":{"name":"Sub. Package Line Template","url":"https://jonas-paprotka.de/ref/table/8054-sub-package-line-template/"}},"procs":[{"name":"Invoicing via.OnValidate","line":27,"kind":"trigger","steps":[[34,"call","ErrorIfInvoicingViaIsNotContractForDiscount",0]]},{"name":"Invoicing Item No..OnValidate","line":42,"kind":"trigger","steps":[[46,"call","ErrorIfInvoicingItemIsNotServiceCommitmentItemForDiscount",0]]},{"name":"Billing Base Period.OnValidate","line":63,"kind":"trigger","steps":[[65,"ext","codeunit",8057,"ErrorIfDateFormulaNegative",1]]},{"name":"Discount.OnValidate","line":71,"kind":"trigger","steps":[[73,"call","ErrorIfInvoicingViaIsNotContractForDiscount",0],[74,"call","ErrorIfInvoicingItemIsNotServiceCommitmentItemForDiscount",0],[75,"call","ErrorIfDiscountUsedWithUsageBasedBilling",0]]},{"name":"Usage Based Billing.OnValidate","line":87,"kind":"trigger","steps":[[93,"validate",8054,"Usage Based Pricing"],[95,"validate",8054,"Usage Based Pricing"],[96,"call","ErrorIfDiscountUsedWithUsageBasedBilling",0]]},{"name":"Usage Based Pricing.OnValidate","line":104,"kind":"trigger","steps":[[108,"validate",8054,"Usage Based Billing"],[110,"validate",8054,"Pricing Unit Cost Surcharge %"]]}]}