ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] codeunit 5870 "Calculate BOM Tree" - OnGenerateProdCompSubTreeOnBeforeRoutingLineLoop

Open aobsgit opened this issue 3 years ago • 1 comments

Hi

Where did this get lost?

https://github.com/microsoft/ALAppExtensions/issues/17294

Thank you

aobsgit avatar Jun 08 '23 13:06 aobsgit

You can see from the code that we added RunIteration variable that initially has value "No." <> ''. You can use in event this variable to change value and skip/execute later code. This is just another pattern that we use to simplify code instead of IsHandled pattern.

RunIteration := "No." <> '';
OnGenerateProdCompSubTreeOnBeforeRoutingLineLoop(RoutingLine, BOMBuffer, RunIteration);
if RunIteration then begin

tomasevics avatar Jun 09 '23 08:06 tomasevics