hardya
c8bf407cc8
mip_bulk_load.pck: moved call to get_globals to reduce occasional 'parent not found' errors.
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3454 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-04 11:31:51 +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
92d4ebcb67
added function to test if a quotation document/file exists
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3446 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-01 17:33:52 +00:00
PriestJ
6833abac25
added delete_enquiry function so that web mip admin and i&c can delete enquiries
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3436 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-31 16:00:40 +00:00
PriestJ
05d0caac63
Added function to delete the file from the documents, document_roles tables and wwv_flow_files view. It accepts the document id (from the documents table)
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3432 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-30 17:35:11 +00:00
PriestJ
f7bdbda3bd
Fixed exchange PDF bug (too few parameters). Added code to report 2 different table 1's, one for LP jobs and one for MP jobs. Adjusted the layout of some of the pages so that the caveats will all fit on one page.
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3428 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-30 12:06:46 +00:00
PriestJ
1d109ffdff
made changes to pdf output inline with request from GW, awaiting confirmation on 2 further points that he raised so there will be further changes...
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3421 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-29 18:19:51 +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
5f2186b3ac
mip_quotation.pck - remove reference to gtt_manadatory_checks
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3412 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-29 11:40:23 +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
64339b874a
Record the party selecting a quote.
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3384 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-24 14:14:07 +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
PriestJ
374ba0aee9
added function to get enquiry status, intend to use it to make enquiry read only
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3345 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-22 17:08:03 +00:00
PriestJ
d985e13a1d
removed set_file_association function as this is now stored and called from the mip_files package
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3335 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-22 13:36:54 +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
acf28dc3b1
Alter references from mety_code to existing_mety_code in response to r3310
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3317 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 16:01:06 +00:00
PriestJ
620d7765b3
removed references to mip_dev_e schema, must have been copied from some test code, caused an error on the test instance of webmip, and would have on the live system
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3313 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 12:29:04 +00:00
PriestJ
6bd8f2d96c
Fixed bug in drawing_exists function it never returned a value if the drawing wasn't found, now returns false. Added null checks on the update association so that the where clause has a chance of working
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3311 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 11:45:25 +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
PriestJ
7408008ed9
Added DH's signature back is, had forgotten to set it back after testing
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3297 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-18 15:11:12 +00:00
PriestJ
246c8fe946
made the update_drawing and drawing_exists functions public, so they can be called by the apex file upload screens
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3296 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-18 15:06:32 +00:00
PriestJ
0f58ad85e0
added code to set a watermark on the pdf if the file test_watermark.jpg exists in the application images, if it does not exist then no watermark will be shown
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3293 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-17 18:23:32 +00:00
hardya
9d7b4c263b
Added support for Removals.
...
Added interfaces to quote status setting.
Produce emails on completion of quotation.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3291 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-17 17:51:20 +00:00
mullenm
f0adc3075d
changed the procedure names and added the from field from the sys config table.
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3286 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-17 13:58:37 +00:00
PriestJ
c436af2957
fixed code so that addons is not displayed on the pdf if there are none and made work items not display any unecessary blank lines, and made sure that existing meter details are shown for removal type jobs
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3280 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-16 17:43:29 +00:00
PriestJ
a45d684c62
added routines to find existing files, and to update existing files
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3279 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-16 17:41:37 +00:00
mullenm
25fd6ec5c3
added check that the returned role is NOT null if it is return FALSE. This was because it wasn't giving a no data found error as expected.
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3259 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-16 14:31:11 +00:00
PriestJ
94c33c6342
added comments for set_file_association function
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3257 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-16 11:48:00 +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
PriestJ
a5dbe5b167
is_tripartite function used to quickly determine if Market participant is a tripartite member or not. Used when determining things like whether AMR or certain types of jobs are available to users
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3244 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-15 12:55:12 +00:00
mullenm
5e4fd6a160
added new get quote items function for use in the quote accept/reject views and pages.
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3243 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-15 11:41:09 +00:00
PriestJ
c66351616c
get enquiry role, forgot to commit
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3242 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-15 11:24:00 +00:00
PriestJ
970f0e6b16
added code to get and display caveats
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3225 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-14 14:18:41 +00:00
PriestJ
e96ef7e20d
tried to get caveats in, having troubles so code is broken until monday sorry...
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3208 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-11 18:55:01 +00:00
hardya
9e182d32cc
BULK LOAD - added support drawings, bases and housings
...
QUOTATION - moved costing of labour outside of main query, provide more details on failure to produce automatic quote.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3206 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-11 17:26:52 +00:00
PriestJ
f3844defab
Altered code to fix a couple of bugs, moved the base and housing details that are stored on the terms and conditions page out from the case statements they were in so that we always get the base and housing details, we needed this as the caveats with refer to them as minimum measurements for home made house and bases that customers might use
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3200 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-10 18:33:07 +00:00
hardya
a3765e8f3c
mip_quotation.pck - create quote entries for manual quotes. Automatic quotes call PDF build routine. Mark automatic quotes as available.
...
mip_bulk_load.pck - initial work on bulk data load .
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3181 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-09 20:06:30 +00:00
PriestJ
177b3d818e
now does drawings (requires more testing), hides drawings page if OFMAT or ADD-ON. More tidying up and bug fixing
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3179 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-09 16:52:54 +00:00
PriestJ
4c10f2ae7b
new function in mip_files to set the file association for drawings/enquiries and quotes. Fixed a few more bugs in the quote pdf builder, and have made a short start on getting the module drawings into the quote.
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3175 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-08 18:43:53 +00:00
hardya
c9c4299917
mip_bulk_load.pck - initial stage of producing bulk load routines.
...
mip_quotation.pck - move bases and housings from main 'install' query to allow a more comprehensive 'reasoning' to be produced. Removed references to 'logger' for 'install'. Added 'lifting gear' to all 'install' quotations.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3173 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-08 18:20:27 +00:00
mullenm
954d42e856
added new procedure to remove parties and associated records from the DB.
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3165 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-08 15:51:07 +00:00
PriestJ
ac7fe30db1
fixed a bug on the data collection for the quotation, was not correctly gathering the delivery costs, also added labour costs. Pointed the generate_detailed_pdf_quote to store the pdf in the APEX_APPLICATION_FILES table, also added code to place the ngm logo and DH's signature to the pages.
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3151 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-07 18:06:19 +00:00
hardya
daeef4b148
Modified mip_quotation.pck to generate labour quote items for installations.
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3150 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-07 17:29:43 +00:00
mullenm
046f922e96
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3148 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-07 17:05:09 +00:00
mullenm
ec8d9344a2
made a correction to the create_party proc
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3147 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-07 17:05:01 +00:00
PriestJ
b24ea59d33
one of the pages was still commented out!
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3129 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-04 14:06:24 +00:00
PriestJ
fa6de4187d
finished off a bit more of quotation pdf, tidied up a few bits. Moved each page inside individual procedures to make things a bit tidier. Now need to figure out how to get it into the APEX files table.
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3128 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-04 14:03:05 +00:00
PriestJ
a117f49d54
added another couple of pages top the pdf a few things still need sorting on it, need to talk to AH about the quote_items table and if he is going to populate all the table columns with data
...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3121 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-03 18:42:35 +00:00