Set Reactor wafer size based on installed
susceptor. Commit to change branches post-UAT 1. Commit to change branches. Commit to change branches. Final changes and re-factor duplicate code.
This commit is contained in:
committed by
Stieber Daniel (CSC FI SPS MESLEO)
parent
2eff7c5a37
commit
8a5c1572e7
@ -46,7 +46,7 @@ Options BOOLEAN = True$, False$
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
Service GetReactItems(RIType, CurrStatus, EntryDtStart, EntryDtEnd, RetireDtStart, RetireDtEnd, IncludeNullRetireDt=BOOLEAN)
|
||||
Service GetReactItems(RIType, CurrStatus, EntryDtStart, EntryDtEnd, RetireDtStart, RetireDtEnd, IncludeNullRetireDt=BOOLEAN, PartType)
|
||||
|
||||
ErrorMsg = ''
|
||||
Response = ''
|
||||
@ -99,6 +99,9 @@ Service GetReactItems(RIType, CurrStatus, EntryDtStart, EntryDtEnd, RetireDtStar
|
||||
Swap ',' with @VM in CurrStatus
|
||||
SearchString := 'CURR_STATUS_STATIC':@VM:CurrStatus:@FM
|
||||
end
|
||||
If PartType NE '' then
|
||||
SearchString := 'PART_TYPE':@VM:PartType:@FM
|
||||
end
|
||||
Flag = ''
|
||||
RIKeys = ''
|
||||
Btree.Extract(SearchString, 'REACT_ITEM', DictReactItem, RIKeys, 'E', Flag)
|
||||
@ -370,7 +373,7 @@ Service GetReactItemTemplateJSON()
|
||||
end else
|
||||
Error_Services('Add', 'Unable to create JSON representation in the ' : Service : ' service.')
|
||||
end
|
||||
|
||||
|
||||
Response = jsonRecord
|
||||
|
||||
end service
|
||||
@ -381,17 +384,15 @@ Service CreateReactItem(Record)
|
||||
ErrMsg = ''
|
||||
KeyID = ''
|
||||
If Record NE '' then
|
||||
//Need to do some parameter checks here
|
||||
ReactItemType = Record<REACT_ITEM_RI_TYPE$>
|
||||
If ReactItemType EQ '' then
|
||||
ErrMsg := 'React Item Type was blank!' : CRLF$
|
||||
end
|
||||
If ErrMsg EQ '' then
|
||||
KeyID = NextKey('REACT_ITEM')
|
||||
If Error_Services('NoError') and KeyID NE '' then
|
||||
Database_Services('WriteDataRow', 'REACT_ITEM', KeyID, Record)
|
||||
Database_Services('WriteDataRow', 'REACT_ITEM', KeyID, Record, True$, False$, False$)
|
||||
If Error_Services('HasError') then
|
||||
ErrMsg := Error_Services('GetMessage')
|
||||
end
|
||||
end else
|
||||
ErrMsg := 'Failed to generate a key for a new react item. ' : CRLF$
|
||||
ErrMsg := 'Failed to generate a key for a new react item. '
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -457,6 +458,31 @@ Service ConvertRecordToJSONQuick(KeyID, Record, ItemURL)
|
||||
end service
|
||||
|
||||
|
||||
Service UpdateReactItem(RINo, Record)
|
||||
|
||||
ErrorMsg = ''
|
||||
If RINo EQ '' then
|
||||
ErrorMsg := 'React Item ID argument was missing in the ' : Service : ' service. '
|
||||
end
|
||||
If Record EQ '' then
|
||||
ErrorMsg := 'React Item Record argument was missing in the ' : Service : ' service. '
|
||||
end
|
||||
If ErrorMsg EQ '' then
|
||||
If RowExists('REACT_ITEM', RINo) then
|
||||
Database_Services('WriteDataRow', 'REACT_ITEM', RINo, Record, True$, False$, False$)
|
||||
If Error_Services('HasError') then
|
||||
ErrorMsg := Error_Services('GetMessage')
|
||||
end
|
||||
end else
|
||||
ErrorMsg := 'React Item not found. '
|
||||
end
|
||||
end
|
||||
If ErrorMsg NE '' then
|
||||
Error_Services('Add', ErrorMsg)
|
||||
end
|
||||
|
||||
end service
|
||||
|
||||
Service UpdateReactItemStatus(RINo)
|
||||
|
||||
If RINo NE '' then
|
||||
@ -493,3 +519,7 @@ ClearCursors:
|
||||
|
||||
return
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user