Table "Gen. Journal Line"

ID 81
Namespace: Microsoft.Finance.GeneralLedger.Journal

Properties

Name Value
Caption Gen. Journal Line
Permissions tabledata "Sales Invoice Header" = r, tabledata Customer = R, tabledata "Cust. Ledger Entry" = R, tabledata "G/L Account" = R, tabledata "VAT Posting Setup" = R, tabledata Vendor = R, tabledata "Vendor Ledger Entry" = R, tabledata "Data Exch. Field" = rimd
DataClassification CustomerContent

Fields

Name Type Description
"Journal Template Name" Code[10]
"Line No." Integer
"Account Type" Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Account Type"
"Account No." Code[20]
"Posting Date" Date
"Document Type" Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type"
"Document No." Code[20]
Description Text[100]
"VAT %" Decimal
"Bal. Account No." Code[20]
"Currency Code" Code[10]
Amount Decimal
"Debit Amount" Decimal
"Credit Amount" Decimal
"Amount (LCY)" Decimal
"Balance (LCY)" Decimal
"Currency Factor" Decimal
"Sales/Purch. (LCY)" Decimal
"Profit (LCY)" Decimal
"Inv. Discount (LCY)" Decimal
"Bill-to/Pay-to No." Code[20]
"Posting Group" Code[20]
"Shortcut Dimension 1 Code" Code[20]
"Shortcut Dimension 2 Code" Code[20]
"Salespers./Purch. Code" Code[20]
"Pending Approval" Boolean
"Source Code" Code[10]
"System-Created Entry" Boolean
"Your Reference" Text[35]
"On Hold" Code[3]
"Applies-to Doc. Type" Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type"
"Applies-to Doc. No." Code[20]
"Due Date" Date
"Pmt. Discount Date" Date
"Payment Discount %" Decimal
"Job No." Code[20]
Quantity Decimal
"VAT Amount" Decimal
"VAT Posting" Option
"Payment Terms Code" Code[10]
"Applies-to ID" Code[50]
"Business Unit Code" Code[20]
"Journal Batch Name" Code[10]
"Reason Code" Code[10]
"Recurring Method" Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Recurring Method"
"Expiration Date" Date
"Recurring Frequency" DateFormula
"Allocated Amt. (LCY)" Decimal
"Gen. Posting Type" Microsoft.Foundation.Enums."General Posting Type"
"Gen. Bus. Posting Group" Code[20]
"Gen. Prod. Posting Group" Code[20]
"VAT Calculation Type" Microsoft.Foundation.Enums."Tax Calculation Type"
"EU 3-Party Trade" Boolean
"Allow Application" Boolean
"Bal. Account Type" Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Account Type"
"Bal. Gen. Posting Type" Microsoft.Foundation.Enums."General Posting Type"
"Bal. Gen. Bus. Posting Group" Code[20]
"Bal. Gen. Prod. Posting Group" Code[20]
"Bal. VAT Calculation Type" Microsoft.Foundation.Enums."Tax Calculation Type"
"Bal. VAT %" Decimal
"Bal. VAT Amount" Decimal
"Bank Payment Type" Microsoft.Bank.BankAccount."Bank Payment Type"
"VAT Base Amount" Decimal
"Bal. VAT Base Amount" Decimal
Correction Boolean
"Print Posted Documents" Boolean
"Check Printed" Boolean
"Document Date" Date
"External Document No." Code[35]
"Source Type" Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Source Type"
"Source No." Code[20]
"Posting No. Series" Code[20]
"Tax Area Code" Code[20]
"Tax Liable" Boolean
"Tax Group Code" Code[20]
"Use Tax" Boolean
"Bal. Tax Area Code" Code[20]
"Bal. Tax Liable" Boolean
"Bal. Tax Group Code" Code[20]
"Bal. Use Tax" Boolean
"VAT Bus. Posting Group" Code[20]
"VAT Prod. Posting Group" Code[20]
"Bal. VAT Bus. Posting Group" Code[20]
"Bal. VAT Prod. Posting Group" Code[20]
"Additional-Currency Posting" Option
"FA Add.-Currency Factor" Decimal
"Source Currency Code" Code[10]
"Source Currency Amount" Decimal
"Source Curr. VAT Base Amount" Decimal
"Source Curr. VAT Amount" Decimal
"VAT Base Discount %" Decimal
"VAT Amount (LCY)" Decimal
"VAT Base Amount (LCY)" Decimal
"Bal. VAT Amount (LCY)" Decimal
"Bal. VAT Base Amount (LCY)" Decimal
"Reversing Entry" Boolean
"Allow Zero-Amount Posting" Boolean
"Ship-to/Order Address Code" Code[10]
"VAT Difference" Decimal
"Bal. VAT Difference" Decimal
"IC Partner Code" Code[20]
"IC Direction" Microsoft.Intercompany.Setup."IC Direction Type"
"IC Partner G/L Acc. No." Code[20]
"IC Partner Transaction No." Integer
"Sell-to/Buy-from No." Code[20]
"VAT Registration No." Text[20]
"Country/Region Code" Code[10]
Prepayment Boolean
"Financial Void" Boolean
"Copy VAT Setup to Jnl. Lines" Boolean
"VAT Base Before Pmt. Disc." Decimal
"Orig. Pmt. Disc. Possible" Decimal
"Orig. Pmt. Disc. Possible(LCY)" Decimal
"VAT Reporting Date" Date
"IC Account Type" Microsoft.Intercompany.Journal."IC Journal Account Type"
"IC Account No." Code[20]
"Job Queue Status" System.Threading."Document Job Queue Status"
"Job Queue Entry ID" Guid
"Incoming Document Entry No." Integer
"Creditor No." Code[20]
"Payment Reference" Code[50]
"Payment Method Code" Code[10]
"Applies-to Ext. Doc. No." Code[35]
"Invoice Received Date" Date
"Keep Description" Boolean
"Recipient Bank Account" Code[20]
"Message to Recipient" Text[140]
"Exported to Payment File" Boolean
"Has Payment Export Error" Boolean
"Dimension Set ID" Integer
"Credit Card No." Code[20]
"Remit-to Code" Code[20]
"Job Task No." Code[20]
"Job Unit Price (LCY)" Decimal
"Job Total Price (LCY)" Decimal
"Job Quantity" Decimal
"Job Unit Cost (LCY)" Decimal
"Job Line Discount %" Decimal
"Job Line Disc. Amount (LCY)" Decimal
"Job Unit Of Measure Code" Code[10]
"Job Line Type" Microsoft.Projects.Project.Job."Job Line Type"
"Job Unit Price" Decimal
"Job Total Price" Decimal
"Job Unit Cost" Decimal
"Job Total Cost" Decimal
"Job Line Discount Amount" Decimal
"Job Line Amount" Decimal
"Job Total Cost (LCY)" Decimal
"Job Line Amount (LCY)" Decimal
"Job Currency Factor" Decimal
"Job Currency Code" Code[10]
"Job Planning Line No." Integer
"Job Remaining Qty." Decimal
"Direct Debit Mandate ID" Code[35]
"Data Exch. Entry No." Integer
"Payer Information" Text[50]
"Transaction Information" Text[100]
"Data Exch. Line No." Integer
"Applied Automatically" Boolean
"Linked Table ID" Integer
"Linked System ID" Guid
"Deferral Code" Code[10]
"Deferral Line No." Integer
"Selected Alloc. Account No." Code[20]
"Alloc. Acc. Modified by User" Boolean
"Allocation Account No." Code[20]
"Campaign No." Code[20]
"Prod. Order No." Code[20]
"FA Posting Date" Date
"FA Posting Type" Microsoft.FixedAssets.Journal."Gen. Journal Line FA Posting Type"
"Depreciation Book Code" Code[10]
"Salvage Value" Decimal
"No. of Depreciation Days" Integer
"Depr. until FA Posting Date" Boolean
"Depr. Acquisition Cost" Boolean
"Maintenance Code" Code[10]
"Insurance No." Code[20]
"Budgeted FA No." Code[20]
"Duplicate in Depreciation Book" Code[10]
"Use Duplication List" Boolean
"FA Reclassification Entry" Boolean
"FA Error Entry No." Integer
"Index Entry" Boolean
"Source Line No." Integer
Comment Text[250]
"Check Exported" Boolean
"Check Transmitted" Boolean
"Reverse Date Calculation" DateFormula
"Non-Deductible VAT %" Decimal
"Non-Deductible VAT Base" Decimal
"Non-Deductible VAT Amount" Decimal
"Non-Deductible VAT Base LCY" Decimal
"Non-Deductible VAT Amount LCY" Decimal
"Non-Deductible VAT Base ACY" Decimal
"Non-Deductible VAT Amount ACY" Decimal
"FA G/L Account No." Code[20]
"Non-Deductible VAT Diff." Decimal
"Bal. Non-Ded. VAT %" Decimal
"Bal. Non-Ded. VAT Base" Decimal
"Bal. Non-Ded. VAT Amount" Decimal
"Bal. Non-Ded. VAT Base LCY" Decimal
"Bal. Non-Ded. VAT Amount LCY" Decimal
Id Guid
"Account Id" Guid
"Customer Id" Guid
"Applies-to Invoice Id" Guid
"Contact Graph Id" Text[250]
"Last Modified DateTime" DateTime
"Journal Batch Id" Guid
"Payment Method Id" Guid
"Balance Account Id" Guid
"Vendor Id" Guid
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

EmptyLine

procedure EmptyLine(): Boolean

Returns

Type Description
Boolean

CanCalculateTax

Obsolete

This element will become obsolete from version 22.0. Renaming the global procedure to GetSkipTaxCalculation():Boolean

[Obsolete(Renaming the global procedure to GetSkipTaxCalculation():Boolean,22.0)]
procedure CanCalculateTax(): Boolean

Returns

Type Description
Boolean

GetSkipTaxCalculation

procedure GetSkipTaxCalculation(): Boolean

Returns

Type Description
Boolean

SetSkipTaxCalulation

procedure SetSkipTaxCalulation(Skip: Boolean)

Parameters

Name Type Description
Skip Boolean

UpdateLineBalance

procedure UpdateLineBalance()

SetUpNewLine

procedure SetUpNewLine(LastGenJnlLine: Record "Gen. Journal Line", Balance: Decimal, BottomLine: Boolean)

Parameters

Name Type Description
LastGenJnlLine Record "Gen. Journal Line"
Balance Decimal
BottomLine Boolean

InitNewLine

procedure InitNewLine(PostingDate: Date, DocumentDate: Date, VATDate: Date, PostingDescription: Text[100], ShortcutDim1Code: Code[20], ShortcutDim2Code: Code[20], DimSetID: Integer, ReasonCode: Code[10])

Parameters

Name Type Description
PostingDate Date
DocumentDate Date
VATDate Date
PostingDescription Text[100]
ShortcutDim1Code Code[20]
ShortcutDim2Code Code[20]
DimSetID Integer
ReasonCode Code[10]

CheckDocNoOnLines

procedure CheckDocNoOnLines()

ObsoleteCheckDocNoBasedOnNoSeries

Obsolete

This element will become obsolete from version 24.0. Do not use this procedure. It is for compatibility only.

[Obsolete(Do not use this procedure. It is for compatibility only.,24.0)]
procedure ObsoleteCheckDocNoBasedOnNoSeries(PrevDocNo: Code[20], NoSeriesCode: Code[20], NoSeriesMgtInstance: __MissingTypeSymbol__)

Parameters

Name Type Description
PrevDocNo Code[20]
NoSeriesCode Code[20]
NoSeriesMgtInstance __MissingTypeSymbol__

CheckDocNoBasedOnNoSeries

Obsolete

This element will become obsolete from version 24.0. This method is no longer used. Do the check directly in code instead.

[Obsolete(This method is no longer used. Do the check directly in code instead.,24.0)]
procedure CheckDocNoBasedOnNoSeries(PrevDocNo: Code[20], NoSeriesCode: Code[20], NoSeriesMgtInstance: __MissingTypeSymbol__)

Parameters

Name Type Description
PrevDocNo Code[20]
NoSeriesCode Code[20]
NoSeriesMgtInstance __MissingTypeSymbol__

RenumberDocumentNo

procedure RenumberDocumentNo()

RenumberAppliesToID

procedure RenumberAppliesToID(GenJnlLine2: Record "Gen. Journal Line", OriginalAppliesToID: Code[50], NewAppliesToID: Code[50])

Parameters

Name Type Description
GenJnlLine2 Record "Gen. Journal Line"
OriginalAppliesToID Code[50]
NewAppliesToID Code[50]

RenumberAppliesToDocNo

procedure RenumberAppliesToDocNo(GenJnlLine2: Record "Gen. Journal Line", OriginalAppliesToDocNo: Code[20], NewAppliesToDocNo: Code[20])

Parameters

Name Type Description
GenJnlLine2 Record "Gen. Journal Line"
OriginalAppliesToDocNo Code[20]
NewAppliesToDocNo Code[20]

SetCurrencyFactor

procedure SetCurrencyFactor(CurrencyCode: Code[10], CurrencyFactor: Decimal)

Parameters

Name Type Description
CurrencyCode Code[10]
CurrencyFactor Decimal

UpdateSource

procedure UpdateSource()

GetFAAddCurrExchRate

procedure GetFAAddCurrExchRate()

GetShowCurrencyCode

procedure GetShowCurrencyCode(CurrencyCode: Code[10]): Code[10]

Parameters

Name Type Description
CurrencyCode Code[10]

Returns

Type Description
Code[10]

ClearCustVendApplnEntry

procedure ClearCustVendApplnEntry()

CheckFixedCurrency

procedure CheckFixedCurrency(): Boolean

Returns

Type Description
Boolean

CreateDim

procedure CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

ValidateShortcutDimCode

procedure ValidateShortcutDimCode(FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

LookupShortcutDimCode

procedure LookupShortcutDimCode(FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

ShowShortcutDimCode

procedure ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])

Parameters

Name Type Description
ShortcutDimCode array[8] of Code[20]

ShowDimensions

procedure ShowDimensions(): Boolean

Returns

Type Description
Boolean

SwitchLinesWithErrorsFilter

procedure SwitchLinesWithErrorsFilter(var ShowAllLinesEnabled: Boolean)

Parameters

Name Type Description
ShowAllLinesEnabled Boolean

GetFAVATSetup

procedure GetFAVATSetup()

GetTemplate

procedure GetTemplate()

LookUpAppliesToDocCust

procedure LookUpAppliesToDocCust(AccNo: Code[20])

Parameters

Name Type Description
AccNo Code[20]

LookUpAppliesToDocVend

procedure LookUpAppliesToDocVend(AccNo: Code[20])

Parameters

Name Type Description
AccNo Code[20]

LookUpAppliesToDocEmpl

procedure LookUpAppliesToDocEmpl(AccNo: Code[20])

Parameters

Name Type Description
AccNo Code[20]

SetApplyToAmount

procedure SetApplyToAmount()

ValidateApplyRequirements

procedure ValidateApplyRequirements(TempGenJnlLine: Record "Gen. Journal Line" temporary)

Parameters

Name Type Description
TempGenJnlLine Record "Gen. Journal Line" temporary

JobTaskIsSet

procedure JobTaskIsSet(): Boolean

Returns

Type Description
Boolean

CreateTempJobJnlLine

procedure CreateTempJobJnlLine()

UpdatePricesFromJobJnlLine

procedure UpdatePricesFromJobJnlLine()

SetHideValidation

procedure SetHideValidation(NewHideValidationDialog: Boolean)

Parameters

Name Type Description
NewHideValidationDialog Boolean

IsApplied

procedure IsApplied(): Boolean

Returns

Type Description
Boolean

DataCaption

procedure DataCaption(): Text[250]

Returns

Type Description
Text[250]

GetCustLedgerEntry

procedure GetCustLedgerEntry()

GetVendLedgerEntry

procedure GetVendLedgerEntry()

GetEmplLedgerEntry

procedure GetEmplLedgerEntry()

IncludeVATAmount

procedure IncludeVATAmount(): Boolean

Returns

Type Description
Boolean

ConvertAmtFCYToLCYForSourceCurrency

procedure ConvertAmtFCYToLCYForSourceCurrency(Amount: Decimal): Decimal

Parameters

Name Type Description
Amount Decimal

Returns

Type Description
Decimal

MatchSingleLedgerEntry

procedure MatchSingleLedgerEntry()

GetStyle

procedure GetStyle(): Text

Returns

Type Description
Text

GetDocumentBalance

procedure GetDocumentBalance(var GenJournalLine: Record "Gen. Journal Line"): Decimal

Parameters

Name Type Description
GenJournalLine Record "Gen. Journal Line"

Returns

Type Description
Decimal

GetOverdueDateInteractions

procedure GetOverdueDateInteractions(var OverdueWarningText: Text): Text

Parameters

Name Type Description
OverdueWarningText Text

Returns

Type Description
Text

ClearDataExchangeEntries

procedure ClearDataExchangeEntries(DeleteHeaderEntries: Boolean)

Parameters

Name Type Description
DeleteHeaderEntries Boolean

ClearAppliedGenJnlLine

procedure ClearAppliedGenJnlLine()

GetIncomingDocumentURL

procedure GetIncomingDocumentURL(): Text[1024]

Returns

Type Description
Text[1024]

InsertPaymentFileError

procedure InsertPaymentFileError(Text: Text)

Parameters

Name Type Description
Text Text

InsertPaymentFileErrorWithDetails

procedure InsertPaymentFileErrorWithDetails(ErrorText: Text, AddnlInfo: Text, ExtSupportInfo: Text)

Parameters

Name Type Description
ErrorText Text
AddnlInfo Text
ExtSupportInfo Text

DeletePaymentFileBatchErrors

procedure DeletePaymentFileBatchErrors()

DeletePaymentFileErrors

procedure DeletePaymentFileErrors()

HasPaymentFileErrors

procedure HasPaymentFileErrors(): Boolean

Returns

Type Description
Boolean

HasPaymentFileErrorsInBatch

procedure HasPaymentFileErrorsInBatch(): Boolean

Returns

Type Description
Boolean

GetAppliesToDocEntryNo

procedure GetAppliesToDocEntryNo(): Integer

Returns

Type Description
Integer

GetAppliesToDocDueDate

procedure GetAppliesToDocDueDate(): Date

Returns

Type Description
Date

GetAppliesToDocPmtDiscountDate

procedure GetAppliesToDocPmtDiscountDate(): Date

Returns

Type Description
Date

SetJournalLineFieldsFromApplication

procedure SetJournalLineFieldsFromApplication()

GetAccTypeAndNo

procedure GetAccTypeAndNo(GenJnlLine2: Record "Gen. Journal Line", var AccType: Enum "Gen. Journal Account Type", var AccNo: Code[20])

Parameters

Name Type Description
GenJnlLine2 Record "Gen. Journal Line"
AccType Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Account Type"
AccNo Code[20]

CancelBackgroundPosting

procedure CancelBackgroundPosting()

IsCustVendICAdded

procedure IsCustVendICAdded(GenJournalLine: Record "Gen. Journal Line"): Boolean

Parameters

Name Type Description
GenJournalLine Record "Gen. Journal Line"

Returns

Type Description
Boolean

IsExportedToPaymentFile

procedure IsExportedToPaymentFile(): Boolean

Returns

Type Description
Boolean

IsPaymentJournallLineExported

procedure IsPaymentJournallLineExported(): Boolean

Returns

Type Description
Boolean

IsAppliedToVendorLedgerEntryExported

procedure IsAppliedToVendorLedgerEntryExported(): Boolean

Returns

Type Description
Boolean

SetPostingDateAsDueDate

procedure SetPostingDateAsDueDate(DueDate: Date, DateOffset: DateFormula): Boolean

Parameters

Name Type Description
DueDate Date
DateOffset DateFormula

Returns

Type Description
Boolean

CalculatePostingDate

procedure CalculatePostingDate()

ImportBankStatement

procedure ImportBankStatement()

ExportPaymentFile

procedure ExportPaymentFile()

SetSuppressCommit

procedure SetSuppressCommit(NewSuppressCommit: Boolean)

Parameters

Name Type Description
NewSuppressCommit Boolean

TotalExportedAmount

procedure TotalExportedAmount(): Decimal

Returns

Type Description
Decimal

DrillDownExportedAmount

procedure DrillDownExportedAmount()

CopyDocumentFields

procedure CopyDocumentFields(DocType: Enum "Gen. Journal Document Type", DocNo: Code[20], ExtDocNo: Text[35], SourceCode: Code[10], NoSeriesCode: Code[20])

Parameters

Name Type Description
DocType Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type"
DocNo Code[20]
ExtDocNo Text[35]
SourceCode Code[10]
NoSeriesCode Code[20]

CopyCustLedgEntry

procedure CopyCustLedgEntry(CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
CustLedgerEntry Record "Cust. Ledger Entry"

CopyVendLedgEntry

procedure CopyVendLedgEntry(VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
VendorLedgerEntry Record "Vendor Ledger Entry"

CopyFromGenJnlAllocation

procedure CopyFromGenJnlAllocation(GenJnlAlloc: Record "Gen. Jnl. Allocation")

Parameters

Name Type Description
GenJnlAlloc Record "Gen. Jnl. Allocation"

CopyFromIssuedFinChargeMemoHeader

procedure CopyFromIssuedFinChargeMemoHeader(IssuedFinChargeMemoHeader: Record "Issued Fin. Charge Memo Header")

Parameters

Name Type Description
IssuedFinChargeMemoHeader Record "Issued Fin. Charge Memo Header"

CopyFromIssuedFinChargeMemoLine

procedure CopyFromIssuedFinChargeMemoLine(IssuedFinChargeMemoLine: Record "Issued Fin. Charge Memo Line")

Parameters

Name Type Description
IssuedFinChargeMemoLine Record "Issued Fin. Charge Memo Line"

CopyFromIssuedReminderHeader

procedure CopyFromIssuedReminderHeader(IssuedReminderHeader: Record "Issued Reminder Header")

Parameters

Name Type Description
IssuedReminderHeader Record "Issued Reminder Header"

CopyFromIssuedReminderLine

procedure CopyFromIssuedReminderLine(IssuedReminderLine: Record "Issued Reminder Line")

Parameters

Name Type Description
IssuedReminderLine Record "Issued Reminder Line"

CopyFromPrepmtInvoiceBuffer

procedure CopyFromPrepmtInvoiceBuffer(PrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer")

Parameters

Name Type Description
PrepmtInvLineBuffer Record "Prepayment Inv. Line Buffer"

CopyFromPurchHeader

procedure CopyFromPurchHeader(PurchHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchHeader Record "Purchase Header"

CopyFromPurchHeaderPrepmt

procedure CopyFromPurchHeaderPrepmt(PurchHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchHeader Record "Purchase Header"

CopyFromPurchHeaderPrepmtPost

procedure CopyFromPurchHeaderPrepmtPost(PurchHeader: Record "Purchase Header", UsePmtDisc: Boolean)

Parameters

Name Type Description
PurchHeader Record "Purchase Header"
UsePmtDisc Boolean

CopyFromPurchHeaderApplyTo

procedure CopyFromPurchHeaderApplyTo(PurchHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchHeader Record "Purchase Header"

CopyFromPurchHeaderPayment

procedure CopyFromPurchHeaderPayment(PurchHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchHeader Record "Purchase Header"

CopyFromSalesHeader

procedure CopyFromSalesHeader(SalesHeader: Record "Sales Header")

Parameters

Name Type Description
SalesHeader Record "Sales Header"

CopyFromSalesHeaderPrepmt

procedure CopyFromSalesHeaderPrepmt(SalesHeader: Record "Sales Header")

Parameters

Name Type Description
SalesHeader Record "Sales Header"

CopyFromSalesHeaderPrepmtPost

procedure CopyFromSalesHeaderPrepmtPost(SalesHeader: Record "Sales Header", UsePmtDisc: Boolean)

Parameters

Name Type Description
SalesHeader Record "Sales Header"
UsePmtDisc Boolean

CopyFromSalesHeaderApplyTo

procedure CopyFromSalesHeaderApplyTo(SalesHeader: Record "Sales Header")

Parameters

Name Type Description
SalesHeader Record "Sales Header"

CopyFromSalesHeaderPayment

procedure CopyFromSalesHeaderPayment(SalesHeader: Record "Sales Header")

Parameters

Name Type Description
SalesHeader Record "Sales Header"

CopyFromServiceHeader

procedure CopyFromServiceHeader(ServiceHeader: Record "Service Header")

Parameters

Name Type Description
ServiceHeader Record "Service Header"

CopyFromServiceHeaderApplyTo

procedure CopyFromServiceHeaderApplyTo(ServiceHeader: Record "Service Header")

Parameters

Name Type Description
ServiceHeader Record "Service Header"

CopyFromServiceHeaderPayment

procedure CopyFromServiceHeaderPayment(ServiceHeader: Record "Service Header")

Parameters

Name Type Description
ServiceHeader Record "Service Header"

CopyFromPaymentCustLedgEntry

procedure CopyFromPaymentCustLedgEntry(CustLedgEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
CustLedgEntry Record "Cust. Ledger Entry"

CopyFromPaymentVendLedgEntry

procedure CopyFromPaymentVendLedgEntry(VendLedgEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
VendLedgEntry Record "Vendor Ledger Entry"

CopyFromPaymentEmpLedgEntry

procedure CopyFromPaymentEmpLedgEntry(EmployeeLedgerEntry: Record "Employee Ledger Entry")

Parameters

Name Type Description
EmployeeLedgerEntry Record "Employee Ledger Entry"

CheckModifyCurrencyCode

procedure CheckModifyCurrencyCode(AccountType: Enum "Gen. Journal Account Type", CustVendLedgEntryCurrencyCode: Code[10])

Parameters

Name Type Description
AccountType Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Account Type"
CustVendLedgEntryCurrencyCode Code[10]

IsOpenedFromBatch

procedure IsOpenedFromBatch(): Boolean

Returns

Type Description
Boolean

GetDeferralAmount

procedure GetDeferralAmount(): Decimal

Returns

Type Description
Decimal

ShowDeferrals

procedure ShowDeferrals(PostingDate: Date, CurrencyCode: Code[10]): Boolean

Parameters

Name Type Description
PostingDate Date
CurrencyCode Code[10]

Returns

Type Description
Boolean

IsForPurchase

procedure IsForPurchase(): Boolean

Returns

Type Description
Boolean

IsForSales

procedure IsForSales(): Boolean

Returns

Type Description
Boolean

IsForGLAccount

procedure IsForGLAccount(): Boolean

Returns

Type Description
Boolean

IncrementDocumentNo

Obsolete

This element will become obsolete from version 24.0. Use SimulateGetNextNo from "No. Series - Batch" instead

[Obsolete(Use SimulateGetNextNo from "No. Series - Batch" instead,24.0)]
procedure IncrementDocumentNo(LocGenJnlBatch: Record "Gen. Journal Batch", var LastDocNumber: Code[20])

Parameters

Name Type Description
LocGenJnlBatch Record "Gen. Journal Batch"
LastDocNumber Code[20]

NeedCheckZeroAmount

procedure NeedCheckZeroAmount(): Boolean

Returns

Type Description
Boolean

IsRecurring

procedure IsRecurring(): Boolean

Returns

Type Description
Boolean

CreateFAAcquisitionLines

procedure CreateFAAcquisitionLines(var FAGenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
FAGenJournalLine Record "Gen. Journal Line"

SetAccountNoFromFilter

procedure SetAccountNoFromFilter()

GetNewLineNo

procedure GetNewLineNo(TemplateName: Code[10], BatchName: Code[10]): Integer

Parameters

Name Type Description
TemplateName Code[10]
BatchName Code[10]

Returns

Type Description
Integer

VoidPaymentFile

procedure VoidPaymentFile()

TransmitPaymentFile

procedure TransmitPaymentFile()

ValidateSalesPersonPurchaserCode

procedure ValidateSalesPersonPurchaserCode(GenJournalLine2: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJournalLine2 Record "Gen. Journal Line"

CheckIfPrivacyBlocked

procedure CheckIfPrivacyBlocked()

UpdateAccountID

procedure UpdateAccountID()

UpdateBankAccountID

procedure UpdateBankAccountID()

UpdateCustomerID

procedure UpdateCustomerID()

UpdateVendorID

procedure UpdateVendorID()

UpdateAppliesToInvoiceID

procedure UpdateAppliesToInvoiceID()

UpdateJournalBatchID

procedure UpdateJournalBatchID()

UpdatePaymentMethodId

procedure UpdatePaymentMethodId()

ShowDeferralSchedule

procedure ShowDeferralSchedule()

ShowRecurringDimFilter

procedure ShowRecurringDimFilter()

CheckShortcutDimCodeRecurringMethod

procedure CheckShortcutDimCodeRecurringMethod(ShortcutDimCode: Code[20])

Parameters

Name Type Description
ShortcutDimCode Code[20]

SendToPosting

procedure SendToPosting(PostingCodeunitID: Integer)

Parameters

Name Type Description
PostingCodeunitID Integer

CreateDimFromDefaultDim

procedure CreateDimFromDefaultDim(FromFieldNo: Integer)

Parameters

Name Type Description
FromFieldNo Integer

IsAcquisitionCost

procedure IsAcquisitionCost(): Boolean

Returns

Type Description
Boolean

Events

OnUpdateLineBalanceOnAfterUpdateAllocations

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

Parameters

Name Type Description
GenJournalLine Record "Gen. Journal Line"

See also