Codeunit 131306 Library - Journals

Application Test Library

src/Layers/W1/Tests/ApplicationTestLibrary/LibraryJournals.Codeunit.al11 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

CreateGenJournalLine line 15

  1. 27validatesTable 81 Gen. Journal Line Journal Template Name
  2. 28validatesTable 81 Gen. Journal Line Journal Batch Name
  3. 30validatesTable 81 Gen. Journal Line Line No.
  4. 30callsCodeunit 131000 Library - Utility GetNewLineNo
  5. 31writesTable 81 Gen. Journal Line Insert(true)
  6. 32validatesTable 81 Gen. Journal Line Posting Date
  7. 33validatesTable 81 Gen. Journal Line VAT Reporting Date
  8. 34validatesTable 81 Gen. Journal Line Document Type
  9. 35validatesTable 81 Gen. Journal Line Account Type
  10. 36validatesTable 81 Gen. Journal Line Account No.
  11. 37validatesTable 81 Gen. Journal Line Amount
  12. 39validatesTable 81 Gen. Journal Line Document No.
  13. 39callsCodeunit 310 No. Series PeekNextNo
  14. 41validatesTable 81 Gen. Journal Line Document No.
  15. 42callsCodeunit 131000 Library - Utility GenerateRandomCode
  16. 43validatesTable 81 Gen. Journal Line External Document No.
  17. 44validatesTable 81 Gen. Journal Line Source Code
  18. 44callsCodeunit 131300 Library - ERM FindGeneralJournalSourceCode
  19. 45validatesTable 81 Gen. Journal Line Bal. Account Type
  20. 46validatesTable 81 Gen. Journal Line Bal. Account No.
  21. 47raisesOnBeforeModifyGenJnlLineWhenCreate
  22. 48writesTable 81 Gen. Journal Line Modify(true)

CreateGenJournalLine2 line 51

  1. 67callsGetLastGenJnlLineAndBalance
  2. 68callsSetLastGenJnlLineFields
  3. 71validatesTable 81 Gen. Journal Line Journal Template Name
  4. 72validatesTable 81 Gen. Journal Line Journal Batch Name
  5. 74validatesTable 81 Gen. Journal Line Line No.
  6. 74callsCodeunit 131000 Library - Utility GetNewLineNo
  7. 75writesTable 81 Gen. Journal Line Insert(true)
  8. 78callsTable 81 Gen. Journal Line SetUpNewLine
  9. 81validatesTable 81 Gen. Journal Line Document Type
  10. 82validatesTable 81 Gen. Journal Line Account Type
  11. 83validatesTable 81 Gen. Journal Line Account No.
  12. 84validatesTable 81 Gen. Journal Line Amount
  13. 85validatesTable 81 Gen. Journal Line External Document No.
  14. 86validatesTable 81 Gen. Journal Line Source Code
  15. 86callsCodeunit 131300 Library - ERM FindGeneralJournalSourceCode
  16. 87validatesTable 81 Gen. Journal Line Bal. Account Type
  17. 88validatesTable 81 Gen. Journal Line Bal. Account No.
  18. 89raisesOnBeforeModifyGenJnlLineWhenCreate
  19. 90writesTable 81 Gen. Journal Line Modify(true)

CreateGenJournalLineWithBatch line 93

  1. 98callsCreateGenJournalBatch
  2. 99callsCodeunit 131300 Library - ERM CreateGLAccount
  3. 100callsCreateGenJournalLine

CreateGenJournalBatch line 112

  1. 116callsCodeunit 131300 Library - ERM CreateGenJournalTemplate
  2. 117callsCodeunit 131300 Library - ERM CreateGenJournalBatch

CreateGenJournalBatchWithType line 120

  1. 124callsCodeunit 131300 Library - ERM CreateGenJournalTemplate
  2. 125validatesTable 80 Gen. Journal Template Type
  3. 126writesTable 80 Gen. Journal Template Modify(true)
  4. 127callsCodeunit 131300 Library - ERM CreateGenJournalBatch

SelectGenJournalBatch line 130

  1. 137callsCodeunit 131300 Library - ERM CreateGLAccount
  2. 141callsCodeunit 131300 Library - ERM CreateGenJournalBatch
  3. 142validatesTable 232 Gen. Journal Batch No. Series
  4. 142callsCodeunit 131300 Library - ERM CreateNoSeriesCode
  5. 143validatesTable 232 Gen. Journal Batch Bal. Account Type
  6. 146validatesTable 232 Gen. Journal Batch Bal. Account No.
  7. 147writesTable 232 Gen. Journal Batch Modify(true)

SelectGenJournalTemplate line 150

  1. 160validatesTable 80 Gen. Journal Template Name
  2. 161callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 162validatesTable 80 Gen. Journal Template Type
  4. 163validatesTable 80 Gen. Journal Template Page ID
  5. 164validatesTable 80 Gen. Journal Template Recurring
  6. 165writesTable 80 Gen. Journal Template Insert(true)

GetLastGenJnlLineAndBalance line 171, local

  1. 181callsCodeunit 230 GenJnlManagement CalcBalance

SetLastGenJnlLineFields line 185, local

  1. 190callsCodeunit 310 No. Series PeekNextNo
  2. 193callsCodeunit 131000 Library - Utility GenerateRandomCode

SetPostWithJobQueue line 198

  1. 203validatesTable 98 General Ledger Setup Post with Job Queue
  2. 204writesTable 98 General Ledger Setup Modify(true)

SetPostAndPrintWithJobQueue line 207

  1. 212validatesTable 98 General Ledger Setup Post & Print with Job Queue
  2. 213writesTable 98 General Ledger Setup Modify(true)