{"title":"Table 7000 Price List Header, extension points 29","url":"https://jonas-paprotka.de/ref/table/7000-price-list-header/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":7000,"name":"Price List Header","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/7000-price-list-header/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/7000-price-list-header/source/","path":"src/Layers/W1/BaseApp/Pricing/PriceList/PriceListHeader.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:310":{"name":"No. Series","url":"https://jonas-paprotka.de/ref/codeunit/310-no-series/"},"table:7005":{"name":"Price Source","url":"https://jonas-paprotka.de/ref/table/7005-price-source/"},"codeunit:7001":{"name":"Price Calculation Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/7001-price-calculation-mgt/"},"codeunit:8703":{"name":"Feature Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/"},"table:7000":{"name":"Price List Header","url":"https://jonas-paprotka.de/ref/table/7000-price-list-header/"},"table:7001":{"name":"Price List Line","url":"https://jonas-paprotka.de/ref/table/7001-price-list-line/"},"codeunit:7017":{"name":"Price List Management","url":"https://jonas-paprotka.de/ref/codeunit/7017-price-list-management/"},"codeunit:27":{"name":"Confirm Management","url":"https://jonas-paprotka.de/ref/codeunit/27-confirm-management/"}},"procs":[{"name":"Code.OnValidate","line":36,"kind":"trigger","steps":[[44,"call","GetNoSeries",0],[46,"ext","codeunit",310,"TestManual",1]]},{"name":"Description.OnValidate","line":57,"kind":"trigger","steps":[[59,"call","TestStatusDraft",0]]},{"name":"Source Type.OnValidate","line":72,"kind":"trigger","steps":[[77,"call","CheckIfLinesExist",1],[78,"call","CopyTo",1],[79,"validate",7005,"Source Type"],[80,"call","CopyFrom",1],[81,"ext","table",7005,"GetDefaultAmountType",0]]},{"name":"Source No..OnValidate","line":89,"kind":"trigger","steps":[[94,"call","CheckIfLinesExist",1],[96,"call","CopyTo",1],[97,"validate",7005,"Source No."],[99,"call","CopyFrom",1]]},{"name":"Source No..OnLookup","line":103,"kind":"trigger","steps":[[105,"ext","codeunit",7001,"FeatureCustomizedLookupUsage",1],[106,"call","LookupSourceNo",0]]},{"name":"Parent Source No..OnValidate","line":113,"kind":"trigger","steps":[[118,"call","TestStatusDraft",0],[119,"call","CopyTo",1],[120,"validate",7005,"Parent Source No."],[121,"call","CopyFrom",1]]},{"name":"Source ID.OnValidate","line":129,"kind":"trigger","steps":[[134,"call","TestStatusDraft",0],[135,"call","CopyTo",1],[136,"validate",7005,"Source ID"],[137,"call","CopyFrom",1]]},{"name":"Amount Type.OnValidate","line":151,"kind":"trigger","steps":[[154,"call","CopyTo",1],[155,"ext","table",7005,"VerifyAmountTypeForSourceType",1],[157,"call","VerifyAmountTypeForCustPriceAndDiscountGroup",0]]},{"name":"Currency Code.OnValidate","line":167,"kind":"trigger","steps":[[170,"call","CheckIfLinesExist",1]]},{"name":"Starting Date.OnValidate","line":178,"kind":"trigger","steps":[[183,"call","TestStatusDraft",0],[184,"call","CopyTo",1],[185,"validate",7005,"Starting Date"],[186,"call","CopyFrom",1],[188,"call","UpdateDatesInLines",2]]},{"name":"Ending Date.OnValidate","line":196,"kind":"trigger","steps":[[201,"call","TestStatusDraft",0],[202,"call","CopyTo",1],[203,"validate",7005,"Ending Date"],[204,"call","CopyFrom",1],[206,"call","UpdateDatesInLines",2]]},{"name":"Price Includes VAT.OnValidate","line":215,"kind":"trigger","steps":[[218,"call","CheckIfLinesExist",1]]},{"name":"VAT Bus. Posting Gr. (Price).OnValidate","line":227,"kind":"trigger","steps":[[230,"call","CheckIfLinesExist",1]]},{"name":"Allow Line Disc..OnValidate","line":240,"kind":"trigger","steps":[[242,"call","TestStatusDraft",0]]},{"name":"Allow Invoice Disc..OnValidate","line":252,"kind":"trigger","steps":[[254,"call","TestStatusDraft",0]]},{"name":"Status.OnValidate","line":270,"kind":"trigger","steps":[[276,"ext","codeunit",8703,"LogUptake",3],[276,"ext","codeunit",7001,"GetFeatureTelemetryName",0],[278,"call","UpdateStatus",0],[282,"ext","codeunit",8703,"LogUsage",3],[282,"ext","codeunit",7001,"GetFeatureTelemetryName",0]]},{"name":"Allow Updating Defaults.OnValidate","line":298,"kind":"trigger","steps":[[301,"call","CheckIfLinesExist",1]]},{"name":"Assign-to No..OnValidate","line":326,"kind":"trigger","steps":[[328,"validate",7000,"Source No."]]},{"name":"Assign-to Parent No..OnValidate","line":339,"kind":"trigger","steps":[[341,"validate",7000,"Parent Source No."]]},{"name":"OnInsert","line":366,"kind":"trigger","steps":[[374,"call","GetNoSeries",0],[377,"ext","codeunit",310,"AreRelated",2],[379,"ext","codeunit",310,"GetNextNo",1],[383,"call","CopyTo",1],[384,"ext","table",7005,"GetDefaultAmountType",0]]},{"name":"OnDelete","line":388,"kind":"trigger","steps":[[392,"call","IsEditable",0],[396,"write",7001,"DeleteAll"]]},{"name":"IsEditable","line":414,"kind":"procedure","params":0,"steps":[[420,"call","IsAllowedEditingActivePrice",0]]},{"name":"IsAllowedEditingActivePrice","line":426,"kind":"procedure","access":"local","params":0,"steps":[[430,"ext","codeunit",7017,"IsAllowedEditingActivePrice",1]]},{"name":"AssistEditCode","line":440,"kind":"procedure","params":1,"steps":[[449,"ext","codeunit",310,"LookupRelatedNoSeries",3],[449,"call","GetNoSeries",0],[450,"ext","codeunit",310,"GetNextNo",1]]},{"name":"BlankDefaults","line":456,"kind":"procedure","params":0,"steps":[[460,"call","SetSourceNo",2],[465,"event","OnAfterBlankDefaults",0]]},{"name":"GetNoSeries","line":468,"kind":"procedure","access":"local","params":0,"steps":[[495,"event","OnAfterGetNoSeries",0]]},{"name":"CheckIfLinesExist","line":498,"kind":"procedure","params":1,"steps":[[505,"call","TestStatusDraft",0]]},{"name":"CopyFrom","line":515,"kind":"procedure","params":1,"steps":[[527,"call","SetSourceNo",2],[539,"event","OnAfterCopyFromPriceSource",0]]},{"name":"CopyTo","line":542,"kind":"procedure","params":1,"steps":[[560,"event","OnAfterCopyToPriceSource",0]]},{"name":"UpdateAmountType","line":571,"kind":"procedure","params":0,"steps":[[575,"call","CopyTo",1],[579,"ext","table",7005,"GetDefaultAmountType",0],[581,"call","CalcAmountType",0],[583,"write",7000,"Modify"]]},{"name":"UpdateDatesInLines","line":610,"kind":"procedure","access":"local","params":2,"steps":[[622,"ext","codeunit",27,"GetResponse",2],[629,"call","SetStatusToDraft",1],[630,"write",7001,"ModifyAll"],[633,"write",7001,"ModifyAll"],[638,"call","SetStatusToDraft",1],[639,"event","OnUpdateDatesInLinesOnBeforePriceListLineModifyAllEndingDate",0],[640,"write",7001,"ModifyAll"],[643,"write",7001,"ModifyAll"]]},{"name":"SetStatusToDraft","line":657,"kind":"procedure","access":"local","params":1,"steps":[[660,"write",7001,"ModifyAll"]]},{"name":"TestStatusDraft","line":670,"kind":"procedure","params":0,"steps":[[672,"call","IsEditable",0]]},{"name":"HasDraftLines","line":683,"kind":"procedure","params":1,"steps":[[688,"event","OnBeforeHasDraftLines",1],[692,"call","IsEditable",0]]},{"name":"LookupSourceNo","line":700,"kind":"procedure","params":0,"steps":[[703,"call","CopyTo",1],[704,"ext","table",7005,"LookupNo",0],[706,"validate",7000,"Source No."]]},{"name":"UpdateStatus","line":712,"kind":"procedure","access":"local","params":0,"steps":[[720,"event","OnBeforeUpdateStatus",1],[725,"call","VerifySource",0],[733,"ext","codeunit",7017,"VerifyLines",1],[734,"ext","codeunit",7017,"ResolveDuplicatePrices",1],[739,"event","OnUpdateStatusOnBeforeConfirmStatus",1],[741,"ext","codeunit",27,"GetResponseOrDefault",2],[744,"write",7001,"ModifyAll"]]},{"name":"VerifyParentSource","line":749,"kind":"procedure","access":"local","params":0,"steps":[[754,"call","CopyTo",1]]},{"name":"VerifySource","line":759,"kind":"procedure","access":"local","params":0,"steps":[[761,"call","VerifyParentSource",0],[766,"call","IsSourceNoAllowed",0]]},{"name":"VerifyAmountTypeForCustPriceAndDiscountGroup","line":772,"kind":"procedure","access":"local","params":0,"steps":[[777,"call","CopyTo",1],[778,"ext","table",7005,"VerifyAmountTypeForSourceType",1]]}]}