Commit Graph

75 Commits

Author SHA1 Message Date
PriestJ
e1ec77e9f9 Altered install scripts so that UAT and LIVE do not look for the apua.ctl file (this is now handled in seed data directory). Also fixed for ticket #517 AssociateSchema.sql and SetSubstitution.sql scripts so that they only update the current application rather than all the applications in the current workspace.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@5332 248e525c-4dfb-0310-94bc-949c084e9493
2008-06-17 15:17:02 +00:00
hardya
ae17d6d490 Corrected AssociateSchema.sql to deal with Apex version 3.1.
Added ng_common.css and ng_exclaim.gif, removed from the application workspace.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4085 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-26 18:33:10 +00:00
hardya
ad89dd4d88 Addresses #374, Quote Event Description (used for reject reason) increased to varchar2(2000).
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3998 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-14 12:21:09 +00:00
hardya
24c31ebc45 Add calc_meter_reqs to mip_quotation.pck.
Ensure that all calls to add_quote_reason use correct parameters (mip_quotation.pck).

Change grant from 'CREATE ANY VIEW' to 'CREATE VIEW' in InstallMIP.sql following problems installing 'supporting objects' into MIP_TEST.


git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3989 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-13 18:36:18 +00:00
hardya
9b3d607666 Alter the format of the substitution value so that it can be used to produce valid file names.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3913 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-10 15:34:58 +00:00
hardya
f0e5f8641b Corrections to mip_bulk_load.pck and 'costs' (was missing some enquiry types from the costs generated).
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3910 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-10 14:47:10 +00:00
hardya
638a89f580 Make sure the correct FLOWS version is updated.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3904 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-10 13:03:34 +00:00
hardya
6604eb2831 Add general debug routines (mip_debug.pck, mip_debug_constants.pks)
Send email attachments (mip_quotation.pck, mip_email.pck - templates from WebMIP Email templates.doc)
Add Lifting Gear to 'labour' quotes (mip_quotation.pck)

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3860 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-06 11:53:45 +00:00
hardya
de1d9d408e Alterations to schema (primarily enquiries) to support 'existing' meter requirements due to [wiki:MeetingNotes/MeetingNote3rdMarch Meeting to discuss/spec new variations, 3rd March]
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3837 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-04 15:14:02 +00:00
hardya
dbcb349c45 Addresses #269, #280, #306.
Add processing to make it clearer which application build has been produced and to link the schema with the correct application (AssociateSchema.sql, SetSubstitution.sql, bulk_load.sql and InstallMIP.cmd)

Changes to schema: METERS now have 'MESC_CODE'. Associated changes in the bulk_load routines and initial changes to mip_quotation.pck (needs confirmation testing).

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3830 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-04 12:03:03 +00:00
hardya
5649f4b934 Changes made for bulk load and 'flange size' (MESC_CODE on meters).
Store images used by the WebServer

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3797 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-29 17:27:39 +00:00
hardya
b2bb81d22c Attempt to set the system name during bulk_load.sql.
Changes to constraint messages in comsg.ctl.
Attempt to associate the new schema with the workspace in AssociateSchema.sql.
Change schema contract sizes to 35 characters
Add a DEBUG parameter to the Ruby constants.rb

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3759 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-28 15:16:42 +00:00
hardya
1f0c8e4f90 Address #303 - removed <br> from friendly constraint messages.
Amend Qmax values defined within MESC.ctl
Fix bulk_load errors related to loading drawings through MIP_FILES
Amend mip_quotation to produce labour costs where meter size or service pressure is not a cost constraint.
Amend mip_quotation email messages.
Perform additional compilations during install to account for dependency links.
Make meter dimensions optional (mip.tab)

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3721 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-26 17:54:21 +00:00
PriestJ
78f7ea4b75 changed view back to use the sequence id to report the most current document status
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3714 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-26 13:43:24 +00:00
mullenm
209d393ac5 Updated view to pick current status based on event_date rather than ID. This fixes an issue with me picking the wrong sequence. I've also corrected that.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3705 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-26 11:07:26 +00:00
hardya
aab27144a0 Remove timestamp from output of mip_friendly_messages.pck
Add constraint to regi_enqu_exclusions to prevent both enquiry and additional items being recorded on the same row.

Allow schema to be passed to apex_auto_install.rb.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3666 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-21 17:56:52 +00:00
hardya
cc3f165ee5 Updated LeadTimes.csv and modules in line with Gareths email of 20/2/2008
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3648 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-20 18:24:35 +00:00
hardya
6dd271eb4c Changes to 'mandatory' processing to address #270. Ext_dataitem_role.pdc and DATAITEM_ROLES referreed to enquiry type 'CAPACITY CHANGE' rather than 'CHANGE CAPACITY' which caused gen_mandatory not to create mandatory conditions for the 'CHANGE CAPACITY' enquiry type.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3639 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-20 10:19:00 +00:00
hardya
5946cde4dd Fixes to mip_friendly_messages.pck.
Changed additional_items.lead_time to number field.

Removed 'WORKSPACE_IMAGE' references from NG theme.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3637 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-19 20:46:13 +00:00
hardya
defecb181f Addresses #259, completes schema changes for 'friendly' messages.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3629 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-19 11:36:37 +00:00
hardya
8abc0039ba Address fields building and sub-building now optional with a check constraint to ensure that at least one is completed (#90).
Added UIDs to parties and sub-entities to prevent creation of 'duplicates' (#137).

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3618 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-18 14:04:22 +00:00
hardya
dfd3210818 Bulk Load: Changes to default values for 'unknown' items, inclusion of LeadTimes.csv
MIP_QUOTATION: Changes to make use of LeadTimes.csv

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3605 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-15 18:01:40 +00:00
hardya
79a6f9df8d Remove obsolete view, v_complete_ext_modules.vw
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3509 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-11 09:01:32 +00:00
hardya
68f300c2ca Fixes made for #102, #103, #49, #108
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3504 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-08 16:23:12 +00:00
hardya
073c5f5230 Updated enquiries in response to #102.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3502 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-08 15:32:27 +00:00
hardya
791472e9a6 Add Qmax to modules.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3498 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-08 13:47:04 +00:00
hardya
224e841305 Add module Qmax to bulk load process and quotation generation.
Add tripartite_agreement_message to mip_quotation.pck (supported by mip_tripartite.pck). Produces a message when enquiry does not meet tripartite requirements.

Removed extraneous role types for Seed/prtp.ctl and Seed/rt.ctl.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3497 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-08 12:25:46 +00:00
hardya
ee3dcd0ad9 Alter bulk_load routines to match discussions with Gareth regarding costs.
Added 'quotation_text' and 'contact_text' to regions, to be used during quote document generation.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3494 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-07 17:52:22 +00:00
hardya
60256b0834 Include missing '/'
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3491 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-07 17:09:34 +00:00
hardya
12f2693a5c Changes to schema and code to place 'id' as PK field in quote_events and enquiry_events as part of ticket #78.
Changed BULK_LOAD.xls to have two tabs to represent costs. Also includes QMAX against module - none of these changes are represented in the current code.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3480 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-06 17:28:44 +00:00
hardya
e4547a542b Add support for system calls (ticket #77).
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3465 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-05 10:28:17 +00:00
hardya
5fc6600a34 Added missing row_number to the select list.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3458 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-04 17:43:14 +00:00
hardya
6c4617b1c3 Bulk Load: Latest version of POSTCODES.csv.
Data/Seed and Data/Test: Correction to apau.ctl to remove duplicates.

Modules/compile.sql: Correction to 'report' query.

Schema/ext...: Check whether external tables have been defined before attempting to drop them.

Schema/v_...: Force creation of views that rely on PL/SQL code. Explicitly name the column returned by V_QUOTE_DETAILS.vw so that the comments can be applied.



git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3452 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-04 10:49:50 +00:00
PriestJ
f9672916f0 ah made changes to build scripts to fix a few errors
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3416 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-29 13:11:12 +00:00
hardya
7e4f08658b Amend mip_quotation to refer to a permanent table for validation results.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3409 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-29 11:33:37 +00:00
hardya
db78bf5c4c DatabaseItemToFunctionalSpecificationReference.xls - renamed METY_CODE to EXISTING_METY_CODE, included DISPLAY_SEQUENCE to be used in the generation of emails, etc.
Minor internal changes to operation of cout_assert.pck and cout_err.pck.
mip_quotation.pck - made validation routines open to external processes. Added enquiry entry details to manual quotes.

Schema - Removed data_items table and amended data_item_roles to support display_sequence requirements.



git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3407 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-28 18:41:24 +00:00
hardya
8638b8b2ae Modules/mip_helper_special_cases.pck - correction to rule OM-4
Modules/mip_quotation.pck - add prty_id and owner_prty_id to quote status procedures to record the relevant roles. Add debug routine 'pl' to write a log file of processing. Tidy-up email wording.
Modules/mip_regions.pck - convert given postcode to uppercase before processing.
Modules/mip_virus_check.pck - started work on the virus checking module. So far, just have the ability to write a document to the filesystem. Added new directory, 'WEBMIP_VIRUS' to store these files in.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3381 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-23 18:24:40 +00:00
hardya
7311d92835 Seed/enst.ctl - add INVALID status
Documentation/Design/DatabaseItemToFunctionalSpecificationReference.xls - add rule O-M5
Documentation/pldoc - regenerated
Modules/mip_helper_special_cases.pck - make reference to Tripartite rule O-M5 (handled by mip_quotation.pck and mip_tripartite.pck
Schema - removed DATA_ITEM_ROLES_IMPORT, added views of enquiries and quote statuses

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3354 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-22 17:59:56 +00:00
hardya
e3911c7920 Added missing ext_dataitem_role.pdc
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3324 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 19:09:21 +00:00
hardya
32dac70391 Updated 'mandatory' field checks.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3322 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 18:56:25 +00:00
hardya
564c5ef063 Schema Changes:
Enquiries - renamed LOGGER_REQUIRED to EXISTING_LOGGER
Enquiries - renamed METY_CODE to EXISTING_METY_CODE

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3310 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 11:03:06 +00:00
hardya
e9b5c5a125 mip_quotation.pck - produce quotes for 'EXCHANGE'
V_QUOTE_DETAILS.vw - include hou_code

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3303 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-18 16:04:45 +00:00
mullenm
7864d2d918 Added Qmin and column comments to make it easier for other people.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3263 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-16 14:46:43 +00:00
hardya
13c9c0ca97 Changes made to support Bulk Load.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3255 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-15 18:45:58 +00:00
mullenm
eb64acbad1 git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3241 248e525c-4dfb-0310-94bc-949c084e9493 2008-01-15 11:20:32 +00:00
mullenm
156c554e00 Added a new view v_quote_details to display details of the quotes to end users for selection purposes.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3193 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-10 15:39:07 +00:00
hardya
79abbc473b Changes to the number of columns in the external tables.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3182 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-09 20:10:56 +00:00
hardya
f3c3bb281f Add external table definitions to support bulk loading.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3172 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-08 18:15:32 +00:00
hardya
01b5b4c979 Add V_LACO.vw - shows labour costs
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3149 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-07 17:29:06 +00:00
hardya
d20518e58a Changed quote_items to have primary key on column 'id'. Sequence quit_seq added to service this PK.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3061 248e525c-4dfb-0310-94bc-949c084e9493
2007-12-21 17:35:45 +00:00