Codeunit 1395 Cancel Issued Fin. Charge Memo

Base Application, Microsoft.Sales.FinanceCharge

src/Layers/W1/BaseApp/Sales/FinanceCharge/CancelIssuedFinChargeMemo.Codeunit.al15 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 31, trigger

  1. 33callsCheckIssuedFinChargeMemo
  2. 34callsCancelIssuedFinChargeMemo

CheckIssuedFinChargeMemo line 55, local

  1. 67callsCheckAppliedFinChargeMemoCustLedgerEntry

CancelIssuedFinChargeMemo line 70, local

  1. 80raisesOnBeforeCancelIssuedFinChargeMemo
  2. 86callsIsFeePosted
  3. 87callsGetDocumentNoAndPostingDate
  4. 89callsSetIssuedFinChargeMemoCancelled
  5. 98callsUpdateCustLedgEntryCalculateInterest
  6. 99callsSetFinChargeMemoEntryCancelled
  7. 105callsInsertGenJnlLineForFee
  8. 110callsInsertGenJnlLineForInterest
  9. 114callsInitGenJnlLine
  10. 117validatesTable 81 Gen. Journal Line Amount
  11. 118validatesTable 81 Gen. Journal Line Amount (LCY)
  12. 119writesTable 81 Gen. Journal Line Insert
  13. 123callsPostGenJnlLines
  14. 125raisesOnAfterCancelIssuedFinChargeMemo

CheckAppliedFinChargeMemoCustLedgerEntry line 128, local

  1. 137raisesOnCheckAppliedFinChargeMemoCustLedgerEntryOnAfterCalcAmounts
  2. 139callsTable 700 Error Message LogMessage
  3. 145callsShowAppliedCustomerLedgerEntryNotification

SetFinChargeMemoEntryCancelled line 153, local

  1. 161writesTable 300 Reminder/Fin. Charge Entry Modify

InsertGenJnlLineForFee line 165, local

  1. 169callsInitGenJnlLine
  2. 172callsTable 81 Gen. Journal Line CopyFromIssuedFinChargeMemoLine
  3. 174validatesTable 81 Gen. Journal Line Tax Area Code
  4. 175validatesTable 81 Gen. Journal Line Tax Liable
  5. 176validatesTable 81 Gen. Journal Line Tax Group Code
  6. 178callsTable 81 Gen. Journal Line UpdateLineBalance
  7. 182writesTable 81 Gen. Journal Line Insert

InsertGenJnlLineForInterest line 186, local

  1. 191callsInitGenJnlLine
  2. 193callsTable 92 Customer Posting Group GetInterestAccount
  3. 195validatesTable 81 Gen. Journal Line VAT Bus. Posting Group
  4. 196validatesTable 81 Gen. Journal Line Amount
  5. 197callsTable 81 Gen. Journal Line UpdateLineBalance
  6. 201writesTable 81 Gen. Journal Line Insert

InitGenJnlLine line 204, local

  1. 213validatesTable 81 Gen. Journal Line Account No.
  2. 214callsTable 81 Gen. Journal Line CopyFromIssuedFinChargeMemoHeader
  3. 231raisesOnAfterInitGenJnlLine

GetDocumentNoAndPostingDate line 254, local

  1. 269callsCodeunit 310 No. Series GetNextNo

PostGenJnlLines line 273, local

  1. 281callsSetDimensions
  2. 282callsCodeunit 12 Gen. Jnl.-Post Line RunWithCheck
  3. 285writesTable 81 Gen. Journal Line DeleteAll

SetIssuedFinChargeMemoCancelled line 312, local

  1. 314validatesTable 304 Issued Fin. Charge Memo Header Canceled
  2. 318writesTable 304 Issued Fin. Charge Memo Header Modify

ShowAppliedCustomerLedgerEntryNotification line 321, local

  1. 326callsGetAppliedCustomerLedgerEntryNotificationId
  2. 335callsCodeunit 1511 Notification Lifecycle Mgt. SendNotificationWithAdditionalContext
  3. 336callsGetAppliedCustomerLedgerEntryNotificationId

ShowCustomerLedgerEntry line 343

  1. 350runsPage 25 Customer Ledger Entries

UpdateCustLedgEntryCalculateInterest line 353, local

  1. 360writesTable 21 Cust. Ledger Entry ModifyAll

SetDimensions line 372, local

  1. 381callsCodeunit 408 DimensionManagement AddDimSource
  2. 386callsCodeunit 408 DimensionManagement GetRecDefaultDimID