Use this routine to create and update customer delivery survey questions. You can define an unlimited number of survey questions and their associated response types, order types, and active question statuses.
Because removing an existing question invalidates any existing results for that question, the program prevents you from deleting questions. Thus, the Remove button for the grid and the Delete button are never active in this routine.
When updating an existing question from the grid, the Add button functions in the following manner:
if you edit the text of the question, a message appears warning that changing the context of the question may invalidate previous results for the question. You can continue or cancel.
if you edit the Response Type or Order Type fields, an error message appears stating that changing these fields may invalidate existing answers in the survey results file. The program cancels the Add, and prevents you from saving the changes.
The system purges survey responses (but not the questions) via the End-of-Month process.