That might just be the test environment, or it might be something you really need to fix. The form for entering the RFI showed this information for the "RFI Number" field: "10 auto increment last RFI number was 9", so I'm wondering if you are assigning this key field prematurely. You should only need to report such an ID number after the RFI has been fully submitted, not before; that is, don't assign an ID (or insert a row in the table) until the person submits all information in an acceptable manner, then report back what the primary ID value is (as assigned by the autoincrement that is done as a result of the insert).DBD::mysql::st execute failed: Duplicate entry '010' for key 1 at init +iate_rfi_send.pl line 173.
(Just a thought: in terms of reporting ID numbers of requests for use by people who submit requests: you might want something in addition to just an autoincrement numeric key -- e.g. prefix the number with the submitter's initials (or company initials, or some other short letter string), such that two different submitters (or submitters from different companies) get different letters, which are derivable from some other field in the entry for each RFI. This may help identify and sort out problems when people make mistakes like transposing, skipping, adding or changing digits in the numeric ID.)
I noticed that you ask the person submitting the RFI to fill in the "Creation date"; shouldn't that be set automatically upon submission? (ie. the table field for "creation_date" is set to the return value of "NOW()" when the insert is done). You also ask for a "PCR number if any" -- how sure are you that users know what this is?
Finally, you probably have some of this on hand or in mind already, but obviously the RFI submitter will want clear feedback on when to expect a response, how that response will be conveyed, who to contact if the response doesn't arrive as expected, and how to contact that person.
People charged with responding to RFI's will of course need a "response" table that allows them to submit entries reflecting phone conversations, independent email and IM dialogs, and maybe even office visits, in addition to internet transactions. (And requesters should be able to review all response records for a given RFI that they submitted.)
In reply to Re: RFC, a web based application
by graff
in thread RFC, a web based application
by demonlazeros
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |