Report 1002 Post Inventory Cost to G/L

Base Application, Microsoft.Inventory.Costing

src/Layers/W1/BaseApp/Inventory/Costing/PostInventoryCosttoGL.Report.al21 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

ItemCaption.OnAfterGetRecord line 235, trigger

  1. 239callsGetItemValueEntry
  2. 241callsAddPostValueEntryToDelete
  3. 245callsIsCostFullyPostedToGL
  4. 251writesTable 5802 Value Entry Insert
  5. 259callsAddPostValueEntryToDelete
  6. 263callsCodeunit 5802 Inventory Posting To G/L BufferInvtPosting
  7. 264callsInsertValueEntryNoBuf
  8. 266callsAddPostValueEntryToDelete
  9. 270callsUpdateAmounts
  10. 271callsAddPostValueEntryToDelete
  11. 273callsPostEntryToGL

ItemCaption.OnPostDataItem line 281, trigger

  1. 284callsDeletePostValueEntriesToGL

ItemCaption.OnPreDataItem line 289, trigger

  1. 297callsTable 17 G/L Entry GetLastEntryNo
  2. 300raisesOnAfterOnPreDataItem

EntryNo_CapValueEntry.OnAfterGetRecord line 368, trigger

  1. 375callsIsCostFullyPostedToGL
  2. 376callsCodeunit 5802 Inventory Posting To G/L BufferInvtPosting
  3. 377callsInsertValueEntryNoBuf
  4. 379callsAddPostValueEntryToDelete
  5. 383callsUpdateAmounts
  6. 384callsAddPostValueEntryToDelete
  7. 386callsPostEntryToGL

EntryNo_CapValueEntry.OnPostDataItem line 394, trigger

  1. 396writesTable 5802 Value Entry DeleteAll
  2. 398callsDeletePostValueEntriesToGL

EntryNo_CapValueEntry.OnPreDataItem line 411, trigger

  1. 413callsTable 98 General Ledger Setup GetRecordOnce

InvtPostBufAmountCaption.OnAfterGetRecord line 466, trigger

  1. 478callsGetDimText
  2. 480callsTable 48 Invt. Posting Buffer UseInvtPostSetup

InvtPostBufAmountCaption.OnPostDataItem line 488, trigger

  1. 494callsPostEntryToGL

InvtPostBufAmountCaption.OnPreDataItem line 498, trigger

  1. 501callsCodeunit 5802 Inventory Posting To G/L GetInvtPostBuf

SkippedItemsCaption.OnAfterGetRecord line 566, trigger

  1. 574raisesOnSkippedvalueEntryOnOfterGetRecordOnBeforeSkip

JnlBatchName.OnLookup line 658, trigger

  1. 662callsCodeunit 230 GenJnlManagement SetJnlBatchName

OnOpenPage line 683, trigger

  1. 685raisesOnBeforeOnOpenPage
  2. 686callsTable 98 General Ledger Setup GetRecordOnce

OnPostReport line 716, trigger

  1. 721callsCodeunit 410 Update Analysis View UpdateAll
  2. 722callsDisplayStatistics

OnPreReport line 725, trigger

  1. 729raisesOnBeforePreReport
  2. 731callsTable 98 General Ledger Setup GetRecordOnce
  3. 741callsCodeunit 310 No. Series GetNextNo
  4. 743raisesOnPreReportOnAfterSetDocNo

GetItemValueEntry line 860, local

  1. 864raisesOnAfterGetItemValueEntry

IsCostFullyPostedToGL line 868, local

  1. 872callsTable 5811 Post Value Entry to G/L IsFullyPostedToGL

AddPostValueEntryToDelete line 875, local

  1. 881writesTable 5811 Post Value Entry to G/L Insert

DeletePostValueEntriesToGL line 884, local

  1. 891callsTable 5811 Post Value Entry to G/L GetValueEntryNoFilters
  2. 894writesTable 5811 Post Value Entry to G/L DeleteAll
  3. 896writesTable 5811 Post Value Entry to G/L DeleteAll

PostEntryToGL line 921, local

  1. 923callsCodeunit 5802 Inventory Posting To G/L Initialize
  2. 924callsTable 98 General Ledger Setup GetRecordOnce
  3. 926callsCodeunit 5802 Inventory Posting To G/L SetGenJnlBatch
  4. 927runsCodeunit 5802 Inventory Posting To G/L

UpdateAmounts line 931, local

  1. 933raisesOnBeforeUpdateAmounts
  2. 934callsCodeunit 5802 Inventory Posting To G/L GetAmtToPost
  3. 939callsCodeunit 5802 Inventory Posting To G/L GetAmtToPost

InsertValueEntryNoBuf line 945, local

  1. 949writesTable 5802 Value Entry Insert
  2. 950raisesOnAfterInsertValueEntryNoBuf