pageFinanceofficial - Microsoftderived - from the source, no model text

Page 256 "Payment Journal"

Base Application · Microsoft.Finance.GeneralLedger.Journal

Across versions

  1. BC23present
  2. BC242 procedures added, 1 procedures changed
  3. BC251 procedures removed
  4. BC26unchanged
  5. BC27declaration changed
  6. BC28unchanged
  7. BC293 procedures added
  8. BC30unchanged

Neighbourhood 37 connected objects and pages

Table 81 "Gen. Journal Line" (relates to)Gen. Journal LinePage extension 20242 "Payment Journal Ext" (extended by)Payment Journal ExtPage extension 20355 "Payment Journal Ext." (extended by)Payment Journal Ext.Page extension 4022 "SendPmtJnlRemitAdvice" (extended by)SendPmtJnlRemitAdvicePage extension 6110 "E-Doc. Payment Journal" (extended by)E-Doc. Payment JournalPage extension 6800 "Withholding Payment Journal" (extended by)Withholding Payment JournalCodeunit 9080 "Journal Errors Mgt." (event subscribers, 3 links)Journal Errors Mgt.Codeunit 20117 "AMC Bank Assisted Mgt." (event subscribers)AMC Bank Assisted Mgt.Codeunit 1535 "Approvals Mgmt." (calls, 11 links)Approvals Mgmt.Codeunit 230 "GenJnlManagement" (calls, 7 links)Codeunit 1520 "Workflow Event Handling" (calls, 3 links)Workflow Event HandlingCodeunit 1501 "Workflow Management" (calls, 2 links)Workflow ManagementCodeunit 1543 "Workflow Webhook Management" (calls, 2 links)Workflow Webhook ManagementCodeunit 4030 "Client Type Management" (calls, 2 links)Codeunit 101 "Cust. Entry-SetAppl.ID" (calls)Cust. Entry-SetAppl.IDCodeunit 111 "Vend. Entry-SetAppl.ID" (calls)Vend. Entry-SetAppl.IDCodeunit 1563 "Privacy Notice" (calls)Codeunit 2675 "Allocation Account Mgt." (calls)Codeunit 408 "DimensionManagement" (calls)Codeunit 457 "Environment Information" (calls)Codeunit 6400 "Flow Service Management" (calls)Codeunit 6723 "Server Setting" (calls)Codeunit 9079 "Background Error Handling Mgt." (calls)Codeunit 9080 "Journal Errors Mgt." (calls)Create Financial Journals [BE] (Learn pages)Generate payment suggestions [BE] (Learn pages)Issue, print, cancel, and void checks (Learn pages)Make payments with AMC banking (US) or SEPA credit transfer (EU) (Learn pages)Overview of tasks to manage accounts payable (Learn pages)Overview of tasks to manage payments to vendors (Learn pages)Payment Journal Templates and Batches [BE] (Learn pages)Print Checks for APACS (Learn pages)Print Remittance Advice [GB] (Learn pages)Record payments and refunds in payment journals (Learn pages)Set up and post employee withholding tax (Learn pages)Suggest vendor payments (Learn pages)Working with general journals to post directly to G/L (Learn pages)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Finance.GeneralLedger.Journal · captioned “Payment Journals” · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Caption Payment Journals
SourceTable Gen. Journal Line
PageType Worksheet
UsageCategory Tasks
ApplicationArea Basic, Suite

Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).

Group Control Shows ToolTip
Control2 Batch Name CurrentJnlBatchName Specifies the name of the journal batch, a personalized journal layout, that the journal is based on.
Approval Status GenJnlBatchApprovalStatus Specifies the approval status for general journal batch.
Control1 Posting Date Posting Date Specifies the posting date for the entry. from the table field
Document Date Document Date Specifies the date when the related document was created. from the table field
Invoice Received Date Invoice Received Date Specifies the date when the related document was received. from the table field
Document Type Document Type Specifies the type of document that the entry on the journal line is. from the table field
Document No. Document No. Specifies a document number for the journal line. from the table field
Incoming Document Entry No. Incoming Document Entry No. Specifies the number of the incoming document that this general journal line is created for. from the table field
External Document No. External Document No. Specifies a document number that refers to the customer’s or vendor’s numbering system. from the table field
Applies-to Ext. Doc. No. Applies-to Ext. Doc. No. Specifies the external document number that will be exported in the payment file. from the table field
Account Type Account Type Specifies the type of account that the entry on the journal line will be posted to. from the table field
Account No. Account No. Specifies the account number that the entry on the journal line will be posted to. from the table field
Recipient Bank Account Recipient Bank Account Specifies the bank account that the amount will be transferred to after it has been exported from the payment journal. from the table field
Message to Recipient Message to Recipient Specifies the message exported to the payment file when you use the Export Payments to File function in the Payment Journal window. from the table field
Approval Status GenJnlLineApprovalStatus Specifies the approval status for general journal line.
Description Description Specifies a description of the entry. from the table field
Salespers./Purch. Code Salespers./Purch. Code Specifies the salesperson or purchaser who is linked to the journal line. from the table field
Campaign No. Campaign No. Specifies the number of the campaign that the journal line is linked to. from the table field
Currency Code Currency Code Specifies the code of the currency for the amounts on the journal line. from the table field
Gen. Posting Type Gen. Posting Type Specifies the type of transaction. from the table field
Gen. Bus. Posting Group Gen. Bus. Posting Group Specifies the vendor’s or customer’s trade type to link transactions made for this business partner with the appropriate general ledger account according to the general posting setup. from the table field
Gen. Prod. Posting Group Gen. Prod. Posting Group Specifies the item’s product type to link transactions made for this item with the appropriate general ledger account according to the general posting setup. from the table field
VAT Bus. Posting Group VAT Bus. Posting Group Specifies the VAT specification of the involved customer or vendor to link transactions made for this record with the appropriate general ledger account according to the VAT posting setup. from the table field
VAT Prod. Posting Group VAT Prod. Posting Group Specifies the VAT specification of the involved item or resource to link transactions made for this record with the appropriate general ledger account according to the VAT posting setup. from the table field
Posting Group Posting Group Specifies the posting group that will be used in posting the journal line.The field is used only if the account type is either customer or vendor. from the table field
Allocation Account No. Selected Alloc. Account No. Specifies the allocation account number that will be used to distribute the amounts during the posting process. from the table field
Payment Method Code Payment Method Code Specifies how to make payment, such as with bank transfer, cash, or check. from the table field
Payment Reference Payment Reference Specifies the payment of the purchase invoice. from the table field
Creditor No. Creditor No. Specifies the vendor who sent the purchase invoice. from the table field
Amount Amount Specifies the total amount (including VAT) that the journal line consists of. from the table field
Amount (LCY) Amount (LCY) Specifies the total amount in local currency (including VAT) that the journal line consists of.
Debit Amount Debit Amount Specifies the total of the ledger entries that represent debits. from the table field
Credit Amount Credit Amount Specifies the total of the ledger entries that represent credits. from the table field
VAT Amount VAT Amount Specifies the amount of VAT that is included in the total amount. from the table field
VAT Difference VAT Difference Specifies the difference between the calculated VAT amount and a VAT amount that you have entered manually. from the table field
Bal. VAT Amount Bal. VAT Amount Specifies the amount of Bal. VAT included in the total amount. from the table field
Bal. VAT Difference Bal. VAT Difference Specifies the difference between the calculate VAT amount and the VAT amount that you have entered manually. from the table field
Bal. Account Type Bal. Account Type Specifies the type of account that a balancing entry is posted to, such as BANK for a cash account. from the table field
Bal. Account No. Bal. Account No. Specifies the number of the general ledger, customer, vendor, or bank account that the balancing entry is posted to, such as a cash account for cash purchases. from the table field
Bal. Gen. Posting Type Bal. Gen. Posting Type Specifies the general posting type associated with the balancing account that will be used when you post the entry on the journal line. from the table field
Bal. Gen. Bus. Posting Group Bal. Gen. Bus. Posting Group Specifies the general business posting group code associated with the balancing account that will be used when you post the entry. from the table field
Bal. Gen. Prod. Posting Group Bal. Gen. Prod. Posting Group Specifies the general product posting group code associated with the balancing account that will be used when you post the entry. from the table field
Bal. VAT Bus. Posting Group Bal. VAT Bus. Posting Group Specifies the code of the VAT business posting group that will be used when you post the entry on the journal line. from the table field
Bal. VAT Prod. Posting Group Bal. VAT Prod. Posting Group Specifies the code of the VAT product posting group that will be used when you post the entry on the journal line. from the table field
Applied (Yes/No) Rec.IsApplied() Specifies if the payment has been applied.
Applies-to Doc. Type Applies-to Doc. Type Specifies the type of the posted document that this document or journal line will be applied to when you post, for example to register payment. from the table field
AppliesToDocNo Applies-to Doc. No. Specifies the number of the posted document that this document or journal line will be applied to when you post, for example to register payment. from the table field
Applies-to ID Applies-to ID Specifies the ID of entries that will be applied to when you choose the Apply Entries action. from the table field
Applies-to Doc. Due Date Rec.GetAppliesToDocDueDate() Specifies the due date from the Applies-to Doc. on the journal line.
Bank Payment Type Bank Payment Type Specifies the code for the payment type to be used for the entry on the journal line. from the table field
Check Printed Check Printed Specifies whether a check has been printed for the amount on the payment journal line. from the table field
Reason Code Reason Code Specifies the reason code, a supplementary source code that enables you to trace the entry. from the table field
Correction Correction Specifies the entry as a corrective entry. You can use the field if you need to post a corrective entry to an account. from the table field
CommentField Comment Specifies a comment about the activity on the journal line. Note that the comment is not carried forward to posted entries. from the table field
Exported to Payment File Exported to Payment File Specifies that the payment journal line was exported to a payment file. from the table field
Total Exported Amount Rec.TotalExportedAmount() Specifies the amount for the payment journal line that has been exported to payment files that are not canceled.
Has Payment Export Error Has Payment Export Error Specifies that an error occurred when you used the Export Payments to File function in the Payment Journal window. from the table field
Job Queue Status Job Queue Status Specifies the status of a job queue entry or task that handles the posting of general journals. from the table field
Shortcut Dimension 1 Code Shortcut Dimension 1 Code Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. from the table field
Shortcut Dimension 2 Code Shortcut Dimension 2 Code Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. from the table field
ShortcutDimCode3 ShortcutDimCode[3] —
ShortcutDimCode4 ShortcutDimCode[4] —
ShortcutDimCode5 ShortcutDimCode[5] —
ShortcutDimCode6 ShortcutDimCode[6] —
ShortcutDimCode7 ShortcutDimCode[7] —
ShortcutDimCode8 ShortcutDimCode[8] —
Remit-to Code Remit-to Code Specifies the address for the remit-to code. from the table field
Number of Lines NumberOfJournalRecords NumberOfRecords Specifies the number of lines in the current journal batch.
Account Name AccName AccName Specifies the name of the account.
Bal. Account Name Bal. Account Name BalAccName Specifies the name of the balancing account that has been entered on the journal line.
Balance Balance Balance Specifies the balance that has accumulated in the payment journal on the line where the cursor is.
Total Balance Total Balance TotalBalance Specifies the total balance in the payment journal.
Batch Total (LCY) Batch Total (LCY) BatchTotal Specifies the total amount, in local currency, of the lines that are shown in the journal. Use this to see how much is selected for payment before you post the journal.
FactBoxes JournalErrorsFactBox part Page 9121 “Journal Errors Factbox” —
JournalLineDetails part Page 9120 “Journal Line Details FactBox” —
IncomingDocAttachFactBox part Page 193 “Incoming Doc. Attach. FactBox” —
Payment File Errors part Page 1228 “Payment Journal Errors Part” —
Control1900919607 part Page 699 “Dimension Set Entries FactBox” —
Batch Workflows part Page 1528 “Workflow Status FactBox” —
Line Workflows part Page 1528 “Workflow Status FactBox” —

Actions

Group Action ToolTip Runs
Line Dimensions View or edit dimensions, such as area, project, or department, that you can assign to sales and purchase documents to distribute costs and analyze transaction history.
Incoming Document View or create an incoming document record that is linked to the entry or document.
Account Card View or change detailed information about the record on the document or journal line. Codeunit 15 “Gen. Jnl.-Show Card”
Ledger Entries View the history of transactions that have been posted for the selected record. Codeunit 14 “Gen. Jnl.-Show Entries”
Payments Suggest Vendor Payments Create payment suggestions as lines in the payment journal.
Suggest Employee Payments Create payment suggestions as lines in the payment journal.
Preview Check Preview the check before printing it. Page 404 “Check Preview”
Print Check Prepare to print the check.
Electronic Payments Export Export a file with the payment information on the journal lines.
Void Void the exported electronic payment file.
Transmit Transmit the exported electronic payment file to the bank.
Payments Void Check Void the check if, for example, the check is not cashed by the bank.
Void All Checks Void all checks if, for example, the checks are not cashed by the bank.
Credit Transfer Reg. Entries View or edit the credit transfer entries that are related to file export for credit transfers. Codeunit 16 “Gen. Jnl.-Show CT Entries”
Credit Transfer Registers View or edit the payment files that have been exported in connection with credit transfers. Page 1205 “Credit Transfer Registers”
Net Customer/Vendor Balances Create journal lines to consolidate customer and vendor balances as of a specified date. This is relevant when you do business with a company that is both a customer and a vendor. Depending on which is larger, the balance will be netted for either the payable or receivable amount.
Send Remittance Advice Send the remittance advice before posting a payment journal or after posting a payment. The advice contains vendor invoice numbers, which helps vendors to perform reconciliations.
Navigation Approvals View a list of the records that are waiting to be approved. For example, you can see who requested the record to be approved, when it was sent, and when it is due to be approved.
Functions Renumber Document Numbers Resort the numbers in the Document No. column to avoid posting errors because the document numbers are not in sequence. Entry applications and line groupings are preserved.
Apply Entries Apply the payment amount on a journal line to a sales or purchase document that was already posted for a customer or vendor. This updates the amount on the posted document, and the document can either be partially paid, or closed as paid or refunded. Codeunit 225 “Gen. Jnl.-Apply”
Calculate Posting Date Calculate the date that will appear as the posting date on the journal lines.
Insert Conv. LCY Rndg. Lines Insert a rounding correction line in the journal. This rounding correction line will balance in LCY when amounts in the foreign currency also balance. You can then post the journal. Codeunit 407 “Adjust Gen. Journal Balance”
Positive Pay Export Export a Positive Pay file that contains vendor information, check number, and payment amount, which you send to the bank to make sure that your bank only clears validated checks and amounts when you process payments.
Errors Show Lines with Issues View a list of journal lines that have issues before you post the journal.
Show All Lines View all journal lines, including lines with and without issues.
Posting Reconcile View the balances on bank accounts that are marked for reconciliation, usually liquid accounts.
Vendor Pre-Payment Journal View journal line entries, payment discounts, discount tolerance amounts, payment tolerance, and any errors associated with the entries. You can use the results of the report to review payment journal lines and to review the results of posting before you actually post.
Test Report View a test report so that you can find and correct any errors before you perform the actual posting of the journal or document.
Post Finalize the document or journal by posting the amounts and quantities to the related accounts in your company books.
Preview Posting Review the different types of entries that will be created when you post the document or journal.
Post and Print Finalize and prepare to print the document or journal. The values and quantities are posted to the related accounts. A report request window where you can specify what to include on the print-out.
Remove From Job Queue Remove the scheduled processing of this record from the job queue.
Redistribute Account Allocations Use this action to redistribute the account allocations for this line.
Generate lines from Allocation Account Line Use this action to replace the Allocation Account line with the actual lines that would be generated from the line itself.
Send Approval Request Journal Batch Send all journal lines for approval, also those that you may not see because of filters.
Selected Journal Lines Send selected journal lines for approval.
Cancel Approval Request Journal Batch Cancel sending all journal lines for approval, also those that you may not see because of filters.
Selected Journal Lines Cancel sending selected journal lines for approval.
Power Automate Create approval flow Create a new flow in Power Automate from a list of relevant flow templates.
Workflow Create Approval Workflow Set up an approval workflow for payment journal lines, by going through a few pages that will guide you.
Manage Approval Workflows View or edit existing approval workflows for payment journal lines.
Approval Approve Approve the requested changes.
Reject Reject the approval request.
Delegate Delegate the approval to a substitute approver.
Comments View or add comments for the record.
Page Edit in Excel Send the data in the journal to an Excel file for analysis or editing.

Events published

  • OnAfterOnAfterGetRecord(var GenJournalLine: Record "Gen. Journal Line"; var GenJnlManagement: Codeunit GenJnlManagement; var AccName: Text[100]; var BalAccName: Text[100]) (integration): Integration event raised after retrieving record information during OnAfterGetRecord trigger. Enables custom processing of journal line data after standard record retrieval and field population.
  • OnAfterOnOpenPage(var CurrentJnlBatchName: Code[10]) (integration): Integration event raised after opening the payment journal page. Enables custom initialization and setup logic after standard page opening procedures.
  • OnAfterOnNewRecord(var GenJournalLine: Record "Gen. Journal Line"; xGenJournalLine: Record "Gen. Journal Line"; var GenJnlManagement: Codeunit GenJnlManagement; var AccName: Text[100]; var BalAccName: Text[100]) (integration): Integration event raised after creating a new journal line record during OnNewRecord trigger. Enables custom initialization of new journal line fields and default values.
  • OnAfterUpdateBalance(var TotalBalanceVisible: Boolean) (integration): Integration event raised after updating balance calculations and visibility for payment journal. Enables custom balance display logic and total balance visibility control.
  • OnAfterValidateShortcutDimCode(var GenJournalLine: Record "Gen. Journal Line"; var ShortcutDimCode: array[8] of Code[20]; DimIndex: Integer) (integration): Integration event raised after validating shortcut dimension code changes for payment journal lines. Enables custom processing after dimension validation and dimension set updates.
  • OnBeforeOnOpenPage(var GenJournalLine: Record "Gen. Journal Line") (integration): Integration event raised before opening the payment journal page. Enables custom setup and initialization logic before standard page opening procedures.
  • 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 IsHandled: Boolean) (integration): Integration event raised before updating balance calculations for payment journal. Enables custom balance calculation logic and modification of balance values.
  • OnAfterEnableApplyEntriesAction(GenJournalLine: Record "Gen. Journal Line"; var ApplyEntriesActionEnabled: Boolean) (integration): Integration event raised after enabling or disabling apply entries action for payment journal. Enables custom control of apply entries action availability based on journal line context.
  • OnAfterValidateAccountNo(var GenJournalLine: Record "Gen. Journal Line"; LastGenJournalLine: 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) (integration): Integration event raised after validating account number for payment journal line. Enables custom processing after account number validation and balance updates.
  • OnAfterSetControlAppearanceFromBatch(var GenJournalLine: Record "Gen. Journal Line"; GenJournalBatch: Record "Gen. Journal Batch") (integration): Integration event raised after setting control appearance based on journal batch configuration. Enables custom control appearance and field visibility logic after batch-specific settings are applied.
  • OnLookupCurrentJnlBatchNameOnAfterSetControlAppearanceFromBatch(CurrentJnlBatchName: Code[10]) (integration): Integration event raised after setting control appearance during journal batch name lookup. Enables custom control configuration after batch lookup and selection processes.
  • OnAfterValidateCurrentJnlBatchName(CurrentJnlBatchName: Code[10]) (integration): Integration event raised after validating current journal batch name changes. Enables custom processing after batch name validation and batch switching operations.
  • OnBeforeSuggestVendorPaymentsAction(var GenJournalLine: Record "Gen. Journal Line"; var IsHanlded: Boolean) (integration): Integration event raised before executing suggest vendor payments action in payment journal. Enables custom logic to override or extend standard vendor payment suggestion functionality.
  • OnBeforeCheckAmountMatchedToAppliedLines(var GenJournalLine: Record "Gen. Journal Line"; var IsHanlded: Boolean) + BC24 (integration): Integration event raised before checking if payment amounts match applied ledger entries. Enables custom validation logic for payment application amount matching.

Trigger event subscribers

Procedures

  • UpdateBalance(): Updates balance amounts and visibility for payment journal display and calculations. Recalculates balance totals and configures balance field visibility based on current journal settings.
  • CurrentJnlBatchNameOnAfterValidate() + BC24 (protected)
  • SetControlAppearanceFromBatch() Δ BC24: Sets control appearance and visibility based on current journal batch configuration. Configures page controls and field visibility according to batch settings and journal template properties.
  • SetApprovalStateForBatch() (internal)

Plus 13 local procedures.

Triggers

OnAfterGetCurrRecord, OnAfterGetRecord, OnInit, OnInsertRecord, OnModifyRecord, OnNewRecord, OnOpenPage

Relations

Extended by

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Recent changes

Countries that replace it

AU, CA, CH, MX, NO, NZ, US

Documented on Microsoft Learn

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "page", object_name: "Payment Journal"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 8 of 14 sources

Show 6 more