{"title":"Page 5124 Opportunity Card, extension points 29","url":"https://jonas-paprotka.de/ref/page/5124-opportunity-card/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":5124,"name":"Opportunity Card","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/5124-opportunity-card/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/5124-opportunity-card/source/","path":"src/Layers/W1/BaseApp/CRM/Opportunity/OpportunityCard.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":{"table:5050":{"name":"Contact","url":"https://jonas-paprotka.de/ref/table/5050-contact/"},"page:41":{"name":"Sales Quote","url":"https://jonas-paprotka.de/ref/page/41-sales-quote/"},"codeunit:5330":{"name":"CRM Integration Management","url":"https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/"},"codeunit:5331":{"name":"CRM Coupling Management","url":"https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/"},"table:5092":{"name":"Opportunity","url":"https://jonas-paprotka.de/ref/table/5092-opportunity/"},"report:5068":{"name":"Opportunity - Details","url":"https://jonas-paprotka.de/ref/report/5068-opportunity-details/"},"table:5077":{"name":"Segment Line","url":"https://jonas-paprotka.de/ref/table/5077-segment-line/"}},"procs":[{"name":"Contact No..OnValidate","line":45,"kind":"trigger","steps":[[51,"ext","table",5050,"CheckIfPrivacyBlockedGeneric",0],[52,"call","ContactNoOnAfterValidate",0]]},{"name":"Show Sales Quote.OnAction","line":258,"kind":"trigger","steps":[[268,"run","page",41]]},{"name":"CRMGotoOpportunity.OnAction","line":285,"kind":"trigger","steps":[[289,"ext","codeunit",5330,"ShowCRMEntityFromRecordID",1]]},{"name":"CRMSynchronizeNow.OnAction","line":300,"kind":"trigger","steps":[[310,"ext","codeunit",5330,"UpdateOneNow",1],[313,"ext","codeunit",5330,"UpdateMultipleNow",1]]},{"name":"ManageCRMCoupling.OnAction","line":330,"kind":"trigger","steps":[[334,"ext","codeunit",5330,"DefineCoupling",1]]},{"name":"DeleteCRMCoupling.OnAction","line":346,"kind":"trigger","steps":[[350,"ext","codeunit",5331,"RemoveCoupling",1]]},{"name":"ShowLog.OnAction","line":361,"kind":"trigger","steps":[[365,"ext","codeunit",5330,"ShowLog",1]]},{"name":"Activate the First Stage.OnAction","line":384,"kind":"trigger","steps":[[386,"ext","table",5092,"StartActivateFirstStage",0]]},{"name":"Update.OnAction","line":398,"kind":"trigger","steps":[[400,"ext","table",5092,"UpdateOpportunity",0]]},{"name":"CloseOpportunity.OnAction","line":411,"kind":"trigger","steps":[[413,"ext","table",5092,"CloseOpportunity",0]]},{"name":"CreateSalesQuote.OnAction","line":424,"kind":"trigger","steps":[[426,"ext","table",5092,"CreateQuote",0]]},{"name":"Print Details.OnAction","line":436,"kind":"trigger","steps":[[442,"run","report",5068]]},{"name":"Create &Interaction.OnAction","line":452,"kind":"trigger","steps":[[456,"ext","table",5077,"CreateInteractionFromOpp",1]]},{"name":"OnAfterGetCurrRecord","line":540,"kind":"trigger","steps":[[546,"ext","table",5050,"CheckIfPrivacyBlockedGeneric",0],[549,"ext","table",5050,"CheckIfPrivacyBlockedGeneric",0],[550,"call","UpdateEditable",0]]},{"name":"Category_Coupling.OnAfterGetRecord","line":555,"kind":"trigger","steps":[[560,"ext","codeunit",5331,"IsRecordCoupledToCRM",1],[562,"ext","table",5050,"GetOrClear",1]]},{"name":"OnNewRecord","line":577,"kind":"trigger","steps":[[581,"ext","table",5092,"SetSegmentFromFilter",0],[583,"ext","table",5092,"SetContactFromFilter",0],[585,"ext","table",5092,"SetCampaignFromFilter",0],[586,"ext","table",5092,"SetDefaultSalesCycle",0]]},{"name":"OnOpenPage","line":589,"kind":"trigger","steps":[[594,"ext","codeunit",5330,"IsCRMIntegrationEnabled",0]]},{"name":"OnQueryClosePage","line":597,"kind":"trigger","steps":[[601,"ext","table",5092,"StartActivateFirstStage",0]]},{"name":"UpdateEditable","line":625,"kind":"procedure","access":"local","params":0,"steps":[[629,"call","IsStatusLessThanWon",0],[630,"call","IsStatusLessThanWon",0],[631,"call","IsStatusLessThanWon",0],[632,"call","IsStatusLessThanWon",0]]}]}