- 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.
- 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.
- Should have a status indication so the personnel from quality should know that the assignee has accepted the report.
- Complete the form with an option to disposition all the same at once.
This is NCR's home page.
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.
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.
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.
If QA selected Yes to actions completed, QA can either select Cancel or Close. Once QA submitted, it will be closed.
If QA selected No to actions completed, click Submit.
Once QA submitted, the assignee will receive an email and status becomes Responded.
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.
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.
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.)