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;
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;