FSN#18016 Multilang

svn path=/Database/trunk/; revision=10438
This commit is contained in:
Jos Groot Lipman
2010-09-23 13:20:32 +00:00
parent 20ef55deae
commit 2f57992f38
4 changed files with 231 additions and 8 deletions

View File

@@ -2,8 +2,8 @@
#define _COMSQL_H
/*
* COMSQL.H
* $Revision: 111 $
* $Modtime: 14-09-10 16:14 $
* $Revision: 112 $
* $Modtime: 22-09-10 20:38 $
*/
/*
@@ -25,10 +25,10 @@
#define _VERSION '5.00.9'
#define REGISTERONCE(f, r) \
BEGIN adm.systrackscript(f, r, 0); END;~/
BEGIN adm.systrackscript(f, r, 1); END;~/
#define REGISTERRUN(f, r) \
BEGIN adm.systrackscript(f, r, 1); END;~/
BEGIN adm.systrackscript(f, r, 0); END;~/
#define SET_VERWIJDER_CHILDREN(child_table, parent_key, parent_verwijder, \
child_verwijder, table) \
@@ -758,4 +758,24 @@ VARCHAR2(50)
#define __T__ins_discipline__ins_discipline_key__TYPE \
NUMBER(10)
#define START_LOCALEITEMS(dialect_id) \
DECLARE ~ \
v_dialect_id fac_localeitems.fac_localeitems_dialect_id%TYPE; ~ \
BEGIN ~ \
v_dialect_id := dialect_id; ~ \
insert into fac_localeitems ~ \
(fac_localeitems_dialect_id, fac_localeitems_lcl) ~ \
SELECT * FROM (
#define DEFINE_LOCALEITEM(lcl) \
SELECT v_dialect_id, STRINGIZE(lcl) FROM DUAL UNION ALL
#define END_LOCALEITEMS() \
SELECT 'a', 'b' FROM DUAL WHERE 1=0) ~ \
MINUS select fac_localeitems_dialect_id, fac_localeitems_lcl FROM fac_localeitems; ~ \
END; ~ \
/ ~ \
COMMIT;
#endif // _COMSQL_H

View File

@@ -4,8 +4,8 @@
-- Copyright 1996-2010 SG|facilitor bv.
-- All rights reserved!
/*
* $Revision: 61 $
* $Modtime: 7-09-10 10:53 $
* $Revision: 62 $
* $Modtime: 21-09-10 13:27 $
*/
#include "modules.h"
#include "comsql.h"
@@ -155,6 +155,9 @@ SET ECHO ON
#include "fin\fin_ini.src"
#include "prj\prj_ini.src"
#include "msg\msg_ini.src"
/* LOCALE's */
#include "mld\mld_lcl.src"
COMMIT;
///////////////////////////// finally compile all views, triggers etc acc to the latest state ///////
@@ -162,7 +165,7 @@ BEGIN DBMS_UTILITY.COMPILE_SCHEMA(USER, FALSE); END;
/
BEGIN fac.registerversion(_VERSIONMAJ, _VERSIONMIN, _VERSIONPATCH, _DBVERSION, NULL); END;
/
REGISTERONCE('$Workfile: FCLT.SRC $','$Revision: 61 $')
REGISTERONCE('$Workfile: FCLT.SRC $','$Revision: 62 $')
COMMIT;
///////////////////////////// Report invalid objects, if any ///////

197
MLD/MLD_LCL.SRC Normal file
View File

@@ -0,0 +1,197 @@
#ifdef MLD // 13-03-96 AH
/*
* $Modtime: 23-09-10 11:55 $
* $Revision: 1 $
/* Installation of modules should fill or update this one */
*/
START_LOCALEITEMS('MLD_SRTDISCIPLINE_KEY')
//DEFINE_LOCALEITEM(lcl_all)
//DEFINE_LOCALEITEM(lcl_charge_type_group)
//DEFINE_LOCALEITEM(lcl_contract)
//DEFINE_LOCALEITEM(lcl_district)
//DEFINE_LOCALEITEM(lcl_fac_filterblok)
//DEFINE_LOCALEITEM(lcl_mld_inf_Kostenplaats)
//DEFINE_LOCALEITEM(lcl_opdr_kosten)
//DEFINE_LOCALEITEM(lcl_search_diff_fields)
//DEFINE_LOCALEITEM(lcl_select_nextaction)
//DEFINE_LOCALEITEM(lcl_BES_Supplier)
DEFINE_LOCALEITEM(lcl_accept)
DEFINE_LOCALEITEM(lcl_accept_hint)
DEFINE_LOCALEITEM(lcl_account)
DEFINE_LOCALEITEM(lcl_add)
DEFINE_LOCALEITEM(lcl_aflevergegevens)
DEFINE_LOCALEITEM(lcl_approve)
DEFINE_LOCALEITEM(lcl_back)
DEFINE_LOCALEITEM(lcl_behandelgegevens)
DEFINE_LOCALEITEM(lcl_bes_hint)
DEFINE_LOCALEITEM(lcl_call_number)
DEFINE_LOCALEITEM(lcl_caller)
DEFINE_LOCALEITEM(lcl_cancel)
DEFINE_LOCALEITEM(lcl_change)
DEFINE_LOCALEITEM(lcl_charge_type)
DEFINE_LOCALEITEM(lcl_close)
DEFINE_LOCALEITEM(lcl_close_hint)
DEFINE_LOCALEITEM(lcl_company)
DEFINE_LOCALEITEM(lcl_complain)
DEFINE_LOCALEITEM(lcl_complains)
DEFINE_LOCALEITEM(lcl_contact_pers)
DEFINE_LOCALEITEM(lcl_continu)
DEFINE_LOCALEITEM(lcl_continue_hint)
DEFINE_LOCALEITEM(lcl_correct)
DEFINE_LOCALEITEM(lcl_date_time)
DEFINE_LOCALEITEM(lcl_delivery_address)
DEFINE_LOCALEITEM(lcl_dep_name_level1)
DEFINE_LOCALEITEM(lcl_descr)
DEFINE_LOCALEITEM(lcl_discipline)
DEFINE_LOCALEITEM(lcl_doorzet)
DEFINE_LOCALEITEM(lcl_doorzet_hint)
DEFINE_LOCALEITEM(lcl_edit)
DEFINE_LOCALEITEM(lcl_empty_reject)
DEFINE_LOCALEITEM(lcl_end_date_plan)
DEFINE_LOCALEITEM(lcl_enddate)
DEFINE_LOCALEITEM(lcl_filterblok)
DEFINE_LOCALEITEM(lcl_forward)
DEFINE_LOCALEITEM(lcl_forward_mld_1)
DEFINE_LOCALEITEM(lcl_forwarded)
DEFINE_LOCALEITEM(lcl_gerelateerdeobjecten)
DEFINE_LOCALEITEM(lcl_handler)
DEFINE_LOCALEITEM(lcl_hour_rate)
DEFINE_LOCALEITEM(lcl_hours)
DEFINE_LOCALEITEM(lcl_laatgaan_hint)
DEFINE_LOCALEITEM(lcl_location)
DEFINE_LOCALEITEM(lcl_mater_cost)
DEFINE_LOCALEITEM(lcl_mld_aanvragergegevens)
DEFINE_LOCALEITEM(lcl_mld_accept)
DEFINE_LOCALEITEM(lcl_mld_accepted)
DEFINE_LOCALEITEM(lcl_mld_afgemeld)
DEFINE_LOCALEITEM(lcl_mld_afgewezen)
DEFINE_LOCALEITEM(lcl_mld_appr_req)
DEFINE_LOCALEITEM(lcl_mld_behandelaar)
DEFINE_LOCALEITEM(lcl_mld_can_not_be_closed)
DEFINE_LOCALEITEM(lcl_mld_categorie)
DEFINE_LOCALEITEM(lcl_mld_changedby)
DEFINE_LOCALEITEM(lcl_mld_chk_bo_mldAfm)
DEFINE_LOCALEITEM(lcl_mld_chk_bo_mldBusy)
DEFINE_LOCALEITEM(lcl_mld_chk_bo_mldNew)
DEFINE_LOCALEITEM(lcl_mld_chk_bo_mldRej)
DEFINE_LOCALEITEM(lcl_mld_chk_bo_mldSelf)
DEFINE_LOCALEITEM(lcl_mld_chk_bo_mldVer)
DEFINE_LOCALEITEM(lcl_mld_chk_fe_mldBusy)
DEFINE_LOCALEITEM(lcl_mld_chk_fe_mldDone)
DEFINE_LOCALEITEM(lcl_mld_chk_fe_mldNew)
DEFINE_LOCALEITEM(lcl_mld_chk_fe_mldRej)
DEFINE_LOCALEITEM(lcl_mld_chk_fo_mldAfm)
DEFINE_LOCALEITEM(lcl_mld_chk_fo_mldBusy)
DEFINE_LOCALEITEM(lcl_mld_chk_fo_mldRej)
DEFINE_LOCALEITEM(lcl_mld_chk_fo_mldSelf)
DEFINE_LOCALEITEM(lcl_mld_chk_fo_mldVer)
DEFINE_LOCALEITEM(lcl_mld_choose_na)
DEFINE_LOCALEITEM(lcl_mld_choose_srt)
DEFINE_LOCALEITEM(lcl_mld_complain)
DEFINE_LOCALEITEM(lcl_mld_continuation)
DEFINE_LOCALEITEM(lcl_mld_continue_of)
DEFINE_LOCALEITEM(lcl_mld_continueblok)
DEFINE_LOCALEITEM(lcl_mld_date)
DEFINE_LOCALEITEM(lcl_mld_flexblok)
DEFINE_LOCALEITEM(lcl_mld_frame_algemeen)
DEFINE_LOCALEITEM(lcl_mld_frame_algemeen_actie)
DEFINE_LOCALEITEM(lcl_mld_frame_notes)
DEFINE_LOCALEITEM(lcl_mld_geaccepteerd)
DEFINE_LOCALEITEM(lcl_mld_inf_Kostenklant)
DEFINE_LOCALEITEM(lcl_mld_inf_Omschrijving)
DEFINE_LOCALEITEM(lcl_mld_inf_Opmerking)
DEFINE_LOCALEITEM(lcl_mld_inf_Ordernr)
DEFINE_LOCALEITEM(lcl_mld_ingevoerd)
DEFINE_LOCALEITEM(lcl_mld_ingezien)
DEFINE_LOCALEITEM(lcl_mld_is_mldbeh_none)
DEFINE_LOCALEITEM(lcl_mld_is_mldbeh_to)
DEFINE_LOCALEITEM(lcl_mld_kenmerken)
DEFINE_LOCALEITEM(lcl_mld_kosten)
DEFINE_LOCALEITEM(lcl_mld_mldverwerkt)
DEFINE_LOCALEITEM(lcl_mld_not_solved)
DEFINE_LOCALEITEM(lcl_mld_note)
DEFINE_LOCALEITEM(lcl_mld_note_emptyset)
DEFINE_LOCALEITEM(lcl_mld_note_new)
DEFINE_LOCALEITEM(lcl_mld_number)
DEFINE_LOCALEITEM(lcl_mld_object_add)
DEFINE_LOCALEITEM(lcl_mld_object_remove)
DEFINE_LOCALEITEM(lcl_mld_objects)
DEFINE_LOCALEITEM(lcl_mld_objects_available)
DEFINE_LOCALEITEM(lcl_mld_objects_select)
DEFINE_LOCALEITEM(lcl_mld_objects_selected)
DEFINE_LOCALEITEM(lcl_mld_ord_afgemeld)
DEFINE_LOCALEITEM(lcl_mld_ord_afgewzen)
DEFINE_LOCALEITEM(lcl_mld_ord_bymail)
DEFINE_LOCALEITEM(lcl_mld_ord_geaccepteerd)
DEFINE_LOCALEITEM(lcl_mld_ord_gefiatteerd)
DEFINE_LOCALEITEM(lcl_mld_ord_niet_akkoord)
DEFINE_LOCALEITEM(lcl_mld_ord_ter_fiattering)
DEFINE_LOCALEITEM(lcl_mld_ord_uitgegeven)
DEFINE_LOCALEITEM(lcl_mld_ord_verwerkt)
DEFINE_LOCALEITEM(lcl_mld_pending)
DEFINE_LOCALEITEM(lcl_mld_reject_failed)
DEFINE_LOCALEITEM(lcl_mld_rejected1)
DEFINE_LOCALEITEM(lcl_mld_rejected2)
DEFINE_LOCALEITEM(lcl_mld_result)
DEFINE_LOCALEITEM(lcl_mld_similarcalls)
DEFINE_LOCALEITEM(lcl_mld_status)
DEFINE_LOCALEITEM(lcl_mld_typeopdr)
DEFINE_LOCALEITEM(lcl_mld_uitgegeven)
DEFINE_LOCALEITEM(lcl_mld_urg)
DEFINE_LOCALEITEM(lcl_mld_urg_hold1)
DEFINE_LOCALEITEM(lcl_mld_urg_hoog)
DEFINE_LOCALEITEM(lcl_mld_urg_hoog1)
DEFINE_LOCALEITEM(lcl_mld_urg_kritiek)
DEFINE_LOCALEITEM(lcl_mld_urg_kritiek1)
DEFINE_LOCALEITEM(lcl_mld_urg_laag)
DEFINE_LOCALEITEM(lcl_mld_urg_laag1)
DEFINE_LOCALEITEM(lcl_mld_urg_normaal)
DEFINE_LOCALEITEM(lcl_mld_urg_normaal1)
//DEFINE_LOCALEITEM(lcl_name)
//DEFINE_LOCALEITEM(lcl_new)
//DEFINE_LOCALEITEM(lcl_newrows1)
//DEFINE_LOCALEITEM(lcl_newrows2)
DEFINE_LOCALEITEM(lcl_noti_email)
DEFINE_LOCALEITEM(lcl_noti_mld_email)
DEFINE_LOCALEITEM(lcl_obj_advanced)
DEFINE_LOCALEITEM(lcl_obj_group)
DEFINE_LOCALEITEM(lcl_obj_sort)
DEFINE_LOCALEITEM(lcl_opdr_enddate)
DEFINE_LOCALEITEM(lcl_opdr_frame_algemeen)
DEFINE_LOCALEITEM(lcl_opdr_frame_algemeen_actie)
DEFINE_LOCALEITEM(lcl_opdr_info)
DEFINE_LOCALEITEM(lcl_ord_company_uit)
DEFINE_LOCALEITEM(lcl_orderdate)
DEFINE_LOCALEITEM(lcl_orders)
DEFINE_LOCALEITEM(lcl_orders_hint)
DEFINE_LOCALEITEM(lcl_overview_list)
DEFINE_LOCALEITEM(lcl_period_from)
DEFINE_LOCALEITEM(lcl_period_to)
DEFINE_LOCALEITEM(lcl_period_wd)
DEFINE_LOCALEITEM(lcl_plaatsgegevens)
DEFINE_LOCALEITEM(lcl_place)
DEFINE_LOCALEITEM(lcl_print)
DEFINE_LOCALEITEM(lcl_prs_companies_dienst)
//DEFINE_LOCALEITEM(lcl_prs_organisatie)
//DEFINE_LOCALEITEM(lcl_prs_person_phone)
DEFINE_LOCALEITEM(lcl_reject)
DEFINE_LOCALEITEM(lcl_reject_hint)
DEFINE_LOCALEITEM(lcl_res_kpks_validatie)
DEFINE_LOCALEITEM(lcl_select_bedrijf)
DEFINE_LOCALEITEM(lcl_select_dienst_filter)
DEFINE_LOCALEITEM(lcl_select_typeopdr)
DEFINE_LOCALEITEM(lcl_startdate)
DEFINE_LOCALEITEM(lcl_status)
DEFINE_LOCALEITEM(lcl_status_details)
DEFINE_LOCALEITEM(lcl_submit)
DEFINE_LOCALEITEM(lcl_terugzet)
DEFINE_LOCALEITEM(lcl_time)
DEFINE_LOCALEITEM(lcl_total_cost)
DEFINE_LOCALEITEM(lcl_txt)
DEFINE_LOCALEITEM(lcl_vakgroup)
DEFINE_LOCALEITEM(lcl_vakgroup_type)
END_LOCALEITEMS()
REGISTERONCE('$Workfile: MLD_LCL.SRC $','$Revision: 1 $')
#endif // MLD

View File

@@ -58,4 +58,7 @@
#include "fin\fin_tri.src"
#include "prj\prj_tri.src"
REGISTERONCE('$Workfile: recreate.inc $','$Revision: 1 $')
/* LOCALE's */
#include "mld\mld_lcl.src"
REGISTERONCE('$Workfile: recreate.inc $','$Revision: 2 $')