Linac Tube Interface |
Main Page |
Authorization |
Help->Kerberos Certificates->Installing the PKCS11On the Unix side, there are scripts available to create the certificate from the valid Kerberos ticket and then that certificate can be loaded in the browser using the:
Edit->Preferences->Privacy & Security->Certificatesor
Edit->Preferences->Advanced->Encryption Tab-> View Certificatesoptions, or something similar, in the browser.
Authorization for the system is done in levels and different parts of the system have different authorization requirements. People with full authorization can make changes to these level requirements.
Data |
Source |
Since then, some updates have been made based on the monthly reports received using the interface.
Tube Status |
update mccusker.tube_history set status_id=1 where received_date != null and tube_history_id not in (select tube_history_id from mccusker.tube_station_history)
update tube_history set status_id=0 where tube_history_id in (select tube_history_id from tube_station_history where outservice_date = null)
Other status such as "Being Rebuilt" and "On Order" are hard to determine programmatically and will have to be updated by hand.update tube_history set status_id=2 where tube_history_id in (select h.tube_history_id from tube_type_info i, tube_history h, tube_station_history s where i.type_info_id=h.type_info_id and h.tube_history_id = s.tube_history_id and s.outservice_date != null and h.status_id=null)
Note When a rebuild is entered in, the system will mark its predecessor as archived.
The data is put into mulitple tables.
Reports |
Tube List |
Tube History |
Station Report |
Status Report |
Estimate Number of Years of Operation with Current Inventory |
Potential Inventory | This column is the current Rebuild's inventory minus those that have failed plus the previous rebuild's failed count - assuming that those will eventually be rebuilt, but not after rebuild 5 since vendor rarely rebuild that many times. |
Capitol Investment | Shows the current cost of the tubes but does not accumulate rebuilding costs. |
And then there is a link to view a "play" table where some of the values can be changed
Interface |
Add New Tube |
The form will be slightly different depending on what tube is being entered. For all tubes, the serial number, rebuild number (which could be zero for new), cost, PO, supplier, date received, status and notes can be entered along with flaging a tube for a particular station and uploading files for the tube. If the tube is a 7835, a indication of an ion pump, getterless and borrrowed are also available. For the 7835 and the 4616, at task associated with its rebuilt status can be selected. And tubes 7835, 7651, ML-6544, 4616, VKP-7955 and L-5859 can have Special Operating Spare (SPS) values.
Hitting the "Review Entry" button will display another screen showing what inserts are going to be made. It will also upload any files asked to be up loaded into a temporary space. If any errors or omitions are found, those will be indicated. Once the "Save Entry" button is used, the tube information is saved.
Update Tube |
One thing to note here is the update does not allow changing the serial number. This could have unintended consequences especially for the 7835 tubes. Serial numbers are only stored once and for the 7835, this means that each rebuild of that tube, before and after the one being viewed, would be changed to the new name as well. If this is what is intended, that change can be done now manually in the database table but there is no interface for it.
Also, the rebuild value can only be changed by those with full administrative access.
Insert Tube Into Station |
Rebuild Tube |
Once the tube is shipped, that status can be updated to reflect that here and the date and where it is sent can be provided. Any notes on sending the tube can also be entered.
If it is known when the vendor receives the tube to be rebuilt, the status can be updated to reflect that.
There is a place to record the Test Cut and Analysis (TC&A) PO, cost and date which is only available for the 7835 and 4616 tubes. Any documents that go along with this rebuild can also be uploaded.
Once the vendor reports back as to what was done and the PO, cost and estimated days to delivery (EDD) are known those can also be recorded. Then when the rebuilt tube is returned, the new serial number or rebuild indicator is entered and with this last update, a new tube entry will be made to the system. If a new serial number is not given, we have chosen to use a-z at the end of the serial to indicate that it is a new one for that tube. The a-z should be provided on the form for you and will show up on the reports with an underscore (_) in front of it.
After each of these steps, the information can be saved so the reports will reflect the current status of the tube being rebuilt. The What happens when ... help provides a bit more information on what happens here also.
Delete Tube Information |
Using the "Delete Tube" menu for the tube will delete that tube's history entry. If this tube only has one entry in its history - i.e. not a rebuilt tube or not rebuilt if it can be, the entire tube information will be deleted.
Using the "Delete this entry" link on the tube in station data page will just delete the information about that tube being in a particular station at the time in question. It does not udpate any status information on the tube as the entry being deleted may not be the current or must recent station insert and may not even be in a station anymore.
On Order |
The form at the top of this page is for adding or updating information about tubes being orderd. It can also be used to provide search criteria to search the order history when the "Search History" button is used.
The table that shows the history will include tubes being rebuilt if a search is done. This table includes a cost column that for tubes on order, is the actuall cost entered for the tube received. That information is not known (or kept) for tubes just ordered. This column for the rebuilt tubes is the cost entered for the rebuilt information so this does not indicate that the tube has been received.
The bottom table on the On Order report shows information about the purchase plan for the tube for the current year.
Column | Explanation |
---|---|
Tube | Name of the tube |
On Order | This is the number of tubes currently on order and have an expected delivery date during this fiscal year. |
Being Rebuilt | This column gives some details on what is currently being rebuilt for a tube with a count and the serial of the tube being rebuilt. This column will be greyed out for those tubes that aren't rebuilt. There may be tubes being rebuilt that will not show up in the list. This only shows those tubes that are expected to be received this FY. |
Number Received | This is the number of tubes with a date received of this fiscal year |
Plan | This number (or numbers) are the values entered as those bugeted to be purchased this fiscal year. This is done on the page for editing tube information. There is a 'N'ew and a 'R'ebuilt count number for each quarter's plan. |
The rows will be colored coded also:
Row color | Meaning |
---|---|
Rows will be pink as a warning for two reasons.
|
|
Rows will be light green if the number received and on order for the fiscal year matches the number planned to purchase. On order tubes that have an estimated delivery date outside the current fiscal year are not included. |