| Summary: | Reorganize & Optimize the source code structure generated by new service/library | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Song Fan <songfan> |
| Component: | EDT | Assignee: | Song Fan <songfan> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P1 | CC: | chenzhh, jinfahua, mayunf, smythew, songfan, svihovec |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 367261 | ||
=== Comment from Brian === * We need to review the content of the templates, which currently have commented lines in them: // const DuplicateKey int = 5; //Tried to Insert a row with a duplicate primary key // const AttemptChangePK int = 6; //Tried to Update a column that is part of a primary key // const ReferentialIntegrityViolation int = 7; //Tried to delete a parent with dependent rows (on Delete Restrict) // const TableNotFound int = 8; //Dynamic SQL run-time SQL error. Tablename not found (probably misspelled) // const ColumnNotFound int = 9; //Dynamic SQL run-time SQL error. Column name not found (probably misspelled) // const InvaldSQLKeyWord int = 10; //Dynamic SQL run-time SQL error. Misspelled SQL keyword // const InvalidSELECTInto int = 11; //A SELECT INTO or sub-select returned more than one row (-811) //END status codes fixed close |
Build Identifier: Where should the following 3 EGL parts be saved when a new service/library is created? * Records * ConditionHandlingLib * ListSpecification For example: Wizard Config: Package: mypkg Service Name: EmployeeService Output: Package: mypkg EGL Source: EmployeeService.egl Package: common (where?? A sub-package of “mypkg”?) EmployeeRecords.egl (m, compiler setting(low p)..) ConditionHandlingLib.egl (investigate) ListSpecification.egl (in) Todo List: 1. Some new input fields need to be added in the wizard UI so that developer can specify the where the 3 files should be saved. Default value should be provided by the wizard UI. 2. Need to investigate how to optimize the source code structure generated. Is it really necessary to create ConditionHandingLib and ListSpecification? Maybe some of the functions in them could be moved into the service file. Reproducible: Always