Table 81 Gen. Journal Line

Base Application, Microsoft.Finance.GeneralLedger.Journal

24 obsolete

Fields 3

field(116; "IC Partner G/L Acc. No."; Code[20])17-29
Removed, tag 25.0, obsolete since 22: Replaced by IC Account No.
field(827; "Credit Card No."; Code[20])gone after 25
Removed, tag 15.0, obsolete since 17: This field is not needed and it is not used anymore.
field(8000; Id; Guid)gone after 25
Removed, tag 22.0, obsolete since 17: This functionality will be replaced by the systemID field

Procedures 13

InitNewLine(PostingDate: Date; DocumentDate: Date; PostingDescription: Text[100]; ShortcutDim1Code: Code[20]; ShortcutDim2Code: Code[20]; DimSetID: Integer; ReasonCode: Code[10])gone after 23
Pending, tag 21.0, obsolete since 21: Replaced by InitNewLine(PostingDate: Date; DocumentDate: Date; VATDate: Date; PostingDescription: Text[100]; ShortcutDim1Code: Code[20]; ShortcutDim2Code: Code[20]; DimSetID: Integer; ReasonCode: Code[10])
CheckDocNoBasedOnNoSeries(PrevDocNo: Code[20]; NoSeriesCode: Code[20]; var NoSeriesMgtInstance: Codeunit NoSeriesManagement)gone after 26changed in 24
Pending, tag 24.0, obsolete since 24: This method is no longer used. Do the check directly in code instead.
CreateDim(Type1: Integer; No1: Code[20]; Type2: Integer; No2: Code[20]; Type3: Integer; No3: Code[20]; Type4: Integer; No4: Code[20]; Type5: Integer; No5: Code[20])gone after 22
Pending, tag 20.0, obsolete since 20: Replaced by CreateDim(DefaultDimSource:List of [Dictionary of [Integer, Code[20]]])
CopyFromInvoicePostBuffer(InvoicePostBuffer: Record "Invoice Post. Buffer")gone after 22
Pending, tag 19.0, obsolete since 19: Replaced by InvoicePostBuffer.CopyToGenJnlLine(Rec)
CopyFromInvoicePostBufferFA(InvoicePostBuffer: Record "Invoice Post. Buffer")gone after 22
Pending, tag 19.0, obsolete since 19: Replaced by InvoicePostBuffer.CopyToGenJnlLineFA(Rec)
CopyFromServiceHeader(ServiceHeader: Record "Service Header")gone after 27
Pending, tag 25.0, obsolete since 25: Replaced by procedure CopyToGenJournalLine() in table Service Header
CopyFromServiceHeaderApplyTo(ServiceHeader: Record "Service Header")gone after 27
Pending, tag 25.0, obsolete since 25: Replaced by procedure CopyToGenJournalLineApplyTo() in table Service Header
CopyFromServiceHeaderPayment(ServiceHeader: Record "Service Header")gone after 27
Pending, tag 25.0, obsolete since 25: Replaced by procedure CopyToGenJournalLinePayment() in table Service Header
GetDeferralDocType(): Integergone after 19
Pending, tag 17.0, obsolete since 17: Replace by enum "Deferral Document Type" value.
IncrementDocumentNo(LocGenJnlBatch: Record "Gen. Journal Batch"; var LastDocNumber: Code[20])gone after 26changed in 24
Pending, tag 24.0, obsolete since 24: Use SimulateGetNextNo from "No. Series - Batch" instead
UpdateGraphContactId()gone after 22
Pending, tag 20.0, obsolete since 20: The functionality that uses this was removed
CanCalculateTax(): Boolean20 to 24
Pending, tag 22.0, obsolete since 21: Renaming the global procedure to GetSkipTaxCalculation():Boolean
ObsoleteCheckDocNoBasedOnNoSeries(PrevDocNo: Code[20]; NoSeriesCode: Code[20]; var NoSeriesMgtInstance: Codeunit NoSeriesManagement)24 to 26
Pending, tag 24.0, obsolete since 24: Do not use this procedure. It is for compatibility only.

Events 8

[IntegrationEvent] OnAfterCopyGenJnlLineFromServHeader(ServiceHeader: Record "Service Header"; var GenJournalLine: Record "Gen. Journal Line")gone after 27
Pending, tag 25.0, obsolete since 25: Replaced by event OnAfterCopyToGenJnlLine in table Service Header
[IntegrationEvent] OnAfterCopyGenJnlLineFromServHeaderApplyTo(ServiceHeader: Record "Service Header"; var GenJournalLine: Record "Gen. Journal Line")gone after 27
Pending, tag 25.0, obsolete since 25: Replaced by event OnAfterCopyToGenJnlLineApplyTo in table Service Header
[IntegrationEvent] OnAfterCopyGenJnlLineFromServHeaderPayment(ServiceHeader: Record "Service Header"; var GenJournalLine: Record "Gen. Journal Line")gone after 27
Pending, tag 25.0, obsolete since 25: Replaced by event OnAfterCopyToGenJnlLinePayment in table Service Header
[IntegrationEvent] OnAfterCopyGenJnlLineFromInvPostBuffer(InvoicePostBuffer: Record "Invoice Post. Buffer"; var GenJournalLine: Record "Gen. Journal Line")gone after 22
Pending, tag 19.0, obsolete since 19: Event moved to Invoice Post. Buffer table together with procedure CopyGenJnlLineFromInvPostBuffer().
[IntegrationEvent] OnAfterCopyGenJnlLineFromInvPostBufferFA(InvoicePostBuffer: Record "Invoice Post. Buffer"; var GenJournalLine: Record "Gen. Journal Line")gone after 22
Pending, tag 19.0, obsolete since 19: Event moved to Invoice Post. Buffer table together with procedure CopyGenJnlLineFromInvPostBufferFA().
[IntegrationEvent] OnAfterCreateDimTableIDs(var GenJournalLine: Record "Gen. Journal Line"; CallingFieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20])gone after 22
Pending, tag 20.0, obsolete since 20: Replaced by OnAfterInitDefaultDimensionSources()
[IntegrationEvent] OnBeforeCheckDocNoBasedOnNoSeries(var GenJournalLine: Record "Gen. Journal Line"; LastDocNo: Code[20]; NoSeriesCode: Code[20]; var NoSeriesMgtInstance: Codeunit NoSeriesManagement; var IsHandled: Boolean)gone after 26
Pending, tag 24.0, obsolete since 24: Subscribe to OnProcessBalanceOfLinesOnAfterCalcShouldCheckDocNoBasedOnNoSeries in Gen. Jnl.-Post Batch instead.
[IntegrationEvent] OnBeforeCheckCurrencyForEmployee(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean; var Condition: Boolean)21 to 26
Pending, tag 24.0, obsolete since 24: Currency posting for employee is now allowed, so check was removed