Codeunit 6406 EDoc Prepare Purch. Draft

E-Document Core, Microsoft.eServices.EDocument.Processing.Import

src/Apps/W1/EDocument/App/src/Processing/Import/PrepareDraft/EDocPreparePurchDraft.Codeunit.al9 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

PrepareDraft line 29

  1. 53callsCodeunit 6175 E-Doc. Activity Log Session CreateSession
  2. 55callsTable 6100 E-Document Purchase Header GetFromEDocument
  3. 59callsGetVendor
  4. 67writesTable 6100 E-Document Purchase Header Modify
  5. 69callsCodeunit 6120 E-Doc. Purchase Hist. Mapping FindRelatedPurchaseHeaderInHistory
  6. 70callsCodeunit 6120 E-Doc. Purchase Hist. Mapping UpdateMissingHeaderValuesFromHistory
  7. 71writesTable 6100 E-Document Purchase Header Modify
  8. 73callsCodeunit 6122 E-Doc. Imp. Session Telemetry SetBool
  9. 77callsCodeunit 6122 E-Doc. Imp. Session Telemetry SetText
  10. 79callsCodeunit 6122 E-Doc. Imp. Session Telemetry SetText
  11. 81callsCodeunit 6122 E-Doc. Imp. Session Telemetry SetText
  12. 83callsCodeunit 6122 E-Doc. Imp. Session Telemetry SetText
  13. 94writesTable 6101 E-Document Purchase Line Modify
  14. 98callsResolveVATProductPostingGroups
  15. 100callsCopilotLineMatching
  16. 111callsCodeunit 6122 E-Doc. Imp. Session Telemetry SetLine
  17. 114callsComputeAndApplyVATAmountDifference
  18. 115writesTable 6100 E-Document Purchase Header Modify
  19. 117callsLogAllActivitySessionChanges
  20. 119callsCodeunit 6175 E-Doc. Activity Log Session EndSession

OpenDraftPage line 130

  1. 134callsEnsureDraftHeaderExistsForFailedExtraction

EnsureDraftHeaderExistsForFailedExtraction line 140, internal

  1. 148callsTable 6100 E-Document Purchase Header InsertForEDocument

CleanUpDraft line 151

  1. 158writesTable 6100 E-Document Purchase Header DeleteAll(true)
  2. 162writesTable 6101 E-Document Purchase Line DeleteAll(true)

LogAllActivitySessionChanges line 165, local

  1. 167callsLog
  2. 167callsCodeunit 6175 E-Doc. Activity Log Session AccountNumberTok
  3. 168callsLog
  4. 168callsCodeunit 6175 E-Doc. Activity Log Session DeferralTok
  5. 169callsLog
  6. 169callsCodeunit 6175 E-Doc. Activity Log Session ItemRefTok
  7. 170callsLog
  8. 170callsCodeunit 6175 E-Doc. Activity Log Session TextToAccountMappingTok
  9. 171callsLog
  10. 171callsCodeunit 6175 E-Doc. Activity Log Session ItemDescriptionTok

Log line 174, local

  1. 181callsCodeunit 6175 E-Doc. Activity Log Session GetAll
  2. 183callsCodeunit 3111 Activity Log Builder Log

ResolveVATProductPostingGroups line 186, local

  1. 199callsTable 6100 E-Document Purchase Header GetBCVendor
  2. 225callsFindVATProductPostingGroup
  3. 226writesTable 6101 E-Document Purchase Line Modify
  4. 228callsTable 6101 E-Document Purchase Line LogVATRateMismatch
  5. 230callsTable 6101 E-Document Purchase Line LogVATRateResolved

FindVATProductPostingGroup line 235, local

  1. 242callsCodeunit 6402 E-Doc. Purch. Doc. Helper SetNormalReverseChargeFilter

CopilotLineMatching line 252, local

  1. 265runsCodeunit 6177 E-Doc. Historical Matching
  2. 274runsCodeunit 6126 E-Doc. GL Account Matching
  3. 283runsCodeunit 6129 E-Doc. Deferral Matching