Modified validation to allow ASM parts to be installed into ASM+ reactors
This commit is contained in:
@ -138,7 +138,8 @@ PostReactItems:
|
||||
ValidationFailureReason = 'Unable to install Reactor Item No. ' : InstRINo : '. Serial Number cannot be blank to non-elevator Reactor Items.'
|
||||
end
|
||||
end
|
||||
If (InstRIRec<REACT_ITEM_PART_TYPE$> NE ReactorType) then
|
||||
// Only check first three characters so that ASM parts can be installed in an ASM+ reactor
|
||||
If (InstRIRec<REACT_ITEM_PART_TYPE$>[1, 3] NE ReactorType[1, 3]) then
|
||||
ValidationFailureReason = 'Unable to install Reactor Item No. ' : InstRINo : '. Reactor Type must match Reactor Item Part Type.'
|
||||
end
|
||||
Until ValidationFailureReason NE ''
|
||||
@ -408,5 +409,3 @@ RemHistKeys:
|
||||
|
||||
RETURN
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user