Codeunit 6156 E-Doc. DED PEPPOL Pre-Mapping

E-Document Core, Microsoft.eServices.EDocument.IO.Peppol

src/Apps/W1/EDocument/App/src/DataExchange/PEPPOL Data Exchange Definition/EDocDEDPEPPOLPreMapping.Codeunit.al19 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 42, trigger

  1. 50callsFindDistinctRecordNos
  2. 57callsValidateCurrency
  3. 58callsSetDocumentType
  4. 60callsFindBuyFromVendor
  5. 61callsFindPayToVendor
  6. 62callsFindInvoiceToApplyTo
  7. 64callsPersistHeaderData
  8. 66callsProcessLines
  9. 68callsApplyInvoiceCharges

ValidateCurrency line 72, local

  1. 83callsLogErrorMessage
  2. 86callsTable 1214 Intermediate Data Import GetEntryValue
  3. 88callsLogSimpleErrorMessage
  4. 97writesTable 1214 Intermediate Data Import Modify
  5. 104callsLogSimpleErrorMessage
  6. 108writesTable 1214 Intermediate Data Import DeleteAll
  7. 117callsLogSimpleErrorMessage
  8. 121writesTable 1214 Intermediate Data Import DeleteAll

PersistHeaderData line 124, local

  1. 137validatesTable 6121 E-Document Bill-to/Pay-to No.
  2. 139validatesTable 6121 E-Document Bill-to/Pay-to No.
  3. 141writesTable 6121 E-Document Modify

FindBuyFromVendor line 144, local

  1. 164callsTable 1214 Intermediate Data Import GetEntryValue
  2. 165callsCodeunit 6109 E-Document Import Helper FindVendorById
  3. 167callsUpdateIntermediateRecord
  4. 169callsTable 1214 Intermediate Data Import GetEntryValue
  5. 170callsCodeunit 6109 E-Document Import Helper FindVendorByNo
  6. 172callsUpdateIntermediateRecord
  7. 175callsTable 1214 Intermediate Data Import GetEntryValue
  8. 177callsTable 1214 Intermediate Data Import FindEntry
  9. 189callsCodeunit 6109 E-Document Import Helper FindVendorByGLN
  10. 191callsUpdateIntermediateRecord
  11. 203callsTable 1214 Intermediate Data Import FindEntry
  12. 214callsCodeunit 6109 E-Document Import Helper FindVendorByBankAccount
  13. 216callsUpdateIntermediateRecord
  14. 218callsCodeunit 6109 E-Document Import Helper FindVendorByPhoneNo
  15. 220callsUpdateIntermediateRecord
  16. 222callsCodeunit 6109 E-Document Import Helper FindVendorByNameAndAddress
  17. 224callsUpdateIntermediateRecord
  18. 227callsCodeunit 6109 E-Document Import Helper FindVendorByVATRegistrationNo
  19. 229callsUpdateIntermediateRecord
  20. 233callsCodeunit 6109 E-Document Import Helper FindVendorByBankAccount
  21. 235callsUpdateIntermediateRecord
  22. 237callsCodeunit 6109 E-Document Import Helper FindVendorByPhoneNo
  23. 239callsUpdateIntermediateRecord
  24. 241callsCodeunit 6109 E-Document Import Helper FindVendorByNameAndAddress
  25. 243callsUpdateIntermediateRecord
  26. 247callsLogErrorMessage

FindPayToVendor line 251, local

  1. 263callsTable 1214 Intermediate Data Import FindEntry
  2. 280callsCodeunit 6109 E-Document Import Helper FindVendorByNameAndAddress
  3. 282callsUpdateIntermediateRecord
  4. 288callsCodeunit 6109 E-Document Import Helper FindVendorByGLN
  5. 290callsUpdateIntermediateRecord
  6. 293callsCodeunit 6109 E-Document Import Helper FindVendorByVATRegistrationNo
  7. 295callsUpdateIntermediateRecord
  8. 298callsLogErrorMessage

UpdateIntermediateRecord line 302, local

  1. 306callsTable 1214 Intermediate Data Import InsertOrUpdateEntry

FindInvoiceToApplyTo line 310, local

  1. 318callsTable 1214 Intermediate Data Import GetEntryValue
  2. 326callsTable 1214 Intermediate Data Import InsertOrUpdateEntry
  3. 328callsTable 1214 Intermediate Data Import InsertOrUpdateEntry
  4. 338callsLogErrorMessage
  5. 345callsLogErrorMessage

ProcessLines line 349, local

  1. 351callsFindDistinctRecordNos
  2. 353callsInsertLineForTotalDocumentAmount

InsertLineForTotalDocumentAmount line 358, local

  1. 368raisesOnBeforeInsertLineForTotalDocumentAmountIsHandled
  2. 375callsTable 1214 Intermediate Data Import GetEntryValue
  3. 379callsTable 1214 Intermediate Data Import InsertOrUpdateEntry
  4. 381callsTable 1214 Intermediate Data Import InsertOrUpdateEntry
  5. 383callsTable 1214 Intermediate Data Import InsertOrUpdateEntry
  6. 384callsGetTotalAmountExclVAT
  7. 385callsFindGLAccountForLine

GetTotalAmountExclVAT line 388, local

  1. 393callsTable 1214 Intermediate Data Import FindEntry
  2. 394callsLogSimpleErrorMessage

FindGLAccountForLine line 400, local

  1. 409callsTable 1214 Intermediate Data Import GetEntryValue
  2. 411callsTable 1214 Intermediate Data Import GetEntryValue
  3. 414callsFindAppropriateGLAccount
  4. 417callsTable 1214 Intermediate Data Import InsertOrUpdateEntry
  5. 419callsTable 1214 Intermediate Data Import InsertOrUpdateEntry

FindDistinctRecordNos line 426, local

  1. 433writesTable 2000000026 Integer DeleteAll
  2. 445writesTable 2000000026 Integer Insert

ApplyInvoiceCharges line 450, local

  1. 498callsInsertChargeLineField
  2. 499callsInsertChargeLineField
  3. 500callsInsertChargeLineField
  4. 501callsInsertChargeLineField
  5. 502callsInsertChargeLineField

InsertChargeLineField line 508, local

  1. 514writesTable 1214 Intermediate Data Import Insert

LogErrorMessage line 517, local

  1. 523callsTable 700 Error Message SetContext
  2. 524callsTable 700 Error Message LogMessage

LogSimpleErrorMessage line 527, local

  1. 533callsTable 700 Error Message SetContext
  2. 534callsTable 700 Error Message LogSimpleMessage

SetDocumentType line 537, local

  1. 548callsTable 1214 Intermediate Data Import FindEntry
  2. 549callsLogErrorMessage
  3. 550callsConstructDocumenttypeUnknownErr
  4. 553callsGetDocumentTypeOptionString
  5. 554callsGetDocumentTypeOptionCaption
  6. 557callsGetDocumentTypeOptionString
  7. 558callsGetDocumentTypeOptionCaption
  8. 562callsLogErrorMessage
  9. 563callsConstructDocumenttypeUnknownErr
  10. 566callsTable 1214 Intermediate Data Import InsertOrUpdateEntry

ConstructDocumenttypeUnknownErr line 593

  1. 603callsGetDocumentTypeOptionCaption
  2. 604callsGetDocumentTypeOptionCaption

FindAppropriateGLAccount line 610

  1. 621callsTable 1214 Intermediate Data Import GetEntryValue
  2. 626callsTable 1251 Text-to-Account Mapping SearchEnteriesInText
  3. 628callsFindCorrectAccountFromMapping
  4. 630callsLogErrorMessage
  5. 636callsTable 1251 Text-to-Account Mapping SearchEnteriesInText
  6. 638callsFindCorrectAccountFromMapping
  7. 640callsLogErrorMessage
  8. 661callsLogErrorMessage