{"title":"Page 5855 Posted Purchase Document Lines, extension points 29","url":"https://jonas-paprotka.de/ref/page/5855-posted-purchase-document-lines/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":"page","id":5855,"name":"Posted Purchase Document Lines","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/5855-posted-purchase-document-lines/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/5855-posted-purchase-document-lines/source/","path":"src/Layers/W1/BaseApp/Purchases/History/PostedPurchaseDocumentLines.Page.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:6620":{"name":"Copy Document Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/6620-copy-document-mgt/"}},"procs":[{"name":"ShowRevLine.OnValidate","line":36,"kind":"trigger","steps":[[42,"ext","codeunit",6620,"IsPurchFillExactCostRevLink",3],[47,"ext","codeunit",6620,"IsPurchFillExactCostRevLink",3]]},{"name":"PostedReceiptsBtn.OnValidate","line":72,"kind":"trigger","steps":[[75,"call","ChangeSubMenu",1],[77,"call","ChangeSubMenu",1],[79,"call","ChangeSubMenu",1],[81,"call","ChangeSubMenu",1]]},{"name":"OnOpenPage","line":175,"kind":"trigger","steps":[[178,"event","OnOpenPageOnAfterSetCurrentMenuType",0],[180,"call","ChangeSubMenu",1]]},{"name":"CopyLineToDoc","line":212,"kind":"procedure","params":0,"steps":[[219,"event","OnBeforeCopyLineToDoc",0],[226,"ext","codeunit",6620,"SetProperties",7],[227,"ext","codeunit",6620,"CopyPurchaseLinesToDoc",8],[234,"ext","codeunit",6620,"SetProperties",7],[235,"ext","codeunit",6620,"CopyPurchaseLinesToDoc",8],[242,"ext","codeunit",6620,"SetProperties",7],[243,"ext","codeunit",6620,"CopyPurchaseLinesToDoc",8],[250,"ext","codeunit",6620,"SetProperties",7],[251,"ext","codeunit",6620,"CopyPurchaseLinesToDoc",8],[256,"ext","codeunit",6620,"ShowMessageReapply",1],[259,"event","OnAfterCopyLineToDoc",0],[261,"call","ShowLinesNotCopiedMessage",0]]},{"name":"ChangeSubMenu","line":264,"kind":"procedure","params":1,"steps":[[267,"call","SetSubMenu",2],[268,"call","SetSubMenu",2]]},{"name":"SetSubMenu","line":278,"kind":"procedure","access":"local","params":2,"steps":[[282,"ext","codeunit",6620,"IsPurchFillExactCostRevLink",3],[290,"ext","codeunit",6620,"IsPurchFillExactCostRevLink",3],[298,"ext","codeunit",6620,"IsPurchFillExactCostRevLink",3]]},{"name":"ShowLinesNotCopiedMessage","line":336,"kind":"procedure","access":"local","params":0,"steps":[[341,"event","OnBeforeShowLinesNotCopiedMessage",1]]}]}