JavaScript Module Maintenance The modular QAD CSS architecture consists of different technology components, including JavaScript among many others. QAD CSS pages are dynamically generated, automatically assembling required components to serve page requests. JavaScript Module Maintenance is the function where developers associate the appropriate JavaScript components to applicable QAD CSS modules. JavaScript Module Maintenance is a developer-specific maintenance function in QAD CSS. A thorough understanding of QAD CSS development methodology is recommended before making changes in this section. JavaScript Module Maintenance is reached from the System Module Maintenance screen by clicking the View link. Viewing JavaScript Details Through System Module Maintenance Clicking the View link in System Module Maintenance displays the screen in JavaScript Module Maintenance. JavaScript Module Maintenance JavaScript Module Maintenance Navigation summarizes the contents of the JavaScript Module Maintenance navigation screen. JavaScript Module Maintenance Navigation Column Search Search Type Sort Description Link JavaScript File Y Equal Y Relative Web path and file name of the JavaScript file. N Module Name Y Contains Y The name of the QAD CSS module in which this JavaScript file is an included component. Y Load Sequence N n/a N Order in which the corresponding JavaScript will be loaded relative to the other JavaScript files that are loaded in the module. N Adding a JavaScript Entry The Add function of JavaScript Module Maintenance lets an administrator add custom JavaScript documents and associate them with specific QAD CSS pages. The following information is required to complete this process: • The name and location of the JavaScript file • The QAD CSS module associated with the JavaScript file • The load order To create a new entry: 1 Click Add in the navigation window to display the edit screen in Add mode. 2 Enter data into the appropriate fields. 3 Click Add in the edit window to save the record. Detail JavaScript Maintenance Module Name The name of the QAD CSS module where this JavaScript file is included as a component. JavaScript File Relative Web path and file name of the JavaScript file. Load Sequence Order in which the corresponding JavaScript will be loaded relative to other JavaScript files loaded in the module. Clicking a command button executes one of the following actions: • Add saves the new record to the database. All required fields—indicated by alternate field color—must be populated prior to saving a record. Before saving, the system verifies that the record is unique and displays an error if it is not. • Cancel closes the window without adding the record. Modifying a JavaScript Entry The Modify function of JavaScript Maintenance lets an administrator modify existing JavaScript entries. Requirements for adding a record are the same as for editing a record. To modify an entry: 1 Display the record to modify. 2 Click the Module Name link in the row of the record to be modified. Clicking the link displays the edit screen. 3 Enter data into the appropriate fields. Fields that do not allow change are indicated by a second alternate color. 4 Click Save to commit the changes.