The simplest, but easiest approach
The simplest, but easiest approach

A part from checking if the selected method allows the manual entry
of results, we check if the analysis service allows manual entry
of results too, so the system follows these rules:

1. The Analysis allows instrument entry of results?
   If true, goto 2, else goto 3
2. Select the analysis default instrument's method. Goto 4
3. Select the analysis default method
4. The method selected allows manual entry of results?
   If true, goto 5, else goto 9
5. The Analysis Service allows manual entry of results?
   If true, goto 6, else goto 9
6. The method selected has an instrument assigned by default?
   If true, goto 7, else goto 8
7. Is the instrument valid?
   If true, goto 8, else goto 9
8. Manual entry of results ALLOWED
9. Manual entry of results NOT ALLOWED

veroc/Bika-LIMS,veroc/Bika-LIMS,rockfruit/bika.lims,rockfruit/bika.lims,veroc/Bika-LIMS