Commit Graph

189 Commits

Author SHA1 Message Date
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
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
mullenm
bc48c2a999 Corrected error with using the wrong sequence for the document events table. Ooops.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3706 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-26 11:09:13 +00:00
mullenm
8f66c71974 Created a virus scanning procedure.
Download file to server, perform AV check, re-import whatever's left.  If the file isn't there, delete it from MIP as it may be malicious.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3696 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-25 17:08:37 +00:00
mullenm
8dd4c9f73b added mip_documents to the list.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3680 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-22 14:49:28 +00:00
mullenm
e21a767030 Some new document procedures for setting the status of docs in MIP.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3679 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-22 14:48:58 +00:00
mullenm
9739b6ad3a Addressed issues with the address creation and expiry bits.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3678 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-22 14:45:25 +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
PriestJ
9e3cf59e6b fixed mam bug. Altered the way mam text is gotten, now uses the quotation_text column rather than the description. Added text for logger caveat. Altered hunt group number to the correct number.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3644 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-20 15:11:19 +00:00
PriestJ
f68701d4f1 remove publicly exposed function
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3640 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-20 12:49:30 +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
7b05c4f822 Addresses #241
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3636 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-19 18:30:21 +00:00
mullenm
c9f7cc028d Updated whilst fixing numerous tickets.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3632 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-19 17:09:47 +00:00
hardya
2b3d0c909c Added support for 'friendly' database constraint messages.
Changed SUPP role type description following training session.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3628 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-19 11:30:44 +00:00
hardya
21a555697d Addresses #130
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3626 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-18 20:46:01 +00:00
hardya
cd398f258c Changes made following test of the training environment.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3608 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-15 20:34:04 +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
3dcee7fb94 Latest version of BULK_LOAD.xls exported as CSV files, changes to syco.ctl file.
Modified mip_bulk_load.pck to convert '"' to 'inch' in meter size codes imported from LABOUR_COSTS.csv.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3527 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-12 16:52:40 +00:00
PriestJ
091671c9f5 initcap'd the housing description for housing type
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3521 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-12 15:32:42 +00:00
PriestJ
b30310ea22 altered code so that it takes into account document status for anti-virus and deletions
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3519 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-12 14:14:37 +00:00
PriestJ
62f5351697 Altered code to handle extra caveat condition when a logger exists and the job is a std removal, removal or adversarial then the caveat appears at the bottom of the caveats page list of caveats. Removed references to the ventilation values on the caveats page also at GW's request. Will need to run through a bit more testing and also add the text for the logger caveat once GW provides it.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3514 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-11 16:54:26 +00:00