microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
771 stars 610 forks source link

[Event FRequest] Table 37 - Update Amounts #3819

Closed GaryFrostick closed 4 years ago

GaryFrostick commented 5 years ago

There is a current event in the UpdateAmounts function (OnAfterUpdateAmounts), however there is a problem with this in that if code that subscribes to the event amends the amounts then the resulting prepayments will be incorrectly calculated.

I would therefore propose a new event in this function prior to code that calculates prepayments. To preserver the integrity of the other code something along the lines of a event that can result an additional amount that can be added/subtracted from the total would be ideal.

AlexanderYakunin commented 4 years ago

Please suggest new event placement and definition.

AlexanderYakunin commented 4 years ago

Closing as no event definition provided