Table 5092 Opportunity

Base Application, Microsoft.CRM.Opportunity

Source AL, 1,434 lines

src/Layers/W1/BaseApp/CRM/Opportunity/Opportunity.Table.allines 24 to 39 of 1,434, Copyright (c) Microsoft Corporation. MIT

table 5092 Opportunity{    Caption = 'Opportunity';    DataCaptionFields = "No.", Description;    DataClassification = CustomerContent;    DrillDownPageID = "Opportunity List";    LookupPageID = "Opportunity List";    fields    {        field(1; "No."; Code[20])        {            Caption = 'No.';            ToolTip = 'Specifies the number of the involved entry or record, according to the specified number series.';            trigger OnValidate()

All 1,434 lines

Fields 39 in 29

1No.Code[20]17-29
2DescriptionText[100]17-29
3Salesperson CodeCode[20]17-29
4Campaign No.Code[20]17-29
5Contact No.Code[20]17-29
6Contact Company No.Code[20]17-29
7Sales Cycle CodeCode[10]17-29
8Sales Document No.Code[20]17-29
9Creation DateDate17-29

All 39 fields

Events 24 in 29

[IntegrationEvent] OnAfterFinishWizard(var Opportunity: Record Opportunity)17-29
[IntegrationEvent] OnAfterInsertOpportunity(var Opportunity: Record Opportunity)17-29
[IntegrationEvent] OnCreateQuoteOnBeforePageRun(var SalesHeader: Record "Sales Header"; var Opportunity: Record Opportunity)17-29
[IntegrationEvent] OnBeforeGetNewCustomerTemplateCode(Cont: Record Contact; var CustTemplateCode: Code[20]; var IsHandled: Boolean)new in 18
[IntegrationEvent] OnBeforeCheckStatus(var Opportunity: Record Opportunity; var OppEntry: Record "Opportunity Entry"; var IsHandled: Boolean)new in 19
[IntegrationEvent] OnFinishWizardOnBeforeInsertOpportunity(var Opportunity: Record Opportunity; var OppEntry: Record "Opportunity Entry")new in 19
[IntegrationEvent] OnBeforeCheckCampaign(var Opportunity: Record Opportunity; var IsHandled: Boolean)new in 20

All 31 events in 17-29

Public procedures 16 in 29

CreateFromInteractionLogEntry(InteractionLogEntry: Record "Interaction Log Entry")17-29
CreateFromSegmentLine(SegmentLine: Record "Segment Line")17-29
CreateOppFromOpp(var Opportunity: Record Opportunity)17-29changed in 22
UpdateOpportunity()17-29
CloseOpportunity()17-29
CreateQuote()17-29

All 16 procedures

Trigger events 10

OnBeforeInsertEvent(var Rec: Record Opportunity; RunTrigger: Boolean)
OnAfterInsertEvent(var Rec: Record Opportunity; RunTrigger: Boolean)
OnBeforeModifyEvent(var Rec: Record Opportunity; var xRec: Record Opportunity; RunTrigger: Boolean)
OnAfterModifyEvent(var Rec: Record Opportunity; var xRec: Record Opportunity; RunTrigger: Boolean)
OnBeforeDeleteEvent(var Rec: Record Opportunity; RunTrigger: Boolean)
OnAfterDeleteEvent(var Rec: Record Opportunity; RunTrigger: Boolean)
OnBeforeRenameEvent(var Rec: Record Opportunity; var xRec: Record Opportunity; RunTrigger: Boolean)
OnAfterRenameEvent(var Rec: Record Opportunity; var xRec: Record Opportunity; RunTrigger: Boolean)
OnBeforeValidateEvent(var Rec: Record Opportunity; var xRec: Record Opportunity; CurrFieldNo: Integer)
per field, ElementName: field name
OnAfterValidateEvent(var Rec: Record Opportunity; var xRec: Record Opportunity; CurrFieldNo: Integer)
per field, ElementName: field name

Changes 7 in 26

List17181920212223242526272829
Fields3121
Keys21
Procedures11
Events126622635
field(720; "Coupled to CRM"; Boolean)new in 19
Pending to Removed, tag 26.0: Replaced by flow field Coupled to Dataverse
key(Key9; "Coupled to CRM")19 to 25
gone
[IntegrationEvent] OnCreateOppFromOppOnAfterInit(var Opportunity: Record Opportunity)gone after 25
gone
[IntegrationEvent] OnCreateOppFromOppOnBeforeSetFilterSalesPersonCode(var Opportunity: Record Opportunity; var IsHandled: Boolean)22 to 25
gone
[IntegrationEvent] OnCreateOppFromOppOnAfterInit(var Opportunity: Record Opportunity; var DoSetDefaultSalesCycle: Boolean)new in 26
added
[IntegrationEvent] OnCreateOppFromOppOnBeforeSetFilterSalesPersonCode(var Opportunity: Record Opportunity; var IsHandled: Boolean; var FromOpportunity: Record Opportunity)new in 26
added

All 45 changes in 17-29