ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] table 99000829 "Planning Component" - Unify "Expected Quantity" Validation event
Hi
Could you please unify validation of "Expected Quantity" field into a function with IsHandled pattern event similar to table 5407 "Prod. Order Component"
Thank you
OLD CODE
Validate("Expected Quantity", Quantity * PlanningNeeds);
NEW CODE
UpdateExpectedQuantity();
.
.
.
local procedure UpdateExpectedQuantity()
var
IsHandled: Boolean;
begin
IsHandled := false;
OnBeforeUpdateExpectedQuantity(Rec, IsHandled);
if IsHandled then
exit;
Validate("Expected Quantity", Quantity * ProdOrderNeeds());
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.