OnCheckGlassFromStock
Example and syntax
procedure OnCheckGlassFromStock(aParams:TScriptOnCheckGlassFromStockParams);
begin
//If more than 100 is ordered then don't use glass stock
if aParams.Salesline.QtyOrdered > 100 then
aParams.FromStock := False;
end;Last updated