ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] table 36 "Sales Header" - Handled pattern before System.LogMessage

Open NAVFreak opened this issue 3 years ago • 1 comments

We are running a customer OnPrem and we have an oldschool sales price calculation by creating a temporary sales order with lines to get sales prices with all discounts and extra fees (partner extension).

The problem is that we generate thousands of sales prices by doing this and everytime we do it the eventviewer get clogged with Microsofts own telemetry data loggin from sales header. image

Currently we can't hardly troubleshoot in the eventviewer anymore because all these warnings fills upp the eventviewer so fast that we barely have time to look up the error we are troubleshooting before the eventviewer is truncated. As you see here it fills upp very fast. image

I know you have it for a reason but can you please add a handled pattern before EACH logging of this in salesheader so we who run onprem can turn it off so we can do proper troubleshooting in the eventlog.

In the version I'm in there are currently 5 logmessage that should get this image

NAVFreak avatar Apr 19 '23 20:04 NAVFreak

We have added event on validate "VAT Base Discount %" field, so you can skip execution of procedure UpdateSalesLineAmounts. This procedure is called only on validate "VAT Base Discount %" field. https://github.com/microsoft/ALAppExtensions/issues/23158

tomasevics avatar May 25 '23 12:05 tomasevics