replaced with NDW_VERIFY_USER. Added barcode scan function to NDW_VERIFY_USER. fixed two instances of ohms square unit characters being garbled by git minor modification to NDW_VERIFY_USER_EVENTS lost focus events minor change to gotfocus event logic
		
			
				
	
	
		
			11 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "header": {
 | |
|         "version": 1,
 | |
|         "type": "record"
 | |
|     },
 | |
|     "body": {
 | |
|         "record1": {
 | |
|             "<1>": "declare function fieldcount, msg, dialog_box, memberof\r\ndeclare subroutine create_note\r\n$insert logical\r\n$insert msg_equates\r\n$insert lsl_users_equ\r\nequ CrLf$ to char(13):char(10)\r\n\r\nif memberof( @user4, 'DATA_ENTRY' ) or memberof( @user4, 'SUPERVISOR' ) then\r\n\tif  .op_sig->text <> '' then\r\n\t    MsgInfo = ''\r\n\t    MsgInfo<mtext$> = 'This RDS Supplement form has already been signed by a technician.'\r\n\t    MsgInfo<micon$> = '!'\r\n\t    Void = msg( '', MsgInfo )\r\n\tend else\r\n\t    Valid = Dialog_Box('NDW_VERIFY_USER', @Window, @User4)\r\n         Valid = Valid<1>\r\n\r\n\t\tif Valid then\r\n\t\t    .save->enabled = 1\r\n\t        .op_sig->text = @user4\r\n\t        .op_sig_name->text = xlate( 'LSL_USERS', @user4, 'FIRST_LAST', 'X' )\r\n\t        .op_sig_date->text = oconv( date(), 'D2/' )\t        \r\n\t        .op_sig_time->text = oconv( time(), 'MTH' )\r\n\t        @@window->savewarn = 1\r\n\t    end\r\n    end\r\nend else\r\n   MsgInfo = ''\r\n   MsgInfo<micon$> = '!'\r\n   MsgInfo<mtext$> = 'You must be a cleanroom personnel to sign the work order verification.'\r\n   Void = msg( '', MsgInfo )\r\n   return 0\r\nend\r\nreturn 0\r\n"
 | |
|         }
 | |
|     }
 | |
| } |