OnCheckFromStock

This event can be used to decide if a item line should be taken from stock

Example and syntax

procedure OnCheckFromStock(aWrapper:TSalesLineWrapper; var aFromStock:boolean);
begin
  //If jamb is mounted then don't pick from stock
  if aWrapper.JambMounted then
    aFromStock := False;
end;

Last updated

Was this helpful?