Codeunit 5348 CRM Quote to Sales Quote
src/Layers/W1/BaseApp/Integration/D365Sales/CRMQuotetoSalesQuote.Codeunit.al25 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnRun line 22, trigger
- 29callsCodeunit 7200 CDS Integration Mgt. GetCDSCompany
- 33callsProcessInNAV
ApplyQuoteDiscounts line 71, local
- 80callsCodeunit 5344 CRM Product Name CDSServiceName
- 85callsCodeunit 56 Sales - Calc Discount By Type ApplyInvDiscBasedOnAmt
- 91callsHideQuoteDiscountsDialog
- 92callsCodeunit 5344 CRM Product Name CDSServiceName
- 95callsCodeunit 5344 CRM Product Name CDSServiceName
HideQuoteDiscountsDialog line 98, local
ProcessActiveQuote line 118, local
- 125callsTable 5331 CRM Integration Record FindRecordIDFromID
- 129callsCreateOrUpdateNAVQuote
- 137callsTable 5331 CRM Integration Record FindRecordIDFromID
- 138callsGetSalesHeaderByRecordId
- 140writesTable 5331 CRM Integration Record Delete(true)
- 141callsCreateOrUpdateNAVQuote
- 145callsCreateOrUpdateNAVQuote
ProcessWonQuote line 148, local
- 166callsCreateOrUpdateNAVQuote
- 176callsTable 5331 CRM Integration Record FindByCRMID
- 182runsCodeunit 5343 CRM Sales Order to Sales Order
- 185raisesOnBeforeFindOrderSalesHeader
- 201writesTable 36 Sales Header Modify
- 204callsCodeunit 5063 ArchiveManagement ArchSalesDocumentNoConfirm
- 205raisesOnAfterArchSalesDocumentNoConfirm
- 208writesTable 36 Sales Header Modify
- 213validatesTable 5331 CRM Integration Record CRM ID
- 214validatesTable 5331 CRM Integration Record Integration ID
- 215writesTable 5331 CRM Integration Record Insert(true)
CreateOrUpdateSalesQuoteHeader line 243, local
- 254validatesTable 36 Sales Header Document Type
- 255validatesTable 36 Sales Header Status
- 256callsTable 36 Sales Header InitInsert
- 259validatesTable 36 Sales Header Status
- 261callsGetCoupledCustomer
- 262validatesTable 36 Sales Header Sell-to Customer No.
- 263validatesTable 36 Sales Header Your Reference
- 264validatesTable 36 Sales Header Currency Code
- 264callsCodeunit 5342 CRM Synch. Helper GetNavCurrencyCode
- 265validatesTable 36 Sales Header Requested Delivery Date
- 266callsCopyBillToInformationIfNotEmpty
- 267callsCopyShipToInformationIfNotEmpty
- 268callsCopyCRMOptionFields
- 269validatesTable 36 Sales Header External Document No.
- 270validatesTable 36 Sales Header Quote Valid Until Date
- 275callsCodeunit 5336 Integration Record Synch. SetTextValue
- 275callsCodeunit 5336 Integration Record Synch. GetTextValue
- 278raisesOnCreateOrUpdateSalesQuoteHeaderOnBeforeInsertOrModify
- 280writesTable 36 Sales Header Insert(true)
- 282writesTable 36 Sales Header Modify(true)
CreateOrUpdateSalesQuoteNotes line 285, local
- 293callsCreateNote
CreateOrUpdateSalesQuoteLines line 297, local
- 309callsInitializeSalesQuoteLine
- 310writesTable 37 Sales Line Insert(true)
- 312validatesTable 37 Sales Line Qty. to Assemble to Order
- 315validatesTable 37 Sales Line Document Type
- 316validatesTable 37 Sales Line Document No.
- 319callsTable 37 Sales Line InsertFreightLine
GetCoupledCustomer line 322
- 331raisesOnBeforeGetCoupledCustomerIsHandled
- 336callsCodeunit 5344 CRM Product Name CDSServiceName
- 339callsGetCRMAccountOfCRMQuote
- 340callsCodeunit 5344 CRM Product Name CDSServiceName
- 343callsTable 5331 CRM Integration Record FindRecordIDFromID
- 344callsCodeunit 5344 CRM Product Name CDSServiceName
GetCRMAccountOfCRMQuote line 349
- 355raisesOnBeforeGetCRMAccountOfCRMQuoteIsHandled
- 362callsCodeunit 5344 CRM Product Name CDSServiceName
- 363callsCodeunit 5344 CRM Product Name CDSServiceName
CopyCRMOptionFields line 373, local
- 378callsTable 5334 CRM Option Mapping FindRecordID
- 381validatesTable 36 Sales Header Shipping Agent Code
- 383callsTable 5334 CRM Option Mapping GetRecordKeyValue
- 385callsTable 5334 CRM Option Mapping FindRecordID
- 388validatesTable 36 Sales Header Payment Terms Code
- 390callsTable 5334 CRM Option Mapping GetRecordKeyValue
- 392callsTable 5334 CRM Option Mapping FindRecordID
- 395validatesTable 36 Sales Header Shipment Method Code
- 397callsTable 5334 CRM Option Mapping GetRecordKeyValue
CopyBillToInformationIfNotEmpty line 400, local
- 412validatesTable 36 Sales Header Bill-to Address
- 413validatesTable 36 Sales Header Bill-to Address 2
- 414validatesTable 36 Sales Header Bill-to City
- 415validatesTable 36 Sales Header Bill-to Post Code
- 416validatesTable 36 Sales Header Bill-to Country/Region Code
- 418validatesTable 36 Sales Header Bill-to County
InitNewSalesLine line 421, local
- 424validatesTable 37 Sales Line Document Type
- 425validatesTable 37 Sales Line Document No.
- 427validatesTable 37 Sales Line Line No.
InitializeWriteInQuoteLine line 430, local
- 436callsCodeunit 5344 CRM Product Name CDSServiceName
- 437callsCodeunit 5344 CRM Product Name CDSServiceName
- 437callsTable 37 Sales Line GetSalesHeader
- 439validatesTable 311 Sales & Receivables Setup Write-in Product No.
- 442validatesTable 37 Sales Line Type
- 444validatesTable 37 Sales Line Type
- 446validatesTable 37 Sales Line No.
InitializeSalesQuoteLineFromItem line 449, local
- 456callsTable 5331 CRM Integration Record FindRecordIDFromID
- 457callsCodeunit 5344 CRM Product Name CDSServiceName
- 461validatesTable 37 Sales Line Type
- 462validatesTable 37 Sales Line No.
InitializeSalesQuoteLineFromResource line 465, local
- 472callsTable 5331 CRM Integration Record FindRecordIDFromID
- 473callsCodeunit 5344 CRM Product Name CDSServiceName
- 477validatesTable 37 Sales Line Type
- 478validatesTable 37 Sales Line No.
InitializeSalesQuoteLine line 481, local
- 486callsInitNewSalesLine
- 489callsInitializeWriteInQuoteLine
- 495callsInitializeSalesQuoteLineFromItem
- 497callsInitializeSalesQuoteLineFromResource
- 502callsSetLineDescription
- 504callsCodeunit 5330 CRM Integration Management IsUnitGroupMappingEnabled
- 505callsUpdateSalesLineUnitOfMeasure
- 507validatesTable 37 Sales Line Quantity
- 508validatesTable 37 Sales Line Unit Price
- 509validatesTable 37 Sales Line Amount
- 510validatesTable 37 Sales Line Line Discount Amount
- 515raisesOnAfterInitializeSalesQuoteLine
UpdateSalesLineUnitOfMeasure line 518, local
- 532callsTable 5331 CRM Integration Record FindRecordIDFromID
- 533callsCodeunit 5344 CRM Product Name CDSServiceName
- 538validatesTable 37 Sales Line Unit of Measure Code
- 542callsTable 5331 CRM Integration Record FindRecordIDFromID
- 543callsCodeunit 5344 CRM Product Name CDSServiceName
- 548validatesTable 37 Sales Line Unit of Measure Code
CopyShipToInformationIfNotEmpty line 553, local
- 565validatesTable 36 Sales Header Ship-to Address
- 566validatesTable 36 Sales Header Ship-to Address 2
- 567validatesTable 36 Sales Header Ship-to City
- 568validatesTable 36 Sales Header Ship-to Post Code
- 569validatesTable 36 Sales Header Ship-to Country/Region Code
- 571validatesTable 36 Sales Header Ship-to County
- 572raisesOnAfterCopyShipToInformationIfNotEmpty
CreateNote line 575, local
- 591callsCodeunit 447 Record Link Management WriteNote
- 591callsTable 5392 CRM Annotation Coupling ExtractNoteText
- 594writesTable 2000000068 Record Link Insert(true)
SetLineDescription line 597, local
CreateExtendedDescriptionQuoteLines line 631
- 636callsInitNewSalesLine
- 638validatesTable 37 Sales Line Description
- 640writesTable 37 Sales Line Insert
ManageSalesQuoteArchive line 646
- 652callsCodeunit 5063 ArchiveManagement ArchSalesDocumentNoConfirm
- 655writesTable 37 Sales Line DeleteAll
- 658writesTable 2000000068 Record Link DeleteAll
- 661writesTable 36 Sales Header Modify