Codeunit "FA Insert G/L Account"

ID 5601
Namespace: Microsoft.FixedAssets.Ledger

Properties

Name Value
TableNo Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"

Methods

InsertMaintenanceAccNo

procedure InsertMaintenanceAccNo(var MaintenanceLedgEntry: Record "Maintenance Ledger Entry")

Parameters

Name Type Description
MaintenanceLedgEntry Table Microsoft.FixedAssets.Maintenance."Maintenance Ledger Entry"

InsertBufferBalAcc

procedure InsertBufferBalAcc(FAPostingType: Enum "FA Posting Group Account Type", AllocAmount: Decimal, DeprBookCode: Code[10], PostingGrCode: Code[20], GlobalDim1Code: Code[20], GlobalDim2Code: Code[20], DimSetID: Integer, AutomaticEntry: Boolean, Correction: Boolean)

Parameters

Name Type Description
FAPostingType Enum Microsoft.FixedAssets.FixedAsset."FA Posting Group Account Type"
AllocAmount Decimal
DeprBookCode Code[10]
PostingGrCode Code[20]
GlobalDim1Code Code[20]
GlobalDim2Code Code[20]
DimSetID Integer
AutomaticEntry Boolean
Correction Boolean

InsertBalAcc

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

Parameters

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

GetPostingType

procedure GetPostingType(var FALedgEntry: Record "FA Ledger Entry"): Enum "FA Posting Group Account Type"

Parameters

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

Returns

Type Description
Enum Microsoft.FixedAssets.FixedAsset."FA Posting Group Account Type"

GetBalAccBuffer

procedure GetBalAccBuffer(var GenJnlLine: Record "Gen. Journal Line"): Integer

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Returns

Type Description
Integer

GetBalAcc

procedure GetBalAcc(GenJnlLine: Record "Gen. Journal Line"): Integer

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Returns

Type Description
Integer

GetBalAcc

procedure GetBalAcc(var GenJnlLine: Record "Gen. Journal Line", var NextLineNo2: Integer)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
NextLineNo2 Integer

GetBalAccWithBalAccountInfo

procedure GetBalAccWithBalAccountInfo(GenJnlLine: Record "Gen. Journal Line", BalAccountType: Option, BalAccountNo: Code[20])

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
BalAccountType Option
BalAccountNo Code[20]

FindFirstGLAcc

procedure FindFirstGLAcc(var FAGLPostBuf: Record "FA G/L Posting Buffer"): Boolean

Parameters

Name Type Description
FAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"

Returns

Type Description
Boolean

GetNextGLAcc

procedure GetNextGLAcc(var FAGLPostBuf: Record "FA G/L Posting Buffer"): Integer

Parameters

Name Type Description
FAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"

Returns

Type Description
Integer

DeleteAllGLAcc

procedure DeleteAllGLAcc()

SetOrgGenJnlLine

procedure SetOrgGenJnlLine(OrgGenJnlLine2: Boolean)

Parameters

Name Type Description
OrgGenJnlLine2 Boolean

CorrectEntries

procedure CorrectEntries()

SetNetDisposal

procedure SetNetDisposal(NetDisp2: Boolean)

Parameters

Name Type Description
NetDisp2 Boolean

Events

OnAfterCopyFAGLPostBufFromFALederEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFAGLPostBufFromFALederEntry(var FAGLPostingBuffer: Record "FA G/L Posting Buffer", FALedgerEntry: Record "FA Ledger Entry")

Parameters

Name Type Description
FAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"

OnAfterCorrectBookValueEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCorrectBookValueEntry(var FAGLPostingBuffer: Record "FA G/L Posting Buffer")

Parameters

Name Type Description
FAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"

OnAfterCalcDisposalAmount

[IntegrationEvent(False,False)]
local procedure OnAfterCalcDisposalAmount(var FAPostingGroup: Record "FA Posting Group")

Parameters

Name Type Description
FAPostingGroup Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"

OnAfterGetGLAccNoFromFAPostingGroup

[IntegrationEvent(False,False)]
local procedure OnAfterGetGLAccNoFromFAPostingGroup(FAPostingGroup: Record "FA Posting Group", FAPostingType: Enum "FA Posting Group Account Type", var GLAccNo: Code[20])

Parameters

Name Type Description
FAPostingGroup Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"
FAPostingType Enum Microsoft.FixedAssets.FixedAsset."FA Posting Group Account Type"
GLAccNo Code[20]

OnAfterInsertBalAcc

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

Parameters

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

OnAfterRun

[IntegrationEvent(False,False)]
local procedure OnAfterRun(var FALedgerEntry: Record "FA Ledger Entry", var TempFAGLPostingBuffer: Record "FA G/L Posting Buffer" temporary, var NumberOfEntries: Integer, var OrgGenJnlLine: Boolean, var NetDisp: Boolean, var FAGLPostingBuffer: Record "FA G/L Posting Buffer", var DisposalEntry: Boolean, var BookValueEntry: Boolean, var NextEntryNo: Integer, var GLEntryNo: Integer, var DisposalEntryNo: Integer, var DisposalAmount: Decimal, var GainLossAmount: Decimal, var FAPostingGroup2: Record "FA Posting Group")

Parameters

Name Type Description
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
TempFAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
NumberOfEntries Integer
OrgGenJnlLine Boolean
NetDisp Boolean
FAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
DisposalEntry Boolean
BookValueEntry Boolean
NextEntryNo Integer
GLEntryNo Integer
DisposalEntryNo Integer
DisposalAmount Decimal
GainLossAmount Decimal
FAPostingGroup2 Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"

OnAfterSetCombinedDimensionSetID

[IntegrationEvent(False,False)]
local procedure OnAfterSetCombinedDimensionSetID(var FAGLPostBuf: Record "FA G/L Posting Buffer", FAAlloc: Record "FA Allocation", DimensionSetIDArr: array[10] of Integer)

Parameters

Name Type Description
FAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
FAAlloc Table Microsoft.FixedAssets.FixedAsset."FA Allocation"
DimensionSetIDArr array[10] of Integer

OnAfterSetDefaultDimID

[IntegrationEvent(False,False)]
local procedure OnAfterSetDefaultDimID(var FAGLPostBuf: Record "FA G/L Posting Buffer", GLAccNo: Code[20], DimSetID: Integer)

Parameters

Name Type Description
FAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
GLAccNo Code[20]
DimSetID Integer

OnBeforeCheckAccountType

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckAccountType(var GenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnBeforeFillAllocationBuffer

[IntegrationEvent(False,False)]
local procedure OnBeforeFillAllocationBuffer(var TempFAGLPostingBuffer: Record "FA G/L Posting Buffer" temporary, var NextEntryNo: Integer, var GLEntryNo: Integer, var NumberOfEntries: Integer, var OrgGenJnlLine: Boolean, var NetDisp: Boolean, GLAccNo: Code[20], FAPostingType: Option, AllocAmount: Decimal, DeprBookCode: Code[10], PostingGrCode: Code[20], GlobalDim1Code: Code[20], GlobalDim2Code: Code[20], DimSetID: Integer, AutomaticEntry: Boolean, Correction: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
TempFAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
NextEntryNo Integer
GLEntryNo Integer
NumberOfEntries Integer
OrgGenJnlLine Boolean
NetDisp Boolean
GLAccNo Code[20]
FAPostingType Option
AllocAmount Decimal
DeprBookCode Code[10]
PostingGrCode Code[20]
GlobalDim1Code Code[20]
GlobalDim2Code Code[20]
DimSetID Integer
AutomaticEntry Boolean
Correction Boolean
IsHandled Boolean

OnBeforeGetBalAccLocal

[IntegrationEvent(False,False)]
local procedure OnBeforeGetBalAccLocal(var GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnBeforeInsertBalAcc

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

Parameters

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

OnInsertMaintenanceAccNoOnBeforeInsertBufferEntry

[IntegrationEvent(False,False)]
local procedure OnInsertMaintenanceAccNoOnBeforeInsertBufferEntry(var FAGLPostBuf: Record "FA G/L Posting Buffer", var MaintenanceLedgEntry: Record "Maintenance Ledger Entry")

Parameters

Name Type Description
FAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
MaintenanceLedgEntry Table Microsoft.FixedAssets.Maintenance."Maintenance Ledger Entry"

OnInsertBufferBalAccOnAfterFAAllocSetFilters

[IntegrationEvent(False,False)]
local procedure OnInsertBufferBalAccOnAfterFAAllocSetFilters(var FAAllocation: Record "FA Allocation")

Parameters

Name Type Description
FAAllocation Table Microsoft.FixedAssets.FixedAsset."FA Allocation"

OnBeforeTempFAGLPostBufModify

[IntegrationEvent(False,False)]
local procedure OnBeforeTempFAGLPostBufModify(var FAPostingGroup: Record "FA Posting Group", var TempFAGLPostingBuffer: Record "FA G/L Posting Buffer" temporary, GLAmount: Decimal)

Parameters

Name Type Description
FAPostingGroup Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"
TempFAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
GLAmount Decimal

OnCorrectBookValueEntryOnBeforeInsertBufferBalAcc

[IntegrationEvent(False,False)]
local procedure OnCorrectBookValueEntryOnBeforeInsertBufferBalAcc(var FAGLPostBuf: Record "FA G/L Posting Buffer")

Parameters

Name Type Description
FAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"

OnGetBalAccAfterSaveGenJnlLineFields

[IntegrationEvent(True,False)]
local procedure OnGetBalAccAfterSaveGenJnlLineFields(var ToGenJnlLine: Record "Gen. Journal Line", FromGenJnlLine: Record "Gen. Journal Line", var SkipInsert: Boolean)

Parameters

Name Type Description
ToGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
FromGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
SkipInsert Boolean

OnGetBalAccAfterRestoreGenJnlLineFields

[IntegrationEvent(False,False)]
local procedure OnGetBalAccAfterRestoreGenJnlLineFields(var ToGenJnlLine: Record "Gen. Journal Line", FromGenJnlLine: Record "Gen. Journal Line", var TempFAGLPostBuf: Record "FA G/L Posting Buffer")

Parameters

Name Type Description
ToGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
FromGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempFAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"

OnGetBalAccLocalOnAfterInsertGenJnlLine

[IntegrationEvent(False,False)]
local procedure OnGetBalAccLocalOnAfterInsertGenJnlLine(var GenJnlLine: Record "Gen. Journal Line", var TempFAGLPostBuf: Record "FA G/L Posting Buffer")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempFAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"

OnInsertBufferBalAccOnAfterAssignFromFAAllocAcc

[IntegrationEvent(False,False)]
local procedure OnInsertBufferBalAccOnAfterAssignFromFAAllocAcc(FAAllocation: Record "FA Allocation", var FAGLPostBuf: Record "FA G/L Posting Buffer")

Parameters

Name Type Description
FAAllocation Table Microsoft.FixedAssets.FixedAsset."FA Allocation"
FAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"

OnInsertBufferBalAccOnAfterAssignFromFAPostingGrAcc

[IntegrationEvent(False,False)]
local procedure OnInsertBufferBalAccOnAfterAssignFromFAPostingGrAcc(FAAllocation: Record "FA Allocation", var FAGLPostBuf: Record "FA G/L Posting Buffer", FAPostingType: Enum "FA Posting Group Account Type", AllocAmount: Decimal)

Parameters

Name Type Description
FAAllocation Table Microsoft.FixedAssets.FixedAsset."FA Allocation"
FAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
FAPostingType Enum Microsoft.FixedAssets.FixedAsset."FA Posting Group Account Type"
AllocAmount Decimal

OnInsertBufferBalAccOnAfterGetFAPostingGroup

[IntegrationEvent(False,False)]
local procedure OnInsertBufferBalAccOnAfterGetFAPostingGroup(var FAPostingGr: Record "FA Posting Group")

Parameters

Name Type Description
FAPostingGr Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"

OnInsertBufferEntryOnBeforeBufferInsert

[IntegrationEvent(False,False)]
local procedure OnInsertBufferEntryOnBeforeBufferInsert(var TempFAGLPostBuf: Record "FA G/L Posting Buffer" temporary, FAGLPostBuf: Record "FA G/L Posting Buffer")

Parameters

Name Type Description
TempFAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
FAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"

OnBeforeFAInsertGLAccount

[IntegrationEvent(False,False)]
local procedure OnBeforeFAInsertGLAccount(var FALedgerEntry: Record "FA Ledger Entry", var TempFAGLPostBuf: Record "FA G/L Posting Buffer" temporary, var FAGLPostBuf: Record "FA G/L Posting Buffer", var DisposalEntry: Boolean, var BookValueEntry: Boolean, var NextEntryNo: Integer, var GLEntryNo: Integer, var OrgGenJnlLine: Boolean, var NetDisp: Boolean, var NumberOfEntries: Integer, var DisposalEntryNo: Integer, var DisposalAmount: Decimal, var GainLossAmount: Decimal, var FAPostingGr2: Record "FA Posting Group", var IsHandled: Boolean)

Parameters

Name Type Description
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
TempFAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
FAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
DisposalEntry Boolean
BookValueEntry Boolean
NextEntryNo Integer
GLEntryNo Integer
OrgGenJnlLine Boolean
NetDisp Boolean
NumberOfEntries Integer
DisposalEntryNo Integer
DisposalAmount Decimal
GainLossAmount Decimal
FAPostingGr2 Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"
IsHandled Boolean

OnAfterInsertMaintenanceAccNo

[IntegrationEvent(False,False)]
local procedure OnAfterInsertMaintenanceAccNo(var MaintenanceLedgEntry: Record "Maintenance Ledger Entry", var FAGLPostBuf: Record "FA G/L Posting Buffer")

Parameters

Name Type Description
MaintenanceLedgEntry Table Microsoft.FixedAssets.Maintenance."Maintenance Ledger Entry"
FAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"

OnBeforeCalculateNoOfEmptyLines

[IntegrationEvent(False,False)]
local procedure OnBeforeCalculateNoOfEmptyLines(var GenJnlLine: Record "Gen. Journal Line", var TempFAGLPostingBuffer: Record "FA G/L Posting Buffer" temporary, var NextLineNo: Integer, var NoOfEmptyLines: Integer, var NoOfEmptyLines2: Integer, var NumberOfEntries: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempFAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
NextLineNo Integer
NoOfEmptyLines Integer
NoOfEmptyLines2 Integer
NumberOfEntries Integer
IsHandled Boolean

OnInsertBufferBalAccOnAfterInsertBufferEntryFromFAAllocAcc

[IntegrationEvent(False,False)]
local procedure OnInsertBufferBalAccOnAfterInsertBufferEntryFromFAAllocAcc(FAAllocation: Record "FA Allocation", var TempFAGLPostBuf: Record "FA G/L Posting Buffer" temporary, FAPostingType: Enum "FA Posting Group Account Type", DeprBookCode: Code[10], PostingGrCode: Code[20], NewAmount: Decimal, AutomaticEntry: Boolean, Correction: Boolean, var NumberOfEntries: Integer, OrgGenJnlLine: Boolean, NetDisp: Boolean)

Parameters

Name Type Description
FAAllocation Table Microsoft.FixedAssets.FixedAsset."FA Allocation"
TempFAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
FAPostingType Enum Microsoft.FixedAssets.FixedAsset."FA Posting Group Account Type"
DeprBookCode Code[10]
PostingGrCode Code[20]
NewAmount Decimal
AutomaticEntry Boolean
Correction Boolean
NumberOfEntries Integer
OrgGenJnlLine Boolean
NetDisp Boolean

OnInsertBufferBalAccOnAfterInsertBufferEntryFromFAPostingGrAcc

[IntegrationEvent(False,False)]
local procedure OnInsertBufferBalAccOnAfterInsertBufferEntryFromFAPostingGrAcc(FAAllocation: Record "FA Allocation", var TempFAGLPostBuf: Record "FA G/L Posting Buffer" temporary, FAPostingType: Enum "FA Posting Group Account Type", DeprBookCode: Code[10], PostingGrCode: Code[20], AllocAmount: Decimal, TotalAllocAmount: Decimal, GLAccNo: Code[20], GlobalDim1Code: Code[20], GlobalDim2Code: Code[20], DimSetID: Integer, AutomaticEntry: Boolean, Correction: Boolean, var NumberOfEntries: Integer, OrgGenJnlLine: Boolean, NetDisp: Boolean)

Parameters

Name Type Description
FAAllocation Table Microsoft.FixedAssets.FixedAsset."FA Allocation"
TempFAGLPostBuf Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
FAPostingType Enum Microsoft.FixedAssets.FixedAsset."FA Posting Group Account Type"
DeprBookCode Code[10]
PostingGrCode Code[20]
AllocAmount Decimal
TotalAllocAmount Decimal
GLAccNo Code[20]
GlobalDim1Code Code[20]
GlobalDim2Code Code[20]
DimSetID Integer
AutomaticEntry Boolean
Correction Boolean
NumberOfEntries Integer
OrgGenJnlLine Boolean
NetDisp Boolean

OnBeforeFindFirstGLAcc

[IntegrationEvent(False,False)]
local procedure OnBeforeFindFirstGLAcc(var TempFAGLPostingBuffer: Record "FA G/L Posting Buffer" temporary)

Parameters

Name Type Description
TempFAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"

OnBeforeGetGLAccNoFromFAPostingGroup

[IntegrationEvent(False,False)]
local procedure OnBeforeGetGLAccNoFromFAPostingGroup(FAPostingGroup: Record "FA Posting Group", FAPostingGroupAccountType: Enum "FA Posting Group Account Type", var GLAccNo: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
FAPostingGroup Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"
FAPostingGroupAccountType Enum Microsoft.FixedAssets.FixedAsset."FA Posting Group Account Type"
GLAccNo Code[20]
IsHandled Boolean

OnBeforeGetPostingType

[IntegrationEvent(False,False)]
local procedure OnBeforeGetPostingType(FALedgerEntry: Record "FA Ledger Entry", var FAPostingGroupAccountType: Enum "FA Posting Group Account Type", var IsHandled: Boolean)

Parameters

Name Type Description
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
FAPostingGroupAccountType Enum Microsoft.FixedAssets.FixedAsset."FA Posting Group Account Type"
IsHandled Boolean

OnAfterInsertBufferBalAcc

[IntegrationEvent(False,False)]
local procedure OnAfterInsertBufferBalAcc(FAGLPostingBuffer: Record "FA G/L Posting Buffer", var TempFAGLPostingBuffer: Record "FA G/L Posting Buffer" temporary, GLEntryNo: Integer, var NextEntryNo: Integer, var NumberOfEntries: Integer, OrgGenJnlLine: Boolean, NetDisp: Boolean, FAPostingType: Enum "FA Posting Group Account Type")

Parameters

Name Type Description
FAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
TempFAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
GLEntryNo Integer
NextEntryNo Integer
NumberOfEntries Integer
OrgGenJnlLine Boolean
NetDisp Boolean
FAPostingType Enum Microsoft.FixedAssets.FixedAsset."FA Posting Group Account Type"

OnCorrectDisposalEntryNonPositiveGainLossOnBeforeSetAccountGain

[IntegrationEvent(False,False)]
local procedure OnCorrectDisposalEntryNonPositiveGainLossOnBeforeSetAccountGain(FADepreciationBook: Record "FA Depreciation Book", FAPostingGroup: Record "FA Posting Group", var FAGLPostingBuffer: Record "FA G/L Posting Buffer", var IsHandled: Boolean)

Parameters

Name Type Description
FADepreciationBook Table Microsoft.FixedAssets.Depreciation."FA Depreciation Book"
FAPostingGroup Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"
FAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
IsHandled Boolean

OnCorrectDisposalEntryPositiveGainLossOnBeforeSetAccountGain

[IntegrationEvent(False,False)]
local procedure OnCorrectDisposalEntryPositiveGainLossOnBeforeSetAccountGain(FADepreciationBook: Record "FA Depreciation Book", FAPostingGroup: Record "FA Posting Group", var FAGLPostingBuffer: Record "FA G/L Posting Buffer", var IsHandled: Boolean)

Parameters

Name Type Description
FADepreciationBook Table Microsoft.FixedAssets.Depreciation."FA Depreciation Book"
FAPostingGroup Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"
FAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
IsHandled Boolean

OnCorrectDisposalEntryOnAfterCheckIdenticalAccountGainLoss

[IntegrationEvent(False,False)]
local procedure OnCorrectDisposalEntryOnAfterCheckIdenticalAccountGainLoss(FADepreciationBook: Record "FA Depreciation Book", FAPostingGroup: Record "FA Posting Group", var IsHandled: Boolean)

Parameters

Name Type Description
FADepreciationBook Table Microsoft.FixedAssets.Depreciation."FA Depreciation Book"
FAPostingGroup Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"
IsHandled Boolean

OnCorrectDisposalEntryNonPositiveGainLossOnBeforeSetAccountLoss

[IntegrationEvent(False,False)]
local procedure OnCorrectDisposalEntryNonPositiveGainLossOnBeforeSetAccountLoss(FADepreciationBook: Record "FA Depreciation Book", FAPostingGroup: Record "FA Posting Group", var FAGLPostingBuffer: Record "FA G/L Posting Buffer", var IsHandled: Boolean)

Parameters

Name Type Description
FADepreciationBook Table Microsoft.FixedAssets.Depreciation."FA Depreciation Book"
FAPostingGroup Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"
FAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
IsHandled Boolean

OnCorrectDisposalEntryPositiveGainLossOnBeforeSetAccountLoss

[IntegrationEvent(False,False)]
local procedure OnCorrectDisposalEntryPositiveGainLossOnBeforeSetAccountLoss(FADepreciationBook: Record "FA Depreciation Book", FAPostingGroup: Record "FA Posting Group", var FAGLPostingBuffer: Record "FA G/L Posting Buffer", var IsHandled: Boolean)

Parameters

Name Type Description
FADepreciationBook Table Microsoft.FixedAssets.Depreciation."FA Depreciation Book"
FAPostingGroup Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"
FAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
IsHandled Boolean

OnCorrectDisposalEntryOnBeforeSetGainLossAccount

[IntegrationEvent(False,False)]
local procedure OnCorrectDisposalEntryOnBeforeSetGainLossAccount(FADepreciationBook: Record "FA Depreciation Book", FAPostingGroup: Record "FA Posting Group", var TempFAGLPostingBuffer: Record "FA G/L Posting Buffer", GLAmount: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
FADepreciationBook Table Microsoft.FixedAssets.Depreciation."FA Depreciation Book"
FAPostingGroup Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"
TempFAGLPostingBuffer Table Microsoft.FixedAssets.Journal."FA G/L Posting Buffer"
GLAmount Decimal
IsHandled Boolean

OnCorrectBookValueEntryOnAfterSetFilterFALedgEntry

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

Parameters

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

OnCalcLastDisposalOnAfterSetFilter

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

Parameters

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

OnCorrectBookValueEntryOnAfterCheckIdenticalGainLossAmtSign

[IntegrationEvent(False,False)]
local procedure OnCorrectBookValueEntryOnAfterCheckIdenticalGainLossAmtSign(FADepreciationBook: Record "FA Depreciation Book", FAPostingGroup: Record "FA Posting Group", var IsHandled: Boolean)

Parameters

Name Type Description
FADepreciationBook Table Microsoft.FixedAssets.Depreciation."FA Depreciation Book"
FAPostingGroup Table Microsoft.FixedAssets.FixedAsset."FA Posting Group"
IsHandled Boolean

OnCalcDisposalAmountOnAfterCalcFields

[IntegrationEvent(False,False)]
local procedure OnCalcDisposalAmountOnAfterCalcFields(var FADepreciationBook: Record "FA Depreciation Book")

Parameters

Name Type Description
FADepreciationBook Table Microsoft.FixedAssets.Depreciation."FA Depreciation Book"

OnCorrectDisposalEntryOnAfterCalcGainLoss

[IntegrationEvent(False,False)]
local procedure OnCorrectDisposalEntryOnAfterCalcGainLoss(var FADepreciationBook: Record "FA Depreciation Book")

Parameters

Name Type Description
FADepreciationBook Table Microsoft.FixedAssets.Depreciation."FA Depreciation Book"

See also