Page "General Journal"

ID 39
Namespace: Microsoft.Finance.GeneralLedger.Journal

Properties

Name Value
ApplicationArea #Basic,#Suite
AutoSplitKey True
Caption General Journals
DataCaptionExpression Rec.DataCaption()
DelayedInsert True
PageType Worksheet
SaveValues True
SourceTable Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
UsageCategory Tasks

Methods

SetUserInteractions

procedure SetUserInteractions()

NewDocumentNo

procedure NewDocumentNo()

Events

OnAfterValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var GenJournalLine: Record "Gen. Journal Line", var ShortcutDimCode: array[8] of Code[20], DimIndex: Integer)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
ShortcutDimCode array[8] of Code[20]
DimIndex Integer

OnAfterValidateCurrentJnlBatchName

[IntegrationEvent(False,False)]
local procedure OnAfterValidateCurrentJnlBatchName(CurrentJnlBatchName: Code[10])

Parameters

Name Type Description
CurrentJnlBatchName Code[10]

OnBeforeOnInit

[IntegrationEvent(True,False)]
local procedure OnBeforeOnInit(var GenJnlLine: Record "Gen. Journal Line")

Parameters

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

OnBeforeOpenJournalFromBatch

[IntegrationEvent(True,False)]
local procedure OnBeforeOpenJournalFromBatch(var GenJournalLine: Record "Gen. Journal Line", var Result: Boolean, var IsHandled: Boolean)

Parameters

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

OnBeforeSelectTemplate

[IntegrationEvent(True,False)]
local procedure OnBeforeSelectTemplate(var GenJournalLine: Record "Gen. Journal Line", var GenJnlManagement: Codeunit GenJnlManagement, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GenJnlManagement Codeunit Microsoft.Finance.GeneralLedger.Journal.GenJnlManagement
IsHandled Boolean

OnBeforeSetDataForSimpleModeOnPost

[IntegrationEvent(False,False)]
local procedure OnBeforeSetDataForSimpleModeOnPost(var GenJournalLine: Record "Gen. Journal Line", IsSimplePage: Boolean, var IsHandled: Boolean)

Parameters

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

OnLookupCurrentJnlBatchNameOnAfterSetDataForSimpleModeOnBatchChange

[IntegrationEvent(False,False)]
local procedure OnLookupCurrentJnlBatchNameOnAfterSetDataForSimpleModeOnBatchChange(CurrentJnlBatchName: Code[10])

Parameters

Name Type Description
CurrentJnlBatchName Code[10]

OnOpenPageOnAfterAssignCurrentJnlBatchName

[IntegrationEvent(False,False)]
local procedure OnOpenPageOnAfterAssignCurrentJnlBatchName(var CurrentJnlBatchName: Code[10])

Parameters

Name Type Description
CurrentJnlBatchName Code[10]

OnOpenPageOnBeforeGetLastViewedJournalBatchName

[IntegrationEvent(True,False)]
local procedure OnOpenPageOnBeforeGetLastViewedJournalBatchName(var CurrentJnlBatchName: Code[10], var GenJnlManagement: Codeunit GenJnlManagement)

Parameters

Name Type Description
CurrentJnlBatchName Code[10]
GenJnlManagement Codeunit Microsoft.Finance.GeneralLedger.Journal.GenJnlManagement

OnAfterEnableApplyEntriesAction

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

Parameters

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

OnAccountNoValidateOnAfterSetUserInteractions

[IntegrationEvent(False,False)]
local procedure OnAccountNoValidateOnAfterSetUserInteractions(var Balance: Decimal, var TotalBalance: Decimal, var ShowBalance: Boolean, var ShowTotalBalance: Boolean, var BalanceVisible: Boolean, var TotalBalanceVisible: Boolean, var NumberOfRecords: Integer)

Parameters

Name Type Description
Balance Decimal
TotalBalance Decimal
ShowBalance Boolean
ShowTotalBalance Boolean
BalanceVisible Boolean
TotalBalanceVisible Boolean
NumberOfRecords Integer

OnBeforeUpdateBalance

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateBalance(var GenJournalLine: Record "Gen. Journal Line", xGenJournalLine: Record "Gen. Journal Line", var Balance: Decimal, var TotalBalance: Decimal, var ShowBalance: Boolean, var ShowTotalBalance: Boolean, var BalanceVisible: Boolean, var TotalBalanceVisible: Boolean, var NumberOfRecords: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
xGenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Balance Decimal
TotalBalance Decimal
ShowBalance Boolean
ShowTotalBalance Boolean
BalanceVisible Boolean
TotalBalanceVisible Boolean
NumberOfRecords Integer
IsHandled Boolean

See also