Codeunit 1639 Office Line Generation

Base Application, Microsoft.CRM.Outlook

src/Layers/W1/BaseApp/CRM/Outlook/OfficeLineGeneration.Codeunit.al11 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

CreateLinesBasedOnQuantityReferences line 29, local

  1. 57raisesOnBeforeCreateLinesBasedOnQuantityReferencesIsHandled
  2. 70callsSanitizeText
  3. 77callsSanitizeText
  4. 78callsSanitizeText
  5. 81callsFindItemFromText
  6. 82callsItemAlreadyFound
  7. 83callsCalculateMatchStrength
  8. 85callsFindItemFromText
  9. 86callsItemAlreadyFound
  10. 87callsCalculateMatchStrength
  11. 89callsConvertToInteger
  12. 91callsInsertSuggestedLineItem
  13. 94callsInsertSuggestedLineItem
  14. 98callsGetMatchTotals
  15. 99callsNewLine
  16. 104callsCodeunit 1630 Office Management GetOfficeAddinTelemetryCategory

CreateLinesBasedOnItemReferences line 108, local

  1. 127raisesOnBeforeCreateLinesBasedOnItemReferencesIsHandled
  2. 136callsSanitizeText
  3. 147callsPerformSearch
  4. 148callsInsertSuggestedLineItem
  5. 152callsGetMatchTotals
  6. 153callsNewLine
  7. 158callsCodeunit 1630 Office Management GetOfficeAddinTelemetryCategory

CreateLineItemsOnCloseSuggestedLineItems line 162, local

  1. 169callsInsertLineItemsAndUpdateAggregate
  2. 174callsNewLine
  3. 177callsCodeunit 1630 Office Management GetOfficeAddinTelemetryCategory

InsertLineItemsAndUpdateAggregate line 181, internal

  1. 188callsCodeunit 5532 Disable Aggregate Table Update SetDisableAllRecords
  2. 194callsInsertLineItem
  3. 205callsInsertLineItem

FindItemFromText line 248, local

  1. 270callsPerformSearch
  2. 275callsOmitFirst
  3. 276callsPerformSearch
  4. 279callsOmitLast
  5. 280callsPerformSearch
  6. 284callsPerformSearch

InsertSuggestedLineItem line 361, local

  1. 380validatesTable 1637 Office Suggested Line Item Quantity
  2. 381writesTable 1637 Office Suggested Line Item Modify(true)
  3. 384validatesTable 1637 Office Suggested Line Item Line No.
  4. 386validatesTable 1637 Office Suggested Line Item Item No.
  5. 388validatesTable 1637 Office Suggested Line Item Item Description
  6. 389validatesTable 1637 Office Suggested Line Item Quantity
  7. 390validatesTable 1637 Office Suggested Line Item Matches
  8. 391writesTable 1637 Office Suggested Line Item Insert(true)

InsertLineItem line 398, local

  1. 407callsInsertSalesLine
  2. 412callsInsertPurchaseLine

InsertSalesLine line 417, local

  1. 429validatesTable 37 Sales Line Document Type
  2. 430validatesTable 37 Sales Line Document No.
  3. 431validatesTable 37 Sales Line Line No.
  4. 432validatesTable 37 Sales Line Sell-to Customer No.
  5. 433validatesTable 37 Sales Line Type
  6. 434validatesTable 37 Sales Line No.
  7. 435validatesTable 37 Sales Line Quantity
  8. 436writesTable 37 Sales Line Insert(true)

InsertPurchaseLine line 439, local

  1. 451validatesTable 39 Purchase Line Document Type
  2. 452validatesTable 39 Purchase Line Document No.
  3. 453validatesTable 39 Purchase Line Line No.
  4. 454validatesTable 39 Purchase Line Buy-from Vendor No.
  5. 455validatesTable 39 Purchase Line Type
  6. 456validatesTable 39 Purchase Line No.
  7. 457validatesTable 39 Purchase Line Quantity
  8. 458writesTable 39 Purchase Line Insert(true)

PerformSearch line 491, local

  1. 496callsFindItemsByDescription
  2. 497callsCalculateMatchStrength
  3. 505callsResolveItem
  4. 506callsCalculateMatchStrength

ResolveItem line 518, local

  1. 537callsFindItemsByDescription
  2. 547callsSanitizeText
  3. 550callsFindItemFromText
  4. 551callsCalculateMatchStrength
  5. 563callsSanitizeText
  6. 566callsFindItemFromText
  7. 567callsCalculateMatchStrength
  8. 578callsFindItemFromText