Codeunit "Cancel FA Ledger Entries"

ID 5624
Namespace: Microsoft.FixedAssets.Ledger

Methods

TransferLine

procedure TransferLine(var FALedgEntry: Record "FA Ledger Entry", BalAccount: Boolean, NewPostingDate: Date)

Parameters

Name Type Description
FALedgEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
BalAccount Boolean
NewPostingDate Date

InsertFAJnlLine

procedure InsertFAJnlLine(var FALedgEntry: Record "FA Ledger Entry")

Parameters

Name Type Description
FALedgEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"

InsertGenJnlLine

procedure InsertGenJnlLine(var FALedgEntry: Record "FA Ledger Entry", BalAccount: Boolean)

Parameters

Name Type Description
FALedgEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
BalAccount Boolean

SetHideValidationDialog

procedure SetHideValidationDialog(NewHideValidationDialog: Boolean)

Parameters

Name Type Description
NewHideValidationDialog Boolean

Events

OnAfterInsertFAJnlLine

[IntegrationEvent(False,False)]
local procedure OnAfterInsertFAJnlLine(var FAJournalLine: Record "FA Journal Line", var FALedgerEntry: Record "FA Ledger Entry")

Parameters

Name Type Description
FAJournalLine Table Microsoft.FixedAssets.Journal."FA Journal Line"
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"

OnAfterInsertGenJnlLine

[IntegrationEvent(False,False)]
local procedure OnAfterInsertGenJnlLine(var GenJournalLine: Record "Gen. Journal Line", var FALedgerEntry: Record "FA Ledger Entry", BalAccount: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
BalAccount Boolean

OnBeforeCheckType

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckType(FALedgerEntry: Record "FA Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
IsHandled Boolean

OnBeforeFAJnlLineInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeFAJnlLineInsert(var FAJournalLine: Record "FA Journal Line", FALedgerEntry: Record "FA Ledger Entry")

Parameters

Name Type Description
FAJournalLine Table Microsoft.FixedAssets.Journal."FA Journal Line"
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"

OnBeforeGenJnlLineInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeGenJnlLineInsert(var GenJournalLine: Record "Gen. Journal Line", FALedgerEntry: Record "FA Ledger Entry", BalAccount: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
BalAccount Boolean

OnTransferLineOnBeforeInsertJnlLine

[IntegrationEvent(False,False)]
local procedure OnTransferLineOnBeforeInsertJnlLine(FALedgerEntry: Record "FA Ledger Entry", BalAccount: Boolean, BudgetedAsset: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
BalAccount Boolean
BudgetedAsset Boolean
IsHandled Boolean

OnTransferLineOnBeforeIndexGLIntegration

[IntegrationEvent(False,False)]
local procedure OnTransferLineOnBeforeIndexGLIntegration(DepreciationBook: Record "Depreciation Book", var IsHandled: Boolean)

Parameters

Name Type Description
DepreciationBook Table Microsoft.FixedAssets.Depreciation."Depreciation Book"
IsHandled Boolean

See also