OnCheckFromStock
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