Skip to content

Add parameter in event OnBeforePostBalanceAccount on codeunit 12172 "Customer Bill - Post + Print" #30181

@VeronicaGoglia

Description

@VeronicaGoglia

Why do you need this change?

I need this new parameter to customize the balance accoun and then post it. My needed is to create more line of balance account for due date date and not only only line as in standard code. So i need to post more line, if i try to use a loca variable of Gen. Jnl.-Post Line the sistem return error

Describe the request

Hi AL-Team,
can you please add new parameter in event OnBeforePostBalanceAccount. The new parameter is var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line";

The event should be
[IntegrationEvent(false, false)]
local procedure OnBeforePostBalanceAccount(var GenJournalLine: Record "Gen. Journal Line"; CustomerBillHeader: Record "Customer Bill Header"; CustLedgerEntry: Record "Cust. Ledger Entry"; var BalanceAmount: Decimal; var IsHandled: Boolean; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")
begin
end;

Metadata

Metadata

Assignees

No one assigned

    Labels

    FinanceGitHub request for Finance areaevent-requestRequest for adding an event

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions