Commit Graph

122 Commits

Author SHA1 Message Date
hardya
c4194fe762 Added new directory to hold useful utilities
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2920 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-30 11:28:10 +00:00
hardya
1e792a7dac Automatic export
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2917 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-29 17:53:03 +00:00
PriestJ
d7d6947e2b latest export of application includes refresh bug fixes on the enquiry screen including hack that allows us to test for %null% values
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2916 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-29 17:49:00 +00:00
hardya
dc54437e0d Automatic export
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2915 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-29 17:48:09 +00:00
hardya
1eb479546b Initial import
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2914 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-29 17:41:32 +00:00
hardya
9b593709ac Created folder to hold exported APEX application
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2911 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-29 17:25:17 +00:00
PriestJ
2ddfc10b66 added the first revision of the webmip application, includes the first few screens, the initial css and theme
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2907 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-29 15:41:19 +00:00
mullenm
5ee8961d58 Updated to allow proper user status login checking.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2906 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-29 11:33:48 +00:00
mullenm
ab9471a85f added Jamie's block back in after merge ignored it. honest.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2905 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-29 11:31:55 +00:00
mullenm
030c682c3a Updated login to check user account status.
Merged changes with Jamie's changes from earlier this week.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2904 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-29 10:58:31 +00:00
PriestJ
69c2ead1ee fixed bug in Installmip.cmd, test section would never get run and the usage section caused an error.
Massaged the test data so that some base users get added to the test schema, duplicated the seed party data upload so that the Advantica user still exists

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2897 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-28 13:17:46 +00:00
hardya
1649327e45 Missing l_rec in code generated by gen_mandatory.prc for MIP_HELPER.
Ensure that MIP_HELPER is generated prior to reference.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2896 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-28 10:29:27 +00:00
PriestJ
4e275aa855 Altered install scripts to add a base user in the seed data. Also altered install script to correctly accept a 6th parameter. Edited mip_security.authorize so that if no data is returned the system returns false.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2894 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-27 18:39:27 +00:00
hardya
7877296419 Changed InstallMIP.cmd to allow 6th parameter to indicate data to be loaded after the Seed.
Added missing schema tables.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2893 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-27 16:23:36 +00:00
hardya
cb7b890a92 Data:
Replace multiple Data/Seed 'role_types' files with Data/Seed/rt.ctl

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2892 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-27 15:26:44 +00:00
PriestJ
4ab118215c general update?!
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2891 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-27 11:52:30 +00:00
hardya
2920f4d016 Scheme Changes:
Replaced Access_Controls with APEX_AUTHORISATION
Created POSTCODES, ERROR_LOGS and SYSTEM_CONFIGURATION.
Added missing columns to ENQUIRIES, REGULATORS, etc.
Added views V_PROFILE_RT_CODE_FOR_ENRO.vw, V_PARTY_RELATIONSHIPS.vw, V_LATEST_RT_CODE_FOR_ENRO.vw.

Modules:

Added cout_err.pck, cout_system_configuration.pck.

Data:

Added Data/Demo files
Added Data/Seed files for postcodes, regions and DatabaseItemToFunctionalSpecificationReference.csv

Documentation:

Added Documentation/pldoc for plsqldoc-generated files.
Added Documentation/SupportingDocumentation/Regions to hold region definition information.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2890 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-27 11:48:13 +00:00
mullenm
2a490afbbc Added the copy_enquiry function and other supporting functions.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2886 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-26 13:34:20 +00:00
hardya
ef78cea95d Added mip_regions.pck to handle postcode and region queries.
Modified mip_security.pck to have new procedures to authorize access to components and pages. Also, new procedures to authenicate users - old procedures marked as obsolete and to be removed at a later date.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2875 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-21 17:03:01 +00:00
mullenm
c4f1d2027d Updated get_user_id to use an upper of the username passed in as APEX passes the uppercase version and this was returning nothing.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2870 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-20 15:04:27 +00:00
PriestJ
fe1bb074db build the start page for the initial integration test suite, this will run all the integration tests and email any errors or failure to my mail box, will need to add other members of the team at a later date
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2867 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-19 15:04:41 +00:00
PriestJ
4c31f7e3e0 added initial watir test scripts, initially to check the export data screen on my application, rough and ready but a start for the unit tests
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2866 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-16 18:24:07 +00:00
hardya
b736bb6136 Modules:
Added cout_assert.pck - provides assertion utilities.
Added cout_err.pck - 'standard' error logging utilities.
Added gen_mandatory.prc - generates packages to provided mandatory field checks.

Schema:
Changed primary key of ENQUIRIES to an ID (also made sequence ENQU_SEQ available).
Changes ENQUIRIES.CONSUMER_NAME to FIRST_CONTACT_NAME.
Added tables DATA_ITEMS and DATA_ITEM_ROLES to support Modules/gen_mandatory.prc.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2865 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-16 16:43:58 +00:00
PriestJ
bc54399097 directory for the trunk development test scripts, these can be watir inspired or utpl/sql scripts
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2864 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-16 15:40:21 +00:00
PriestJ
97020a9c35 finished mapping the mandatory/optional matrix, aware that there may be changes at a later date
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2863 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-16 14:13:27 +00:00
PriestJ
f730298583 Enquiry datafields mapping and mandatory/optional spreadsheet: Added extra job type columns, in is now has all the jobtypes described in the functional spec appendix data items. Have worked though all the way down to Model Code/Number row 48 (I think). Need to back fill the rows on the columns that I have added
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2860 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-15 18:05:13 +00:00
PriestJ
0297cb54a2 Created new function to allow the association of enquiry to parties. Specifically for the association of Agents and suppliers to an enquiry.
Added rough parties package that contains a couple of useful functions to get the party id and the party role based on the username. and some very rough procedures that may become depreceiated or rewritten at some stage

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2859 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-15 16:52:58 +00:00
hardya
f174ac7747 Schema Changes:
Attributes (generally size and dimensions) added to REGULATORS, BASES and HOUSINGS.
Changed primary keys on CONNECTION_ORIENTATIONS, FILTERS, REGULATORS to be 'code' rather than 'id'-based.
Altered ENQUIRIES to make contact names, addresses and contact mechanisms explicit within the enquiry rather than using the general contact mechanism.

Seed Data:
Changed 'code' values for HOUSING_TYPES, METER_TYPES, REGULATOR_TYPES and SERVICE_PRESSURES to match their descriptions.

Documentation:
Updated Documentation/Design/DatabaseItemToFunctionalSpecificationReference.xls in line with schema changes.

Demo Data:
Includes modules and related data from the MIP140306 Access database.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2857 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-15 10:29:55 +00:00
hardya
fcbdbb3d4b Modified METERS and MODULES tables to have standard dimension columns as per MIP5.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2854 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-14 10:05:59 +00:00
hardya
63161f1e4a Added Documentation/Design/DatabaseItemToFunctionalSpecificationReference.xls as a cross reference between table columns and Functional Specification appendix data items. Incomplete - requires completion of mandatory column information.
Schema Modifications: Removed column 'Outlet Pressure' from ENQUIRIES table.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2852 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-13 17:17:01 +00:00
hardya
010740d3ce Added table BYPASS_REASONS
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2850 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-13 15:24:20 +00:00
hardya
e91312289b Updated ERDs published from Designer.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2846 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-13 09:59:25 +00:00
hardya
e18a8f6cb7 Removed 'not null' requirements from ENQUIRIES table to allow the saving of an incomplete enquiry.
Corrected Data/Seed/enrt.ctl and Data/Seed/part.ctl to allow enquiry roles to be loaded.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2845 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-12 17:21:32 +00:00
hardya
f5e160010b New tables:
PASSWORDS - holds history of passwords for parties
 ACCESS_CONTROLS - hold page, item / role information for authorization purposes.

Modified tables:
 ENQUIRIES - meter size removed. Replaced by foreign key to METER_SIZE_CODES.
 COSTS - includes AICO_CODE and DESCRIPTION for use as cost details for Additional Items.

General modifications:
 Yes/No columns modified to VARCHAR2(3)

Modules:
 Added mip_security.pck. Supports Authentication and Authorization (update of the original POC version)

Respository:
 Created new directory structure to hold persistent data. Currently includes Data/Seed for base table values and Data/Demo to populate various party and relationship tables.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2838 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-12 12:07:25 +00:00
PriestJ
7def5bb1af data export refined after AH updated mip schema
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2833 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-08 17:47:55 +00:00
hardya
edbf2fc279 Added tables service_pressure_types and meter_size_codes.
Added missing attributes to enquiries table.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2829 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-08 15:13:45 +00:00
hardya
b99f1de15a Changes to party relationship and contact mechanism areas - use of primary keys, etc.
Changes to all 'role types' tables - now encapsulated within single table ROLE_TYPES.

Minor fixes to attributes for naming consistency, etc.

Included InstallMIP.cmd to perform schema installation.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2825 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-08 10:01:07 +00:00
PriestJ
937284c062 mip_files package, contains export_table_to_csv function. This is used for the data export function of webMIP. The export_table_to_csv is called from an APEX screen, and it creates a CSV file for downloading.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2819 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-02 12:09:48 +00:00
PriestJ
dc45640487 GW and DH had some further changes to the functional spec, have placed this at version 1.0 as it should now be signed off
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2802 248e525c-4dfb-0310-94bc-949c084e9493
2007-10-23 08:58:21 +00:00
hardya
2b689471c6 First schema test build.
mip.sql creates schema objects into schema.

InstallSeed.cmd loads seed data (pass username, password and database connection string)

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2799 248e525c-4dfb-0310-94bc-949c084e9493
2007-10-19 16:13:16 +00:00
hardya
a3ad7aa4ae Added ERD_QUOTE.png.
Modified ERD_ENQUIRY.png to include roles rather than repetition of created by/for attributes.


git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2796 248e525c-4dfb-0310-94bc-949c084e9493
2007-10-18 16:51:40 +00:00
hardya
d05c1be338 Added Created For/Updated For to handle proxy work performed on enquiry; Enquiry Type to handle supported types of enquiry.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2795 248e525c-4dfb-0310-94bc-949c084e9493
2007-10-18 14:12:28 +00:00
hardya
10f8b10f77 Added ERD_COSTS.png, ERD_PARTY_CONTACT_MECHANISM.png and renamed other images to remove spaces.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2794 248e525c-4dfb-0310-94bc-949c084e9493
2007-10-18 12:17:39 +00:00
hardya
1b42e5fd67 Amended in line with comments from Mary Hibbits email of 12th October
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2788 248e525c-4dfb-0310-94bc-949c084e9493
2007-10-12 15:05:09 +00:00
hardya
c9b54f45e7 Addition of existing meter service pressure category
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2787 248e525c-4dfb-0310-94bc-949c084e9493
2007-10-12 13:31:44 +00:00
PriestJ
376b2f635a MH wanted a reference to the save button in the process map workflow diagram. Have added a decision box (Save?)to represent this, yes and no both go to the same place.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2786 248e525c-4dfb-0310-94bc-949c084e9493
2007-10-12 10:01:36 +00:00
hardya
462f2635c3 Added ERD for Enquiry
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2785 248e525c-4dfb-0310-94bc-949c084e9493
2007-10-12 09:35:01 +00:00
hardya
df9490682b Removed relationship between Party and User Account
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2784 248e525c-4dfb-0310-94bc-949c084e9493
2007-10-12 08:22:42 +00:00
hardya
de5dbb778c Renamed remotely to remove comma from name
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2783 248e525c-4dfb-0310-94bc-949c084e9493
2007-10-12 08:13:10 +00:00
hardya
2629096318 Added ERD for parties and roles.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2782 248e525c-4dfb-0310-94bc-949c084e9493
2007-10-12 08:08:13 +00:00