Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 Ron1
		
			Ron1
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Can you please let us know if there is anything wrong in this below code?
When i am executing the script, it is getting completed after this part.. There are multiple other tabs of script present, but those are not executing further. Please help
Let vYear= year(now());
if num(year(now()))=2019 THEN
Set MinCount = $(vYear)&'005';
Set MinOSTCount = $(vYear)&'05';
Else
//Incremental part
Set MinCount = $(vYear)&'001';
Set MinOSTCount = $(vYear)&'01'
 
					
				
		
 martinpohl
		
			martinpohl
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 DavidM
		
			DavidM
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 
					
				
		
 martinpohl
		
			martinpohl
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		is there a
endif
in original script?
Regards
 DavidM
		
			DavidM
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		You're missing ; in the last line.
Also I don't see END IF
