Codeunit "FA Jnl.-Post Batch"

ID 5633
Namespace: Microsoft.FixedAssets.Posting

Properties

Name Value
Permissions TableData "FA Journal Batch" = rimd
TableNo Table Microsoft.FixedAssets.Journal."FA Journal Line"

Methods

SetPreviewMode

procedure SetPreviewMode(NewPreviewMode: Boolean)

Parameters

Name Type Description
NewPreviewMode Boolean

SetSuppressCommit

procedure SetSuppressCommit(NewSuppressCommit: Boolean)

Parameters

Name Type Description
NewSuppressCommit Boolean

Events

OnBeforeCheckFAJnlLineDocumentNo

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckFAJnlLineDocumentNo(FAJnlLine: Record "FA Journal Line", FAJnlBatch: Record "FA Journal Batch", var IsHandled: Boolean)

Parameters

Name Type Description
FAJnlLine Table Microsoft.FixedAssets.Journal."FA Journal Line"
FAJnlBatch Table Microsoft.FixedAssets.Journal."FA Journal Batch"
IsHandled Boolean

OnBeforeCommit

[IntegrationEvent(False,False)]
local procedure OnBeforeCommit(FARegNo: Integer)

Parameters

Name Type Description
FARegNo Integer

OnBeforeCreateNewFAJnlLine

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateNewFAJnlLine(var FAJnlLine: Record "FA Journal Line", var FAJnlLine2: Record "FA Journal Line", var FAJnlLine3: Record "FA Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
FAJnlLine Table Microsoft.FixedAssets.Journal."FA Journal Line"
FAJnlLine2 Table Microsoft.FixedAssets.Journal."FA Journal Line"
FAJnlLine3 Table Microsoft.FixedAssets.Journal."FA Journal Line"
IsHandled Boolean

OnCodeOnBeforeFAJnlLine3DeleteAll

[IntegrationEvent(False,False)]
local procedure OnCodeOnBeforeFAJnlLine3DeleteAll(var FAJnlLine3: Record "FA Journal Line", var FAJnlLine: Record "FA Journal Line")

Parameters

Name Type Description
FAJnlLine3 Table Microsoft.FixedAssets.Journal."FA Journal Line"
FAJnlLine Table Microsoft.FixedAssets.Journal."FA Journal Line"

OnCodeOnBeforeLockTable

[IntegrationEvent(False,False)]
local procedure OnCodeOnBeforeLockTable(var FAJnlLine: Record "FA Journal Line")

Parameters

Name Type Description
FAJnlLine Table Microsoft.FixedAssets.Journal."FA Journal Line"

OnPostLinesOnAfterFAJnlPostLine

[IntegrationEvent(False,False)]
local procedure OnPostLinesOnAfterFAJnlPostLine(var FAJnlLine: Record "FA Journal Line")

Parameters

Name Type Description
FAJnlLine Table Microsoft.FixedAssets.Journal."FA Journal Line"

OnCodeOnAfterLockTable

[IntegrationEvent(False,False)]
local procedure OnCodeOnAfterLockTable(var FAJournalBatch: Record "FA Journal Batch")

Parameters

Name Type Description
FAJournalBatch Table Microsoft.FixedAssets.Journal."FA Journal Batch"

OnCodeOnBeforeWindowOpen

[IntegrationEvent(False,False)]
local procedure OnCodeOnBeforeWindowOpen(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnCodeOnBeforeUpdateDeleteLines

[IntegrationEvent(False,False)]
local procedure OnCodeOnBeforeUpdateDeleteLines(var FAJournalLine: Record "FA Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
FAJournalLine Table Microsoft.FixedAssets.Journal."FA Journal Line"
IsHandled Boolean

OnCodeOnBeforeWindowUpdate

[IntegrationEvent(False,False)]
local procedure OnCodeOnBeforeWindowUpdate(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnPostLinesOnBeforeWindowUpdate

[IntegrationEvent(False,False)]
local procedure OnPostLinesOnBeforeWindowUpdate(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnPostLinesOnBeforeGetNextNoSeries

[IntegrationEvent(False,False)]
local procedure OnPostLinesOnBeforeGetNextNoSeries(var FAJournalLine: Record "FA Journal Line")

Parameters

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

OnPostLinesOnAfterGetNextNoSeries

[IntegrationEvent(False,False)]
local procedure OnPostLinesOnAfterGetNextNoSeries(var FAJournalLine: Record "FA Journal Line")

Parameters

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

OnPostLinesOnBeforeFAJnlPostLine

[IntegrationEvent(False,False)]
local procedure OnPostLinesOnBeforeFAJnlPostLine(var FAJournalLine: Record "FA Journal Line", var FAJnlPostLine: Codeunit "FA Jnl.-Post Line")

Parameters

Name Type Description
FAJournalLine Table Microsoft.FixedAssets.Journal."FA Journal Line"
FAJnlPostLine Codeunit Microsoft.FixedAssets.Posting."FA Jnl.-Post Line"

OnCodeOnCheckSuppressCommit

[IntegrationEvent(False,False)]
local procedure OnCodeOnCheckSuppressCommit(var FAJournalLine: Record "FA Journal Line", var SuppressCommit: Boolean)

Parameters

Name Type Description
FAJournalLine Table Microsoft.FixedAssets.Journal."FA Journal Line"
SuppressCommit Boolean

OnRunOnBeforeCommit

[IntegrationEvent(False,False)]
local procedure OnRunOnBeforeCommit(var FAJournalLine: Record "FA Journal Line", var SuppressCommit: Boolean)

Parameters

Name Type Description
FAJournalLine Table Microsoft.FixedAssets.Journal."FA Journal Line"
SuppressCommit Boolean

OnRunOnBeforeUpdateAnalysisViewUpdateAll

[IntegrationEvent(False,False)]
local procedure OnRunOnBeforeUpdateAnalysisViewUpdateAll(var FAJournalLine: Record "FA Journal Line", var SuppressCommit: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
FAJournalLine Table Microsoft.FixedAssets.Journal."FA Journal Line"
SuppressCommit Boolean
IsHandled Boolean

OnCodeOnAfterPostLines

[IntegrationEvent(False,False)]
local procedure OnCodeOnAfterPostLines(var FAJournalLine: Record "FA Journal Line")

Parameters

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

See also