Hi All,
in sales line i had milestone line part in this if line no. is blank it should show an error msg but it is not showing the error messge, if scheduled % is lessthan 100 it is showing the error message but if the line number is blank it is not showing the error message, I am writing the code in the action, in sales order.
Thanks & Regards
Sams
Thank you Inge M. Bruvik and Daniele Incalza, the issue is solved.
Thanks & Reagrds
Sams
You should remove the first yellow begin and the first yellow end, then you code should compile ok.
hi
if you are referring to the error highlighted in red on VS code change the code to this one
if (schedule<100) or (schedule=0) then begin
Error('milestone.....')
end
else
begin
Error('milestone.....')
end;
DAniele
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,104 Most Valuable Professional
nmaenpaa 101,156