Codeunit 1012 Job Jnl.-Post Line

Base Application, Microsoft.Projects.Project.Posting

src/Layers/W1/BaseApp/Projects/Project/Posting/JobJnlPostLine.Codeunit.al26 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 38, trigger

  1. 40callsGetGLSetup
  2. 41callsRunWithCheck

RunWithCheck line 75

  1. 80raisesOnBeforeRunWithCheck
  2. 83callsCodeunit 9500 Sequence No. Mgt. ClearSequenceNoCheck
  3. 85callsCode

Code line 90, local

  1. 96raisesOnBeforeCode
  2. 98callsGetGLSetup
  3. 100callsTable 210 Job Journal Line EmptyLine
  4. 103raisesOnCodeOnBeforeCheckLine
  5. 105callsCodeunit 1011 Job Jnl.-Check Line SetCalledFromInvtPutawayPick
  6. 106callsCodeunit 1011 Job Jnl.-Check Line SetCalledFromPurchase
  7. 107callsCodeunit 1011 Job Jnl.-Check Line RunCheck
  8. 110callsGetNextEntryNo
  9. 115raisesOnBeforeCreateJobRegister
  10. 117callsGetAndCheckJob
  11. 121raisesOnAfterCopyJobJnlLine
  12. 127callsGetGLSetup
  13. 131callsUpdateJobJnlLineSourceCurrencyAmounts
  14. 133callsPostATO
  15. 136raisesOnCodeOnAfterCalcShouldPostUsage
  16. 140callsPostResource
  17. 142callsPostItem
  18. 144callsCreateJobLedgEntry
  19. 147callsCreateJobLedgEntry
  20. 150raisesOnAfterRunCode
  21. 151callsValidateSequenceNo

GetNextEntryNo line 156, local

  1. 162raisesOnBeforeGetNextEntryNoIsHandled
  2. 164callsTable 315 Jobs Setup UseLegacyPosting
  3. 166callsTable 169 Job Ledger Entry GetLastEntryNo
  4. 168raisesOnAfterGetNextEntryNo

InsertRegister line 171, local

  1. 174callsTable 241 Job Register GetNextEntryNo
  2. 174callsTable 315 Jobs Setup UseLegacyPosting
  3. 183raisesOnIsertJobRegisterOnBeforeInsert
  4. 184writesTable 241 Job Register Insert
  5. 192writesTable 241 Job Register Modify

ValidateSequenceNo line 197, local

  1. 203callsTable 315 Jobs Setup UseLegacyPosting
  2. 205callsCodeunit 9500 Sequence No. Mgt. ValidateSeqNo

GetAndCheckJob line 208, local

  1. 213raisesOnBeforeGetAndCheckJobIsHandled
  2. 218callsCheckJob

CheckJob line 231, local

  1. 236raisesOnBeforeCheckJobIsHandled
  2. 240callsTable 167 Job TestBlocked
  3. 245raisesOnCheckJobOnBeforeTestJobTaskTypeIsHandled

CreateJobLedgEntry line 259

  1. 271raisesOnBeforeCreateJobLedgEntryIsHandled
  2. 275callsSetCurrency
  3. 277callsTable 315 Jobs Setup UseLegacyPosting
  4. 278callsTable 169 Job Ledger Entry GetNextEntryNo
  5. 281callsCodeunit 1004 Job Transfer Line FromJnlLineToLedgEntry
  6. 284raisesOnCreateJobLedgEntryOnBeforeAssignQtyCostPriceIsHandled
  7. 334callsTable 169 Job Ledger Entry CopyTrackingFromJobJnlLine
  8. 347raisesOnCreateJobLedgerEntryOnAfterAssignLedgerEntryTypeAndNo
  9. 350callsTable 169 Job Ledger Entry CopyTrackingFromJobJnlLine
  10. 352callsInsertRegister
  11. 354raisesOnBeforeJobLedgEntryInsert
  12. 355writesTable 169 Job Ledger Entry Insert(true)
  13. 356raisesOnAfterJobLedgEntryInsert
  14. 360raisesOnBeforeApplyUsageLinkIsHandled
  15. 368callsCodeunit 1026 Job Link Usage FindMatchingJobPlanningLine
  16. 370callsCodeunit 1026 Job Link Usage ApplyUsage
  17. 372callsCodeunit 1001 Job Post-Line InsertPlLineFromLedgEntry
  18. 375callsTable 315 Jobs Setup UseLegacyPosting
  19. 377raisesOnAfterApplyUsageLink

CreateJobLedgEntryFromPostItem line 382, local

  1. 387raisesOnBeforeCreateJobLedgEntryFromPostItemIsHandled
  2. 391callsCreateJobLedgEntry

SetCurrency line 394, local

  1. 398callsTable 4 Currency InitRoundingPrecision

PostItem line 406, local

  1. 425raisesOnBeforeItemPostingIsHandled
  2. 427callsInitItemJnlLine
  3. 430callsCodeunit 99000844 Job Jnl. Line-Reserve TransJobJnlLineToItemJnlLine
  4. 436callsJobPlanningReservationExists
  5. 437callsApplyToMatchingJobPlanningLine
  6. 443raisesOnPostItemOnBeforeAssignItemJnlLine
  7. 446callsCodeunit 22 Item Jnl.-Post Line RunWithCheck
  8. 447callsCodeunit 22 Item Jnl.-Post Line CollectTrackingSpecification
  9. 449callsTable 210 Job Journal Line IsInventoriableItem
  10. 450callsPostWhseJnlLine
  11. 451raisesOnPostItemOnAfterPostWhseJnlLine
  12. 456raisesOnPostItemOnBeforeGetJobConsumptionValueEntry
  13. 457callsGetJobConsumptionValueEntry
  14. 471callsTable 210 Job Journal Line CopyTrackingFromItemLedgEntry
  15. 472raisesOnPostItemOnAfterApplyItemTracking
  16. 475raisesOnPostItemOnAfterSetSkipJobLedgerEntry
  17. 480callsCodeunit 5402 Unit of Measure Management QtyRndPrecision
  18. 481callsTable 4 Currency Initialize
  19. 483raisesOnPostItemOnBeforeUpdateTotalAmounts
  20. 485callsUpdateJobJnlLineTotalAmounts
  21. 486callsUpdateJobJnlLineAmount
  22. 489validatesTable 210 Job Journal Line Remaining Qty.
  23. 492callsCreateJobLedgEntryFromPostItem
  24. 494callsModifyValueEntry
  25. 499raisesOnAfterPostItem

ModifyValueEntry line 502, local

  1. 507raisesOnBeforeModifyValueEntryIsHandled
  2. 511writesTable 5802 Value Entry Modify(true)

PostResource line 514, local

  1. 520raisesOnBeforePostResourceIsHandled
  2. 525callsTable 207 Res. Journal Line CopyFromJobJnlLine
  3. 526callsCodeunit 212 Res. Jnl.-Post Line RunWithCheck
  4. 527callsUpdateJobJnlLineResourceGroupNo
  5. 528callsCreateJobLedgEntry

UpdateJobJnlLineResourceGroupNo line 531, local

  1. 536raisesOnBeforeUpdateJobJnlLineResourceGroupNoIsHandled

PostWhseJnlLine line 543, local

  1. 552raisesOnBeforePostWhseJnlLineIsHandled
  2. 561callsGetLocation
  3. 563callsCodeunit 7302 WMS Management CreateWhseJnlLine
  4. 564callsSetWhseDocForPicks
  5. 565writesTable 336 Tracking Specification ModifyAll
  6. 566callsCodeunit 6500 Item Tracking Management SplitWhseJnlLine
  7. 569callsCodeunit 7302 WMS Management CheckWhseJnlLine
  8. 570callsCodeunit 7301 Whse. Jnl.-Register Line RegisterWhseJnlLine

InitItemJnlLine line 589, local

  1. 592callsTable 83 Item Journal Line CopyFromJobJnlLine

UpdateJobJnlLineTotalAmounts line 600, local

  1. 606raisesOnAfterUpdateJobJnlLineTotalAmounts

UpdateJobJnlLineAmount line 609, local

  1. 614raisesOnBeforeUpdateJobJnlLineAmountIsHandled

UpdateJobJnlLineSourceCurrencyAmounts line 626, local

  1. 632callsTable 330 Currency Exchange Rate ExchangeAmtLCYToFCY
  2. 635callsTable 330 Currency Exchange Rate ExchangeRate
  3. 640callsTable 330 Currency Exchange Rate ExchangeAmtLCYToFCY
  4. 643callsTable 330 Currency Exchange Rate ExchangeRate
  5. 648callsTable 330 Currency Exchange Rate ExchangeAmtLCYToFCY
  6. 651callsTable 330 Currency Exchange Rate ExchangeRate

JobPlanningReservationExists line 656, local

  1. 662raisesOnBeforeJobPlanningReservationExistsIsHandled

GetJobConsumptionValueEntry line 673, local

  1. 678raisesOnBeforeGetJobConsumptionValueEntryIsHandled
  2. 689raisesOnGetJobConsumptionValueEntryFilter

ApplyToMatchingJobPlanningLine line 694, local

  1. 706callsCodeunit 1004 Job Transfer Line FromJnlLineToLedgEntry
  2. 710callsCodeunit 1026 Job Link Usage FindMatchingJobPlanningLine
  3. 711validatesTable 210 Job Journal Line Job Planning Line No.
  4. 712writesTable 210 Job Journal Line Modify(true)

SetWhseDocForPicks line 718, local

  1. 724callsTable 14 Location RequirePicking
  2. 729callsTable 7311 Warehouse Journal Line SetWhseDocument

PostATO line 732, local

  1. 744callsTable 1003 Job Planning Line AsmToOrderExists
  2. 751callsTable 1003 Job Planning Line CheckAsmToOrder
  3. 752callsHasQtyToAsm
  4. 758validatesTable 900 Assembly Header Quantity to Assemble
  5. 759writesTable 900 Assembly Header Modify(true)
  6. 762callsCodeunit 900 Assembly-Post SetPostingDate
  7. 763callsCodeunit 900 Assembly-Post InitPostATO
  8. 764callsCreatePosterATOLink
  9. 765callsCodeunit 900 Assembly-Post PostATO