Codeunit 6209 E-Doc Sample Purchase Invoice

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

src/Apps/W1/EDocument/App/src/SampleInvoice/EDocSamplePurchaseInvoice.Codeunit.al5 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

AddInvoice line 60

  1. 65writesTable 6100 E-Document Purchase Header DeleteAll
  2. 67writesTable 6101 E-Document Purchase Line DeleteAll
  3. 68callsInitSamplePurchInvHeader
  4. 68callsGetSampleInvoicePostingDate
  5. 69writesTable 6100 E-Document Purchase Header Insert
  6. 70callsGetSamplePurchInvFileName
  7. 73writesTable 6120 E-Doc Sample Purch. Inv File Insert

AddLine line 149, local

  1. 166callsGetLineDescription
  2. 177writesTable 6101 E-Document Purchase Line Insert

Generate line 183

  1. 192callsUpdateTotalVATInEDocPurchaseHeader
  2. 193writesTable 6100 E-Document Purchase Header Modify
  3. 194callsSetLayout
  4. 195callsCodeunit 6208 E-Doc Sample Purch.Inv. PDF GeneratePDF
  5. 196callsCodeunit 4100 Temp Blob Length
  6. 199callsGetSamplePurchInvFileName
  7. 200callsCodeunit 4100 Temp Blob CreateInStream
  8. 203writesTable 6120 E-Doc Sample Purch. Inv File Modify

UpdateTotalVATInEDocPurchaseHeader line 209, internal

  1. 221callsCalculateVATForEDocPurchaseLine

SetLayout line 292, local

  1. 300callsCodeunit 6208 E-Doc Sample Purch.Inv. PDF SetSamplePurchInvoiceLayout