Codeunit 6137 E-Document Create Jnl. Line

E-Document Core, Microsoft.eServices.EDocument

src/Apps/W1/EDocument/App/src/Processing/EDocumentCreateJnlLine.Codeunit.al4 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 19, trigger

  1. 21callsCreateGeneralJournalLine

CreateGeneralJournalLine line 35, local

  1. 49callsCodeunit 6115 E-Document Error Helper LogErrorMessage
  2. 61validatesTable 81 Gen. Journal Line Journal Template Name
  3. 62validatesTable 81 Gen. Journal Line Journal Batch Name
  4. 64validatesTable 81 Gen. Journal Line Document No.
  5. 64callsCodeunit 308 No. Series - Batch GetNextNo
  6. 65writesTable 81 Gen. Journal Line Insert
  7. 70validatesTable 81 Gen. Journal Line Journal Template Name
  8. 71validatesTable 81 Gen. Journal Line Journal Batch Name
  9. 74callsTable 81 Gen. Journal Line SetUpNewLine
  10. 77writesTable 81 Gen. Journal Line Delete
  11. 85callsCodeunit 6115 E-Document Error Helper LogErrorMessage
  12. 96validatesTable 81 Gen. Journal Line Account Type
  13. 98validatesTable 81 Gen. Journal Line Account No.
  14. 100validatesTable 81 Gen. Journal Line Account No.
  15. 102callsUseDefaultGLAccount
  16. 105validatesTable 81 Gen. Journal Line Account Type
  17. 107validatesTable 81 Gen. Journal Line Account No.
  18. 109validatesTable 81 Gen. Journal Line Account No.
  19. 111callsUseDefaultGLAccount
  20. 115validatesTable 81 Gen. Journal Line Bal. Account Type
  21. 116validatesTable 81 Gen. Journal Line Bal. Account No.
  22. 119validatesTable 81 Gen. Journal Line Bal. Account Type
  23. 120validatesTable 81 Gen. Journal Line Bal. Account No.
  24. 123validatesTable 81 Gen. Journal Line Bal. Account Type
  25. 124validatesTable 81 Gen. Journal Line Bal. Account No.
  26. 126callsCodeunit 6115 E-Document Error Helper LogErrorMessage
  27. 129validatesTable 81 Gen. Journal Line Posting Date
  28. 130validatesTable 81 Gen. Journal Line Document Date
  29. 131validatesTable 81 Gen. Journal Line Due Date
  30. 132validatesTable 81 Gen. Journal Line External Document No.
  31. 136callsVerifyCurrency
  32. 137validatesTable 81 Gen. Journal Line Currency Code
  33. 140validatesTable 81 Gen. Journal Line Amount
  34. 142validatesTable 81 Gen. Journal Line Amount
  35. 145validatesTable 81 Gen. Journal Line Description
  36. 147raisesOnBeforeGenJnlLineInsertFromEDocument
  37. 149callsCodeunit 6115 E-Document Error Helper HasErrors
  38. 150writesTable 81 Gen. Journal Line Insert(true)
  39. 155callsCodeunit 6115 E-Document Error Helper LogWarningMessage

UseDefaultGLAccount line 161, local

  1. 175callsCodeunit 6115 E-Document Error Helper LogErrorMessage
  2. 178validatesTable 81 Gen. Journal Line Account Type
  3. 179validatesTable 81 Gen. Journal Line Account No.

VerifyCurrency line 183, local

  1. 189callsCodeunit 6115 E-Document Error Helper LogErrorMessage
  2. 193callsTable 330 Currency Exchange Rate CurrencyExchangeRateExist
  3. 194callsCodeunit 6115 E-Document Error Helper LogErrorMessage