My project is to create the NCR system for Quality Precision Machine Works Inc which is a manufacturing facility that services the oil patch. They manufacture machined components using CNC equipment. NCR is the Non-conformance Report which is to make an unambiguous,defensible, clear and concise definition of the problem so that corrective action can and will be initiated by management. I have built the application by combining the HTML5 , CSS, Javascript, and PHP based on these diagrams and criterias.

NCR Diagram

  1. The system should assign the number of NCR by taking the date and a consecutive number every day. This means that the logic for the numbering will be AL-YY-NCR-MM-DD-SS where YY=Year, MM=Month, DD=Day, SS=Serial number or sequence numbering of each NCR.
  2. Should have a submit button so the person assigned to will be notified of the Non Conformance. This notification should prompt for respond within one day. This means that the assignee has received an email with a link to access the NCR system so he or she can accept the Nonconformance report by clicking the acceptance button on the form.
  3. Should have a status indication so the personnel from quality should know that the assignee has accepted the report.
  4. Complete the form with an option to disposition all the same at once.

This is NCR's home page.

NCR

I have added error checking to each of the required text input fields and informed the user of invalid entries on the form itself. It is created using series of loop, arrays, and conditionals. Arrays are used to dynamically create the form's input fields. A series of print statements and conditionals outputs the form.

NCR

If the form has been filled out correctly, it will place the form information in the MySQL database using an insert statement. A web page is generated to indicate a successful form submission. The status now becomes Submitted. It automatically sends an email to assignee.

NCR

The assignee needs to complete actions. Once the assignee submitted, it will automatically send an email to QA and then QA needs to verify actions.

NCR

If QA selected Yes to actions completed, QA can either select Cancel or Close. Once QA submitted, it will be closed.

NCR

If QA selected No to actions completed, click Submit.

NCR

Once QA submitted, the assignee will receive an email and status becomes Responded.

NCR

If QA selected Disposition, he or she needs to select Yes or No to “Customer needs to be informed?” The status will now become Requested. Once QA has received the answer from the customer, he or she needs to select Yes or No to “Customer has resolved disposition?” and nonconformity disposition. If QA selected Use or Scrap Disposition and Cancel or Close, the case is closed. If QA selected Return or Rework Disposition, it will send back to assignee to complete actions. The status will be Pending.

NCR

Once the assignee has completed actions and submitted, the status will be On Disposition. QA will need to verify actions. Once QA completes Disposition and selects Cancel or Close. The NCR is now closed.

NCR

This is the print view of the NCR.
(Note that data in this screenshot are not actual data. They are used for test purpose only.)

NCR