ALAppExtensions
ALAppExtensions copied to clipboard
Report 1307 "Standard Sales - Credit Memo" OnAfterFormatDocumentFields
Please add a new publisher event in the report 1307 "Standard Sales - Credit Memo":
local procedure FormatDocumentFields(SalesCrMemoHeader: Record "Sales Cr.Memo Header")
begin
with SalesHeader do begin
FormatDocument.SetTotalLabels("Currency Code", TotalText, TotalInclVATText, TotalExclVATText);
FormatDocument.SetSalesPerson(SalespersonPurchaser, "Salesperson Code", SalesPersonText);
FormatDocument.SetPaymentTerms(PaymentTerms, "Payment Terms Code", "Language Code");
FormatDocument.SetPaymentMethod(PaymentMethod, "Payment Method Code", "Language Code");
FormatDocument.SetShipmentMethod(ShipmentMethod, "Shipment Method Code", "Language Code");
**_OnAfterFormatDocumentFields(SalesCrMemoHeader);_**
end;
end;
Definition: [IntegrationEvent(false, false)] local procedure OnAfterFormatDocumentFields(var SalesCrMemoHeader: Record "Sales Cr.Memo Header") begin end;
Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 47288.