Commit Graph

160 Commits

Author SHA1 Message Date
PriestJ
a4104562e2 Fix for ticket #479(SC2004) 'excluding lifting gear if required.' text was missing on the costs page next to contract sum line
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4724 248e525c-4dfb-0310-94bc-949c084e9493
2008-04-04 15:51:06 +00:00
PriestJ
28a1c94434 Fix for ticket #473 (SC5003) The code for displaying the existing meter details was incorrectly using the meter type code instead of the description. Added a new function to get the description for a given meter code.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4720 248e525c-4dfb-0310-94bc-949c084e9493
2008-04-03 16:36:38 +00:00
hardya
71f3313e86 Address #460 - Tripartite membership not being recognized.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4718 248e525c-4dfb-0310-94bc-949c084e9493
2008-04-03 15:03:48 +00:00
PriestJ
5568825e82 Fix for ticket #469 (SC2016) Meter type now looks up the description rather than the code (which was UPPERCASE)
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4717 248e525c-4dfb-0310-94bc-949c084e9493
2008-04-03 14:38:40 +00:00
PriestJ
40f0e02822 fix for tickets #449, #450, #464 (SC2003, SC3003 and SC2_011) pointed meter type reference in the description of works to the correct field.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4715 248e525c-4dfb-0310-94bc-949c084e9493
2008-04-03 11:20:14 +00:00
hardya
5974a9c36f Meter Type was missing from labour quote item.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4714 248e525c-4dfb-0310-94bc-949c084e9493
2008-04-03 11:13:25 +00:00
hardya
d17dab1993 Address #448 - Tripartite agreement and addons.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4713 248e525c-4dfb-0310-94bc-949c084e9493
2008-04-03 10:19:33 +00:00
hardya
fde2af4036 Addresses #451
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4712 248e525c-4dfb-0310-94bc-949c084e9493
2008-04-03 09:56:56 +00:00
hardya
b6dc95e69c Addresses #444. The select/header lists exceeded the maximum length of the varchar2 allocated to hold them. Rewrote without the need for the varchar2s.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4197 248e525c-4dfb-0310-94bc-949c084e9493
2008-04-01 17:16:54 +00:00
hardya
d81fe866b1 Addresses #444. The select/header lists exceeded the maximum length of the varchar2 allocated to hold them. Rewrote without the need for the varchar2s.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4196 248e525c-4dfb-0310-94bc-949c084e9493
2008-04-01 17:13:26 +00:00
hardya
42cf6385cc Addresses #436. Incorrect validation of: The only letters to appear in the fourth position are A, B, E, H, M, N, P, R, V, W, X and Y.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4173 248e525c-4dfb-0310-94bc-949c084e9493
2008-04-01 13:22:15 +00:00
hardya
46e5e90a43 New bulk load data.
Address #431 - invalid manufacturer id in enquiry select lists.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4160 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-31 14:20:14 +00:00
mullenm
a4833064b4 Ticket #434
Error with AV routine if an empty file was uploaded.  This includes any infected files being intercepted by the server's AV scanner.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4159 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-31 14:15:25 +00:00
hardya
3f3dce36b0 Ensure distinct manufacturers are returned by mip_select_xml.pck.
Remove extraneous page templates from f155_theme_101.sql, ensure CSS references are made to #IMAGE_PREFIX#

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4086 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-26 19:45:25 +00:00
hardya
e310449816 Committed prior to FAT testing
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4072 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-26 09:15:49 +00:00
hardya
d11ee1ccc9 Address #408, Tripartite region check.
Address #422, Missing mandatory fields when meter model selected. Removed Popup LOV with AJAX select lists. Supporred by mip_select_xml.pck)


git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4069 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-25 15:56:53 +00:00
hardya
54a2987177 Addressed #351 by adding existing_prty_id to calc_meter_reqs (similar change to screen 32).
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4022 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-17 14:10:40 +00:00
PriestJ
d587d408bc fix for #365 removed blank line in agent address if one of the lines is null
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4020 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-17 12:22:35 +00:00
hardya
6bd7a6c926 Additional logging for the mandatory check (see ticket #402)
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4019 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-17 12:13:05 +00:00
hardya
5d2da832ea Addresses #396. Checking of existing meter didn't recognize the 'OTHER' meter model correctly in labour-only quotes.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4010 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-14 16:01:33 +00:00
hardya
72de82bbde Addresses #376. Correct detection of a bypass_required reason.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4006 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-14 14:54:52 +00:00
hardya
2b164a768e Addresses #390, bypass_other to be mandatory if bypass_required = bypass_reason description associated with code '7'
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4005 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-14 14:44:36 +00:00
hardya
bdbb396c22 Addresses #390, bypass_other to be mandatory if bypass_required = '7'
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4004 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-14 14:35:40 +00:00
PriestJ
8af9f4937c Fixed problem with qmax not being returned when required meter size is selected by user
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3997 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-14 12:15:34 +00:00
hardya
2c936de2b2 Addresses #394, convertor required to lead to manual quote.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3996 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-14 11:44:27 +00:00
hardya
792890a15e Removed bind parameter.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3992 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-14 11:10:04 +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
8ee044c2dd Addressed #363, assertion error and/or ORA-06502 errors during the quote generation caused by missing Required Meter Size or Qmax in the submitted enquiry.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3975 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-12 17:56:39 +00:00
mullenm
dfcd9f4b40 Added quote/enquiry lapse job.
(Ticket #51)

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3974 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-12 17:23:45 +00:00
PriestJ
e836cfd1d6 Fix for #372 caveat text no longer overwrites.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3973 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-12 16:57:04 +00:00
hardya
47b70c0e21 Correction to check_mandatory (all fields were being returned as 'mandatory').
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3958 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-12 14:57:29 +00:00
hardya
1190dfb87e Changed mandatory packages (mip_mandatory.pck and gen_mandatory.prc) to produce label conditions for the enquiry screen.
Expose addon_allowed in mip_tripartite.pck.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3957 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-12 14:16:55 +00:00
PriestJ
a40b896dd5 fix for ticket #365, the code was trying to get the supplier address changed this to the agent address, also the code was never going to get an address as the call to get the address occurred before we got the supplier/agent ids, so it was always passing a null as the supplier/agent id.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3944 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-11 15:04:22 +00:00
hardya
b684db635b Ensure that we have a required_qmax for 'exchanges' not affected by 'one-U-step' rules (mip_quotation.pck).
Tidy-up debug messages from MIP_FILES.pck.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3940 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-11 12:10:01 +00:00
hardya
eee0364f94 Ensure that only 'current' modules and meters are selected (mip_quotation.pck).
Where valid from is null in new meters, set the valid from to the start of the day on which they are loaded (mip_bulk_load.pck).


git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3927 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-10 17:29:43 +00:00
hardya
7597637831 Ensure that only required qmax or required mesc code is used in the module enquiry.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3925 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-10 17:11:17 +00:00
hardya
ed16b182ef Correction to labour cost only quotes to get costing parameters from existing meter (as for module quotes).
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3917 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-10 16:20:04 +00:00
hardya
4fadc5b458 Add session number to the generated output.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3916 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-10 16:15:16 +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
320ce75fcf Changes made for BulkLoad information provided by Gareth on 5th March (new bas_dwg/102M.jpg, csv exports)
New package mip_debug_constants.pks to be used to store compilation constants for debugging purposes (packages to use pl from mip_debug).

mip_quotation.pck modified to support exchanges based on being provided with an existing model rather than meter size. Changes to the DATAITEM_ROLES.csv to support this new field, impact on mandatory rules captured by mip_helper_special_cases.pck

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3900 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-10 12:29:59 +00:00
PriestJ
80ee944d42 The logic that defined how the IP Details/IP Mbar fields were to be validated was incorrect. The DATAITEM_ROLES.xls spreadsheet states that only IP Details field needs to be mandatory when service pressure is IP, the IP mbar field is optional.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3879 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-06 17:42: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
532596bab7 Change all references from 'UNKNOWN' to 'OTHER'.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3850 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-06 10:00:43 +00:00
hardya
ab0dfe04ba Correction to postcode deletion.
Replace '"' in meter codes with 'INCH'

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3840 248e525c-4dfb-0310-94bc-949c084e9493
2008-03-04 16:41:04 +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
mullenm
2630a6df2a ticket #135
I've changed how old addresses are expired so that it now works correctly.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3754 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-28 13:36:41 +00:00
hardya
eae90da13e Enquiry_allowed (by enquiry_id) check should look for role of 'ENQ SUPP' and not 'SUPP'
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3731 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-27 12:34:14 +00:00
PriestJ
d84c15b824 altered code for OM-3 as it was referring to 'CAPACITY CHANGE' rather than 'CHANGE CAPACITY'. This meant for 'Capacity change jobs' that the users were not being forced to enter the ip details when a service pressure of IP was selected. Fix for ticket #270
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3729 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-27 11:40:09 +00:00