Codeunit "FA Jnl.-Post Line"
ID 5632
Namespace: Microsoft.FixedAssets.Posting
Properties
Name
Value
Permissions
TableData "FA Ledger Entry" = r,
TableData "FA Register" = rm,
TableData "Maintenance Ledger Entry" = r,
TableData "Ins. Coverage Ledger Entry" = r
Methods
FAJnlPostLine
procedure FAJnlPostLine(FAJnlLine: Record "FA Journal Line", CheckLine: Boolean)
Parameters
GenJnlPostLine
procedure GenJnlPostLine(GenJnlLine: Record "Gen. Journal Line", FAAmount: Decimal, VATAmount: Decimal, NextTransactionNo: Integer, NextGLEntryNo: Integer, GLRegisterNo: Integer)
Parameters
PostReverseType
procedure PostReverseType(FALedgEntry: Record "FA Ledger Entry")
Parameters
PostGLBalAcc
procedure PostGLBalAcc(FALedgEntry: Record "FA Ledger Entry", AllocatedPct: Decimal)
Parameters
FindFirstGLAcc
procedure FindFirstGLAcc(var FAGLPostBuf: Record "FA G/L Posting Buffer"): Boolean
Parameters
Returns
GetNextGLAcc
procedure GetNextGLAcc(var FAGLPostBuf: Record "FA G/L Posting Buffer"): Integer
Parameters
Returns
SetResultOnDisposal
procedure SetResultOnDisposal(var FALedgEntry: Record "FA Ledger Entry")
Parameters
UpdateRegNo
procedure UpdateRegNo(GLRegNo: Integer)
Parameters
Name
Type
Description
GLRegNo
Integer
Events
OnAfterFAJnlPostLine
[IntegrationEvent(True,False)]
local procedure OnAfterFAJnlPostLine(var FAJournalLine: Record "FA Journal Line")
Parameters
OnAfterGenJnlPostLine
[IntegrationEvent(True,False)]
local procedure OnAfterGenJnlPostLine(var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnAfterPostDisposalEntry
[IntegrationEvent(True,False)]
local procedure OnAfterPostDisposalEntry(var FALedgEntry: Record "FA Ledger Entry", DeprBook: Record "Depreciation Book", FANo: Code[20], var FAInsertLedgEntry: Codeunit "FA Insert Ledger Entry")
Parameters
OnAfterPostFixedAsset
[IntegrationEvent(False,False)]
local procedure OnAfterPostFixedAsset(var FA: Record "Fixed Asset", FALedgEntry: Record "FA Ledger Entry")
Parameters
OnBeforeFAJnlPostLine
[IntegrationEvent(True,False)]
local procedure OnBeforeFAJnlPostLine(var FAJournalLine: Record "FA Journal Line", var FAInsertLedgerEntry: Codeunit "FA Insert Ledger Entry", CheckLine: Boolean, var IsHandled: Boolean)
Parameters
OnBeforeGenJnlPostLine
[IntegrationEvent(True,False)]
local procedure OnBeforeGenJnlPostLine(var GenJournalLine: Record "Gen. Journal Line", var FAInsertLedgerEntry: Codeunit "FA Insert Ledger Entry", FAAmount: Decimal, VATAmount: Decimal, NextTransactionNo: Integer, NextGLEntryNo: Integer, GLRegisterNo: Integer, var IsHandled: Boolean)
Parameters
OnBeforePostAllocation
[IntegrationEvent(True,False)]
local procedure OnBeforePostAllocation(var FALedgEntry: Record "FA Ledger Entry", var IsHandled: Boolean)
Parameters
OnBeforePostBudgetAsset
[IntegrationEvent(False,False)]
local procedure OnBeforePostBudgetAsset(var FALedgerEntry: Record "FA Ledger Entry", BudgetNo: Code[20], var IsHandled: Boolean)
Parameters
OnBeforePostReverseType
[IntegrationEvent(False,False)]
local procedure OnBeforePostReverseType(var FALedgEntry: Record "FA Ledger Entry")
Parameters
OnBeforePostDeprUntilDate
[IntegrationEvent(True,False)]
local procedure OnBeforePostDeprUntilDate(var FALedgEntry: Record "FA Ledger Entry", var FAPostingDate: Date, Type: Option, var IsHandled: Boolean)
Parameters
OnBeforePostDisposalEntry
[IntegrationEvent(True,False)]
local procedure OnBeforePostDisposalEntry(var FALedgEntry: Record "FA Ledger Entry", DeprBook: Record "Depreciation Book", FANo: Code[20], ErrorEntryNo: Integer, var IsHandled: Boolean, var FAInsertLedgEntry: Codeunit "FA Insert Ledger Entry")
Parameters
OnBeforePostFixedAsset
[IntegrationEvent(False,False)]
local procedure OnBeforePostFixedAsset(FANo: Code[20], DeprBookCode: Code[10], FAPostingType: Enum "FA Journal Line FA Posting Type", FALedgEntry: Record "FA Ledger Entry", var IsHandled: Boolean)
Parameters
OnBeforePostMaintenanceFromGenJnlLine
[IntegrationEvent(False,False)]
local procedure OnBeforePostMaintenanceFromGenJnlLine(var GenJournalLine: Record "Gen. Journal Line", var FALedgerEntry: Record "FA Ledger Entry", FAAmount: Decimal, VATAmount: Decimal)
Parameters
OnBeforePostFixedAssetFromGenJnlLine
[IntegrationEvent(False,False)]
local procedure OnBeforePostFixedAssetFromGenJnlLine(var GenJournalLine: Record "Gen. Journal Line", var FALedgerEntry: Record "FA Ledger Entry", FAAmount: Decimal, VATAmount: Decimal, GLRegisterNo: Integer)
Parameters
OnPostFixedAssetOnBeforeInsertEntry
[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnBeforeInsertEntry(var FALedgEntry: Record "FA Ledger Entry")
Parameters
OnPostSalvageValueOnBeforeInsertEntry
[IntegrationEvent(False,False)]
local procedure OnPostSalvageValueOnBeforeInsertEntry(var FALedgEntry: Record "FA Ledger Entry")
Parameters
OnPostMaintenanceOnBeforeInsertEntry
[IntegrationEvent(False,False)]
local procedure OnPostMaintenanceOnBeforeInsertEntry(var MaintenanceLedgEntry: Record "Maintenance Ledger Entry")
Parameters
OnPostBudgetAssetOnBeforeInsertMaintenanceLedgEntry
[IntegrationEvent(False,False)]
local procedure OnPostBudgetAssetOnBeforeInsertMaintenanceLedgEntry(var MaintenanceLedgEntry: Record "Maintenance Ledger Entry")
Parameters
OnPostBudgetAssetOnBeforeInsertFAEntry
[IntegrationEvent(False,False)]
local procedure OnPostBudgetAssetOnBeforeInsertFAEntry(var FALedgEntry: Record "FA Ledger Entry")
Parameters
OnAfterPostAllocation
[IntegrationEvent(False,False)]
local procedure OnAfterPostAllocation(var FALedgerEntry: Record "FA Ledger Entry")
Parameters
OnBeforePostGLBalAcc
[IntegrationEvent(False,False)]
local procedure OnBeforePostGLBalAcc(FALedgerEntry: Record "FA Ledger Entry", var AllocatedPct: Decimal)
Parameters
OnPostFixedAssetPostDisposalEntryForOtherFAPostingType
[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetPostDisposalEntryForOtherFAPostingType(FAPostingType: Enum "FA Journal Line FA Posting Type", var IsHandled: Boolean)
Parameters
OnBeforeDeprLine
[IntegrationEvent(False,False)]
local procedure OnBeforeDeprLine(FAPostingType: Enum "FA Journal Line FA Posting Type", DeprUntilDate: Boolean, Amount2: Decimal, var IsHandled: Boolean, var Result: Boolean)
Parameters
OnBeforeUpdateRegNo
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateRegNo(GLRegNo: Integer, var IsHandled: Boolean)
Parameters
Name
Type
Description
GLRegNo
Integer
IsHandled
Boolean
OnPostFixedAssetOnBeforeFixedAssetTestField
[IntegrationEvent(False,False)]
local procedure OnPostFixedAssetOnBeforeFixedAssetTestField(FALedgerEntry: Record "FA Ledger Entry", Amount2: Decimal, var IsHandled: Boolean)
Parameters
OnPostDisposalEntryOnAfterPostDisposalType
[IntegrationEvent(False,False)]
local procedure OnPostDisposalEntryOnAfterPostDisposalType(var FAInsertLedgerEntry: Codeunit "FA Insert Ledger Entry", var FALedgerEntry: Record "FA Ledger Entry", DisposalType: Option, EntryAmounts: array[14] of Decimal)
Parameters
OnSetResultOnDisposalOnAfterCalcGainLoss
[IntegrationEvent(False,False)]
local procedure OnSetResultOnDisposalOnAfterCalcGainLoss(var FADepreciationBook: Record "FA Depreciation Book")
Parameters
OnCalcResultOnDisposalOnAfterCalcGainLoss
[IntegrationEvent(False,False)]
local procedure OnCalcResultOnDisposalOnAfterCalcGainLoss(var FADepreciationBook: Record "FA Depreciation Book")
Parameters
See also