Why do you need this change?
If a new field is added into the Customer Ledger Entry Table and it refers to Bill flow, it may be modified before the record update
Describe the request
Codeunit 12170 Recall Customer Bill
function RecallBill
repeat
CustLedgEntry2.Get(IssuedCustomerBillLine."Customer Entry No.");
if CustLedgEntry2."Customer Bill No." <> IssuedCustomerBillLine."Final Cust. Bill No." then
Error(Text1130025, IssuedCustomerBillLine."Final Cust. Bill No.");
...
CustLedgEntry."Document Occurrence" := CustLedgEntry2."Document Occurrence";
CustLedgEntry.Modify();
InitGenJnlLine(BalanceAccountNo);
...
until IssuedCustomerBillLine.Next() = 0;
add Event
CustLedgEntry."Document Occurrence" := CustLedgEntry2."Document Occurrence";
**OnBeforeCustLedgerEntryModifyRecalledBill(CustLedgEntry,CustLedgEntry2)**
CustLedgEntry.Modify();
Event
OnBeforeCustLedgerEntryModifyRecalledBill(var CustomerLedgerEntry : Record "Customer Ledger Entry", CustomerLedgerEntry2 : record "Customer Ledger Entry)