Hi All,
In the Pic I add the field External Document No in (Posted Sales Inv. - Update) After that, the external document no field Appeared in the posted Sales invoice.
After that when I go to Cust Ledger Entry Table the field (External Document No) Modification does no appear.
And to be used on a customer statement report.
How to update on the code al language?
Kindly assist,
Hi, I'm not sure how you added this field, there is some code needed after adding the field.
More details: How to extend the Posted Document Update page (A solution for editing Posted Document)
Also, I am not sure if the External Document No field will update the Customer Ledger Entry table, you need to test it in detail.
Hope this can give you some hints.
Thanks.
ZHU
Hi,
I dont think the functionality you ran it will update the customer ledger as well, you need to customize the solution to update all related customer ledger entries of your posted invoices.
Thanks.
You should use this integration event and write code for updating the Customer ledger entry there:
[IntegrationEvent(false, false)]
local procedure OnAfterRecordChanged(var SalesInvoiceHeader: Record "Sales Invoice Header"; xSalesInvoiceHeader: Record "Sales Invoice Header"; var IsChanged: Boolean)
begin
end;
The integration event is in page 1355.
Remember to give your code unit permission to modify the customer ledger entry.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156