208 Commits

Author SHA1 Message Date
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
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
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
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
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