OnIncludeBottleneckLoad

This event can be used to prevent a bottleneck from being included for an item line

Example and syntax

procedure OnIncludeBottleneckLoad(aSalesline:TSalesLineWrapper; aBottleneckId:string; var aInclude:boolean);
begin  
  if (aBottleneckId = '10') and (aSalesline.Department = 'DEP B') then
    aInclude := False;  
end;

Last updated

Was this helpful?