FSN#35338 Alle CodeCharge schermen herschrijven naar gewoon ASP II
svn path=/Website/trunk/; revision=28298
This commit is contained in:
64
APPL/API2/model_fac_profiel.inc
Normal file
64
APPL/API2/model_fac_profiel.inc
Normal file
@@ -0,0 +1,64 @@
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: model_fac_profiel.inc
|
||||
|
||||
Description: Vanuit CodeCharge gegenereerd model voor fac_profiel
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<!-- #include file="../api2/model_fac_profielwaarde.inc" -->
|
||||
<%
|
||||
|
||||
function model_fac_profiel()
|
||||
{
|
||||
this.table = "fac_profiel";
|
||||
this.primary = "fac_profiel_key";
|
||||
this.records_name = "fac_profiels";
|
||||
this.record_name = "fac_profiel";
|
||||
this.autfunction = "WEB_FINMSU";
|
||||
this.record_title = L("fac_profiel");
|
||||
this.records_title = L("fac_profiel_m");
|
||||
|
||||
|
||||
this.fields = {
|
||||
"id": {
|
||||
"dbs": "fac_profiel_key",
|
||||
"label": "Key",
|
||||
"typ": "key",
|
||||
"required": true,
|
||||
"filter": "exact",
|
||||
"seq": "fac_s_fac_profiel_key"
|
||||
},
|
||||
"name": {
|
||||
"dbs": "fac_profiel_omschrijving",
|
||||
"label": L("fac_profiel_omschrijving"),
|
||||
"typ": "varchar",
|
||||
"required": true,
|
||||
"filter": "like"
|
||||
},
|
||||
"profile_limit": {
|
||||
"dbs": "fac_profiel_limiet",
|
||||
"label": L("fac_profiel_limiet"),
|
||||
"typ": "number"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
this.includes = {
|
||||
"profile_values": {
|
||||
"model": new model_fac_profielwaarde(),
|
||||
"joinfield": "profile_key"
|
||||
}
|
||||
};
|
||||
|
||||
this.REST_GET = generic_REST_GET(this);
|
||||
this.REST_POST = generic_REST_POST(this);
|
||||
this.REST_PUT = generic_REST_PUT(this);
|
||||
this.REST_DELETE = generic_REST_DELETE(this);
|
||||
}
|
||||
%>
|
||||
111
APPL/API2/model_fac_profielwaarde.inc
Normal file
111
APPL/API2/model_fac_profielwaarde.inc
Normal file
@@ -0,0 +1,111 @@
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: model_fac_profielwaarde.inc
|
||||
|
||||
Description: Vanuit CodeCharge gegenereerd model voor fac_profielwaarde
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<%
|
||||
|
||||
function model_fac_profielwaarde()
|
||||
{
|
||||
this.table = "fac_profielwaarde";
|
||||
this.primary = "fac_profielwaarde_key";
|
||||
this.records_name = "fac_profielwaardes";
|
||||
this.record_name = "fac_profielwaarde";
|
||||
this.autfunction = "WEB_FINMSU";
|
||||
this.record_title = L("fac_profielwaarde");
|
||||
this.records_title = L("fac_profielwaarde_m");
|
||||
|
||||
var catalogus_sql = "SELECT B.ins_discipline_key"
|
||||
+ " , B.ins_discipline_omschrijving as omschrijving"
|
||||
+ " , '' as prefix"
|
||||
+ " , B.ins_discipline_omschrijving"
|
||||
+ " FROM bes_v_aanwezigdiscipline B"
|
||||
+ " UNION ALL "
|
||||
+ "SELECT M.ins_discipline_key"
|
||||
+ " , M.ins_discipline_omschrijving"
|
||||
+ " , S.ins_srtdiscipline_prefix"
|
||||
+ " , S.ins_srtdiscipline_prefix ||'-'|| M.ins_discipline_omschrijving"
|
||||
+ " FROM mld_v_aanwezigdiscipline M"
|
||||
+ " , ins_srtdiscipline S"
|
||||
+ " WHERE M.ins_srtdiscipline_key = S.ins_srtdiscipline_key";
|
||||
|
||||
this.fields = {
|
||||
"id": {
|
||||
"dbs": "fac_profielwaarde_key",
|
||||
"label": "Key",
|
||||
"typ": "key",
|
||||
"required": true,
|
||||
"filter": "exact",
|
||||
"seq": "fac_s_fac_profielwaarde_key"
|
||||
},
|
||||
"profile_key": {
|
||||
"dbs": "fac_profiel_key",
|
||||
"label": L("fac_profiel_key"),
|
||||
"typ": "key",
|
||||
"foreign": {
|
||||
"tbl": "fac_profiel",
|
||||
"key": "fac_profiel_key",
|
||||
"desc": "fac_profiel_omschrijving"
|
||||
}
|
||||
},
|
||||
"prefix": {
|
||||
"dbs": "catalogus.prefix",
|
||||
"label": L("ins_discipline_prefix"),
|
||||
"typ": "varchar",
|
||||
"readonly": true
|
||||
},
|
||||
"catalog_key": {
|
||||
"dbs": "ins_discipline_key",
|
||||
"label": L("ins_discipline_key"),
|
||||
"typ": "key",
|
||||
"foreign": {
|
||||
"tbl": "("+ catalogus_sql + ")",
|
||||
"key": "ins_discipline_key",
|
||||
"desc": "omschrijving"
|
||||
}
|
||||
},
|
||||
"value_limit": {
|
||||
"dbs": "fac_profielwaarde_limiet",
|
||||
"label": L("fac_profielwaarde_limiet"),
|
||||
"typ": "number",
|
||||
"required": true
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
this.list = {
|
||||
"columns": [
|
||||
"id",
|
||||
"prefix",
|
||||
"catalog_key",
|
||||
"value_limit"
|
||||
]
|
||||
};
|
||||
this.search = {
|
||||
"autosearch": true
|
||||
};
|
||||
this.edit = {
|
||||
"modal": true
|
||||
};
|
||||
|
||||
var ext_sql = "("+catalogus_sql+") catalogus"
|
||||
this.REST_GET = generic_REST_GET(this, {
|
||||
"GET": {
|
||||
"tables": [ ext_sql],
|
||||
"wheres": [ "fac_profielwaarde.ins_discipline_key = catalogus.ins_discipline_key"]
|
||||
}
|
||||
});
|
||||
this.REST_POST = generic_REST_POST(this);
|
||||
this.REST_PUT = generic_REST_PUT(this);
|
||||
this.REST_DELETE = generic_REST_DELETE(this);
|
||||
}
|
||||
%>
|
||||
66
APPL/API2/model_fin_btwtabel.inc
Normal file
66
APPL/API2/model_fin_btwtabel.inc
Normal file
@@ -0,0 +1,66 @@
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: model_fin_btwtabel.inc
|
||||
|
||||
Description: Vanuit CodeCharge gegenereerd model voor fin_btwtabel
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<!-- #include file="../api2/model_fin_btwtabelwaarde.inc" -->
|
||||
<%
|
||||
|
||||
function model_fin_btwtabel()
|
||||
{
|
||||
this.table = "fin_btwtabel";
|
||||
this.primary = "fin_btwtabel_key";
|
||||
this.records_name = "fin_btwtabels";
|
||||
this.record_name = "fin_btwtabel";
|
||||
this.soft_delete = "fin_btwtabel_verwijder";
|
||||
this.autfunction = "WEB_FINMSU";
|
||||
this.record_title = L("fin_btwtabel");
|
||||
this.records_title = L("fin_btwtabel_m")
|
||||
|
||||
|
||||
this.fields = {
|
||||
"id": {
|
||||
"dbs": "fin_btwtabel_key",
|
||||
"label": "Key",
|
||||
"typ": "key",
|
||||
"required": true,
|
||||
"filter": "exact",
|
||||
"seq": "fin_s_fin_btwtabel_key"
|
||||
},
|
||||
"name": {
|
||||
"dbs": "fin_btwtabel_omschrijving",
|
||||
"label": L("fin_btwtabel_omschrijving"),
|
||||
"typ": "varchar",
|
||||
"translate": true,
|
||||
"filter": "like"
|
||||
},
|
||||
"default": {
|
||||
"dbs": "fin_btwtabel_default",
|
||||
"label": L("fin_btwtabel_default"),
|
||||
"typ": "check",
|
||||
"defaultvalue": "1"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
this.includes = {
|
||||
"vat_values": {
|
||||
"model": new model_fin_btwtabelwaarde(),
|
||||
"joinfield": "vat_table"
|
||||
}
|
||||
};
|
||||
|
||||
this.REST_GET = generic_REST_GET(this);
|
||||
this.REST_POST = generic_REST_POST(this);
|
||||
this.REST_PUT = generic_REST_PUT(this);
|
||||
this.REST_DELETE = generic_REST_DELETE(this);
|
||||
}
|
||||
%>
|
||||
94
APPL/API2/model_fin_btwtabelwaarde.inc
Normal file
94
APPL/API2/model_fin_btwtabelwaarde.inc
Normal file
@@ -0,0 +1,94 @@
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: model_fin_btwtabelwaarde.inc
|
||||
|
||||
Description: Vanuit CodeCharge gegenereerd model voor fin_btwtabelwaarde
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<%
|
||||
|
||||
function model_fin_btwtabelwaarde()
|
||||
{
|
||||
this.table = "fin_btwtabelwaarde";
|
||||
this.primary = "fin_btwtabelwaarde_key";
|
||||
this.records_name = "fin_btwtabelwaardes";
|
||||
this.record_name = "fin_btwtabelwaarde";
|
||||
this.soft_delete = "fin_btwtabelwaarde_verwijder";
|
||||
this.autfunction = "WEB_FINMSU";
|
||||
this.record_title = L("fin_btwtabelwaarde");
|
||||
this.records_title = L("fin_btwtabelwaarde_m");
|
||||
|
||||
|
||||
this.fields = {
|
||||
"id": {
|
||||
"dbs": "fin_btwtabelwaarde_key",
|
||||
"label": "Key",
|
||||
"typ": "key",
|
||||
"required": true,
|
||||
"filter": "exact",
|
||||
"seq": "fin_s_fin_btwtabelwaarde_key"
|
||||
},
|
||||
"vat_table": {
|
||||
"dbs": "fin_btwtabel_key",
|
||||
"label": L("fin_btwtabel"),
|
||||
"typ": "key",
|
||||
"foreign": {
|
||||
"tbl": "fin_btwtabel",
|
||||
"key": "fin_btwtabel_key",
|
||||
"desc": "fin_btwtabel_omschrijving"
|
||||
}
|
||||
},
|
||||
"vat_code": {
|
||||
"dbs": "fin_btwtabelwaarde_code",
|
||||
"label": L("fin_btwtabelwaarde_code"),
|
||||
"typ": "varchar"
|
||||
},
|
||||
"vat_name": {
|
||||
"dbs": "fin_btwtabelwaarde_oms",
|
||||
"label": L("fin_btwtabelwaarde_oms"),
|
||||
"typ": "varchar",
|
||||
"translate": true
|
||||
},
|
||||
"vat_perc": {
|
||||
"dbs": "fin_btwtabelwaarde_perc",
|
||||
"label": L("fin_btwtabelwaarde_perc"),
|
||||
"typ": "float",
|
||||
"defaultvalue": "0"
|
||||
},
|
||||
"vat_shifted": {
|
||||
"dbs": "fin_btwtabelwaarde_verlegd",
|
||||
"label": L("fin_btwtabelwaarde_verlegd"),
|
||||
"typ": "check"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
this.list = {
|
||||
"columns": [
|
||||
"id",
|
||||
"vat_table",
|
||||
"vat_code",
|
||||
"vat_name",
|
||||
"vat_perc",
|
||||
"vat_shifted"
|
||||
]
|
||||
};
|
||||
this.search = {
|
||||
"autosearch": true
|
||||
};
|
||||
this.edit = {
|
||||
"modal": true
|
||||
};
|
||||
|
||||
this.REST_GET = generic_REST_GET(this);
|
||||
this.REST_POST = generic_REST_POST(this);
|
||||
this.REST_PUT = generic_REST_PUT(this);
|
||||
this.REST_DELETE = generic_REST_DELETE(this);
|
||||
}
|
||||
%>
|
||||
153
APPL/API2/model_fin_kenmerk.inc
Normal file
153
APPL/API2/model_fin_kenmerk.inc
Normal file
@@ -0,0 +1,153 @@
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: model_fin_kenmerk.inc
|
||||
|
||||
Description: Vanuit CodeCharge gegenereerd model voor fin_kenmerk
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<%
|
||||
|
||||
function model_fin_kenmerk()
|
||||
{
|
||||
this.table = "fin_kenmerk";
|
||||
this.primary = "fin_kenmerk_key";
|
||||
this.records_name = "fin_kenmerks";
|
||||
this.record_name = "fin_kenmerk";
|
||||
this.soft_delete = "fin_kenmerk_verwijder";
|
||||
this.autfunction = "WEB_PRSSYS";
|
||||
this.record_title = L("fin_kenmerk");
|
||||
this.records_title = L("fin_kenmerk_m");
|
||||
|
||||
this.fields = {
|
||||
"id": {
|
||||
"dbs": "fin_kenmerk_key",
|
||||
"label": "Key",
|
||||
"typ": "key",
|
||||
"required": true,
|
||||
"filter": "exact",
|
||||
"seq": "fin_s_fin_kenmerk_key"
|
||||
},
|
||||
"sequence": {
|
||||
"dbs": "fin_kenmerk_volgnr",
|
||||
"label": L("mgt_kenmerk_volgnummer"),
|
||||
"typ": "number",
|
||||
"required": true
|
||||
},
|
||||
"name": {
|
||||
"dbs": "fin_kenmerk_omschrijving",
|
||||
"label": L("mgt_kenmerk_omschrijving"),
|
||||
"typ": "varchar",
|
||||
"translate": true,
|
||||
"required": true
|
||||
},
|
||||
"hint": {
|
||||
"dbs": "fin_kenmerk_hint",
|
||||
"label": L("mgt_kenmerk_hint"),
|
||||
"typ": "memo",
|
||||
"translate": true
|
||||
},
|
||||
"unit": {
|
||||
"dbs": "fin_kenmerk_dimensie",
|
||||
"label": L("mgt_srtkenmerk_dimensie"),
|
||||
"typ": "varchar",
|
||||
"translate": true
|
||||
},
|
||||
"property_type": {
|
||||
"dbs": "fin_kenmerk_kenmerktype",
|
||||
"label": L("mgt_srtkenmerk_kenmerktype"),
|
||||
"typ": "varchar",
|
||||
"required": true,
|
||||
"LOV": buildKenmerktypeLOV()
|
||||
},
|
||||
"kenmerk_type": {
|
||||
"dbs": "fin_kenmerk_type",
|
||||
"label": L("fin_kenmerk_type"),
|
||||
"typ": "varchar",
|
||||
"LOV": fill_fin_type_LOV(),
|
||||
"emptyoption": null
|
||||
},
|
||||
"required": {
|
||||
"dbs": "fin_kenmerk_verplicht",
|
||||
"label": L("mgt_kenmerk_verplicht"),
|
||||
"typ": "key",
|
||||
"LOV": buildVerplichtingList(),
|
||||
"emptyoption": null
|
||||
},
|
||||
"property_groep": {
|
||||
"dbs": "fin_kenmerk_groep",
|
||||
"label": L("mgt_kenmerk_groep"),
|
||||
"typ": "key",
|
||||
"required": true,
|
||||
"LOV": buildGroepsverplichtingList(),
|
||||
"emptyoption": null
|
||||
},
|
||||
"readonly": {
|
||||
"dbs": "fin_kenmerk_toonbaar",
|
||||
"label": L("mgt_kenmerk_toonbaar"),
|
||||
"typ": "check"
|
||||
},
|
||||
"system": {
|
||||
"dbs": "fin_kenmerk_systeem",
|
||||
"label": L("mgt_srtkenmerk_systeem"),
|
||||
"typ": "check"
|
||||
},
|
||||
"length": {
|
||||
"dbs": "fin_kenmerk_lengte",
|
||||
"label": L("mgt_srtkenmerk_lengte"),
|
||||
"typ": "number"
|
||||
},
|
||||
"decimals": {
|
||||
"dbs": "fin_kenmerk_dec",
|
||||
"label": L("mgt_srtkenmerk_dec"),
|
||||
"typ": "number"
|
||||
},
|
||||
"minimum": {
|
||||
"dbs": "fin_kenmerk_nmin",
|
||||
"label": L("mgt_srtkenmerk_nmin"),
|
||||
"typ": "number"
|
||||
},
|
||||
"maximum": {
|
||||
"dbs": "fin_kenmerk_nmax",
|
||||
"label": L("mgt_srtkenmerk_nmax"),
|
||||
"typ": "number"
|
||||
},
|
||||
"domein": {
|
||||
"dbs": "fac_kenmerkdomein_key",
|
||||
"label": L("fac_kenmerkdomein_key"),
|
||||
"typ": "key",
|
||||
"foreign": fac_kenmerkdomein_foreign("FIN"),
|
||||
"filter": "exact",
|
||||
"LOVinit": ""
|
||||
},
|
||||
"default": {
|
||||
"dbs": "fin_kenmerk_default",
|
||||
"label": L("mgt_kenmerk_default"),
|
||||
"typ": "memo",
|
||||
"translate": true
|
||||
},
|
||||
"regexp": {
|
||||
"dbs": "fin_kenmerk_regexp",
|
||||
"label": L("mgt_kenmerk_regexp"),
|
||||
"typ": "varchar"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
this.REST_GET = generic_REST_GET(this);
|
||||
this.REST_POST = generic_REST_POST(this);
|
||||
this.REST_PUT = generic_REST_PUT(this);
|
||||
this.REST_DELETE = generic_REST_DELETE(this);
|
||||
|
||||
function fill_fin_type_LOV()
|
||||
{
|
||||
return "F;"+L("fin_invoice")
|
||||
+ ";R;"+L("fin_invoicerows");
|
||||
}
|
||||
}
|
||||
%>
|
||||
83
APPL/API2/model_prs_kostencombinatie.inc
Normal file
83
APPL/API2/model_prs_kostencombinatie.inc
Normal file
@@ -0,0 +1,83 @@
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: model_prs_kostencombinatie.inc
|
||||
|
||||
Description: Vanuit CodeCharge gegenereerd model voor prs_kostencombinatie
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<%
|
||||
|
||||
function model_prs_kostencombinatie()
|
||||
{
|
||||
this.table = "prs_kostencombinatie";
|
||||
this.primary = "prs_kostencombinatie_key";
|
||||
this.records_name = "prs_kostencombinaties";
|
||||
this.record_name = "prs_kostencombinatie";
|
||||
this.autfunction = "WEB_FINMSU";
|
||||
this.record_title = L("prs_kostencombinatie");
|
||||
this.records_title = L("prs_kostencombinatie_m");
|
||||
|
||||
|
||||
this.fields = {
|
||||
"id": {
|
||||
"dbs": "prs_kostencombinatie_key",
|
||||
"label": "Key",
|
||||
"typ": "key",
|
||||
"required": true,
|
||||
"filter": "exact",
|
||||
"seq": "prs_s_prs_kostencombinatie_key"
|
||||
},
|
||||
"_name": { // Wordt gebruikt om op omschrijving van kostensoort te kunnen zoeken, ipv een listbox
|
||||
"dbs": "costtype.prs_kostensoort_oms",
|
||||
"label": L("prs_kostensoort_key"),
|
||||
"typ": "varchar",
|
||||
"hidden_fld": true,
|
||||
"filter": "like"
|
||||
},
|
||||
"category": {
|
||||
"dbs": "prs_kostensoort_key",
|
||||
"label": L("prs_kostensoort_key"),
|
||||
"typ": "key",
|
||||
"required": true,
|
||||
"foreign": {
|
||||
"tbl": "PRS_KOSTENSOORT",
|
||||
"key": "PRS_KOSTENSOORT_KEY",
|
||||
"desc": "PRS_KOSTENSOORT_OMS"
|
||||
}
|
||||
},
|
||||
"group": {
|
||||
"dbs": "prs_kostenplaatsgrp_key",
|
||||
"label": L("prs_kostenplaatsgrp_key"),
|
||||
"typ": "key",
|
||||
"required": true,
|
||||
"foreign": {
|
||||
"tbl": "PRS_KOSTENPLAATSGRP",
|
||||
"key": "PRS_KOSTENPLAATSGRP_KEY",
|
||||
"desc": "PRS_KOSTENPLAATSGRP_OMS"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
var ext_sql = "(SELECT prs_kostensoort_key"
|
||||
+ " , prs_kostensoort_oms"
|
||||
+ " FROM prs_kostensoort"
|
||||
+ ") costtype";
|
||||
this.REST_GET = generic_REST_GET(this, {
|
||||
"GET": {
|
||||
"tables": [ext_sql],
|
||||
"wheres": ["costtype.prs_kostensoort_key = prs_kostencombinatie.prs_kostensoort_key"]
|
||||
}
|
||||
});
|
||||
|
||||
this.REST_POST = generic_REST_POST(this);
|
||||
this.REST_PUT = generic_REST_PUT(this);
|
||||
this.REST_DELETE = generic_REST_DELETE(this);
|
||||
}
|
||||
%>
|
||||
99
APPL/API2/model_prs_kostensoort.inc
Normal file
99
APPL/API2/model_prs_kostensoort.inc
Normal file
@@ -0,0 +1,99 @@
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: model_prs_kostensoort.inc
|
||||
|
||||
Description: Vanuit CodeCharge gegenereerd model voor prs_kostensoort
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<%
|
||||
|
||||
function model_prs_kostensoort()
|
||||
{
|
||||
this.table = "prs_kostensoort";
|
||||
this.primary = "prs_kostensoort_key";
|
||||
this.records_name = "prs_kostensoorts";
|
||||
this.record_name = "prs_kostensoort";
|
||||
this.autfunction = "WEB_FINMSU";
|
||||
this.record_title = L("prs_kostensoort");
|
||||
this.records_title = L("prs_kostensoort_m");
|
||||
|
||||
|
||||
this.fields = {
|
||||
"id": {
|
||||
"dbs": "prs_kostensoort_key",
|
||||
"label": "Key",
|
||||
"typ": "key",
|
||||
"required": true,
|
||||
"filter": "exact",
|
||||
"seq": "prs_s_prs_kostensoort_key"
|
||||
},
|
||||
"name": {
|
||||
"dbs": "prs_kostensoort_oms",
|
||||
"label": L("prs_kostensoort_oms"),
|
||||
"typ": "varchar",
|
||||
"filter": "like"
|
||||
},
|
||||
"altcode": {
|
||||
"dbs": "prs_kostensoort_altcode",
|
||||
"label": L("prs_kostensoort_altcode"),
|
||||
"typ": "varchar"
|
||||
},
|
||||
"description": {
|
||||
"dbs": "prs_kostensoort_opmerking",
|
||||
"label": L("prs_kostensoort_opmerking"),
|
||||
"typ": "varchar",
|
||||
"translate": true,
|
||||
"filter": "like"
|
||||
},
|
||||
"refcode": {
|
||||
"dbs": "prs_kostensoort_refcode",
|
||||
"label": L("prs_kostensoort_refcode"),
|
||||
"typ": "varchar",
|
||||
"translate": true
|
||||
},
|
||||
"group": {
|
||||
"dbs": "prs_kostensoortgrp_key",
|
||||
"label": L("prs_kostensoortgrp_key"),
|
||||
"typ": "key",
|
||||
"foreign": {
|
||||
"tbl": "PRS_KOSTENSOORTGRP",
|
||||
"key": "PRS_KOSTENSOORTGRP_KEY",
|
||||
"desc": "PRS_KOSTENSOORTGRP_OMS"
|
||||
},
|
||||
"LOVinit": ""
|
||||
},
|
||||
"charge": {
|
||||
"dbs": "prs_kostensoort_doorbelasten",
|
||||
"label": L("prs_kostensoort_doorbelasten"),
|
||||
"typ": "check"
|
||||
},
|
||||
"vat": {
|
||||
"dbs": "prs_kostensoort_btw",
|
||||
"label": L("prs_kostensoort_btw"),
|
||||
"typ": "check"
|
||||
},
|
||||
"costcentre": {
|
||||
"dbs": "prs_kostenplaats_key",
|
||||
"label": L("prs_kostenplaats_key"),
|
||||
"typ": "key",
|
||||
"foreign": {
|
||||
"tbl": "PRS_KOSTENPLAATS",
|
||||
"key": "PRS_KOSTENPLAATS_KEY",
|
||||
"desc": "PRS_KOSTENPLAATS_NR"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
this.REST_GET = generic_REST_GET(this);
|
||||
this.REST_POST = generic_REST_POST(this);
|
||||
this.REST_PUT = generic_REST_PUT(this);
|
||||
this.REST_DELETE = generic_REST_DELETE(this);
|
||||
}
|
||||
%>
|
||||
58
APPL/API2/model_prs_kostensoortgrp.inc
Normal file
58
APPL/API2/model_prs_kostensoortgrp.inc
Normal file
@@ -0,0 +1,58 @@
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: model_prs_kostensoortgrp.inc
|
||||
|
||||
Description: Vanuit CodeCharge gegenereerd model voor prs_kostensoortgrp
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<%
|
||||
|
||||
function model_prs_kostensoortgrp()
|
||||
{
|
||||
this.table = "prs_kostensoortgrp";
|
||||
this.primary = "prs_kostensoortgrp_key";
|
||||
this.records_name = "prs_kostensoortgrps";
|
||||
this.record_name = "prs_kostensoortgrp";
|
||||
this.autfunction = "WEB_FINMSU";
|
||||
this.record_title = L("prs_kostensoortgrp");
|
||||
this.records_title = L("prs_kostensoortgrp_m");
|
||||
|
||||
|
||||
this.fields = {
|
||||
"id": {
|
||||
"dbs": "prs_kostensoortgrp_key",
|
||||
"label": "Key",
|
||||
"typ": "key",
|
||||
"required": true,
|
||||
"filter": "exact",
|
||||
"seq": "prs_s_prs_kostensoortgrp_key"
|
||||
},
|
||||
"name": {
|
||||
"dbs": "prs_kostensoortgrp_oms",
|
||||
"label": L("prs_kostensoortgrp_oms"),
|
||||
"typ": "varchar",
|
||||
"translate": true,
|
||||
"required": true,
|
||||
"filter": "like"
|
||||
},
|
||||
"altcode": {
|
||||
"dbs": "prs_kostensoortgrp_altcode",
|
||||
"label": L("prs_kostensoortgrp_altcode"),
|
||||
"typ": "varchar",
|
||||
"filter": "like"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
this.REST_GET = generic_REST_GET(this);
|
||||
this.REST_POST = generic_REST_POST(this);
|
||||
this.REST_PUT = generic_REST_PUT(this);
|
||||
this.REST_DELETE = generic_REST_DELETE(this);
|
||||
}
|
||||
%>
|
||||
36
APPL/MGT/fac_profiel.asp
Normal file
36
APPL/MGT/fac_profiel.asp
Normal file
@@ -0,0 +1,36 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: fac_profiel.asp
|
||||
|
||||
Description: fac_management aanroep van model_fac_profiel
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<!-- #include file="../scf/scaffolding.inc" -->
|
||||
<!-- #include file="../api2/model_fac_profiel.inc" -->
|
||||
<%
|
||||
var this_model = new model_fac_profiel();
|
||||
|
||||
scaffolding(this_model,
|
||||
{
|
||||
"search": {
|
||||
"autosearch": true,
|
||||
"filters": [
|
||||
"name"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"columns": [
|
||||
"id",
|
||||
"name",
|
||||
"profile_limit"
|
||||
]
|
||||
}
|
||||
});
|
||||
%>
|
||||
38
APPL/MGT/fac_profielwaarde.asp
Normal file
38
APPL/MGT/fac_profielwaarde.asp
Normal file
@@ -0,0 +1,38 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: fac_profielwaarde.asp
|
||||
|
||||
Description: fac_management aanroep van model_fac_profielwaarde
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<!-- #include file="../scf/scaffolding.inc" -->
|
||||
<!-- #include file="../api2/model_fac_profielwaarde.inc" -->
|
||||
<%
|
||||
var this_model = new model_fac_profielwaarde();
|
||||
|
||||
scaffolding(this_model,
|
||||
{
|
||||
"search": {
|
||||
"autosearch": true,
|
||||
"filters": [
|
||||
"profile_key"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"columns": [
|
||||
"id",
|
||||
"profile_key",
|
||||
"prefix",
|
||||
"catalog_key",
|
||||
"value_limit"
|
||||
]
|
||||
}
|
||||
});
|
||||
%>
|
||||
36
APPL/MGT/fin_btwtabel.asp
Normal file
36
APPL/MGT/fin_btwtabel.asp
Normal file
@@ -0,0 +1,36 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: fin_btwtabel.asp
|
||||
|
||||
Description: fac_management aanroep van model_fin_btwtabel
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<!-- #include file="../scf/scaffolding.inc" -->
|
||||
<!-- #include file="../api2/model_fin_btwtabel.inc" -->
|
||||
<%
|
||||
var this_model = new model_fin_btwtabel();
|
||||
|
||||
scaffolding(this_model,
|
||||
{
|
||||
"search": {
|
||||
"autosearch": true,
|
||||
"filters": [
|
||||
"name"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"columns": [
|
||||
"id",
|
||||
"name",
|
||||
"default"
|
||||
]
|
||||
}
|
||||
});
|
||||
%>
|
||||
57
APPL/MGT/fin_kenmerk.asp
Normal file
57
APPL/MGT/fin_kenmerk.asp
Normal file
@@ -0,0 +1,57 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: fin_kenmerk.asp
|
||||
|
||||
Description: fac_management aanroep van model_fin_kenmerk
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<!-- #include file="../scf/scaffolding.inc" -->
|
||||
<!-- #include file="../mgt/mgt_tools.inc" -->
|
||||
<!-- #include file="../api2/model_fin_kenmerk.inc" -->
|
||||
<%
|
||||
var this_model = new model_fin_kenmerk();
|
||||
|
||||
this_model.hook_pre_edit = function (obj, fld)
|
||||
{
|
||||
var kenmerktype = (obj.property_type ? obj.property_type.id : "");
|
||||
fld.property_type.LOV = buildKenmerktypeLOV(kenmerktype);
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
var module = "FIN";
|
||||
var property_type = "<%=kenmerktype%>";
|
||||
</script>
|
||||
<%
|
||||
}
|
||||
|
||||
scaffolding(this_model,
|
||||
{
|
||||
"search": {
|
||||
"autosearch": true,
|
||||
"filters": [
|
||||
"property_type"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"columns": [
|
||||
"id",
|
||||
"name",
|
||||
"sequence",
|
||||
"property_type"
|
||||
]
|
||||
},
|
||||
"edit": {
|
||||
"requires": {
|
||||
"js": [
|
||||
"./mgt_srtkenmerk.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
||||
%>
|
||||
37
APPL/MGT/prs_kostencombinatie.asp
Normal file
37
APPL/MGT/prs_kostencombinatie.asp
Normal file
@@ -0,0 +1,37 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: prs_kostencombinatie.asp
|
||||
|
||||
Description: fac_management aanroep van model_prs_kostencombinatie
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<!-- #include file="../scf/scaffolding.inc" -->
|
||||
<!-- #include file="../api2/model_prs_kostencombinatie.inc" -->
|
||||
<%
|
||||
var this_model = new model_prs_kostencombinatie();
|
||||
|
||||
scaffolding(this_model,
|
||||
{
|
||||
"search": {
|
||||
"autosearch": true,
|
||||
"filters": [
|
||||
"_name",
|
||||
"group"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"columns": [
|
||||
"id",
|
||||
"category",
|
||||
"group"
|
||||
]
|
||||
}
|
||||
});
|
||||
%>
|
||||
38
APPL/MGT/prs_kostensoort.asp
Normal file
38
APPL/MGT/prs_kostensoort.asp
Normal file
@@ -0,0 +1,38 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: prs_kostensoort.asp
|
||||
|
||||
Description: fac_management aanroep van model_prs_kostensoort
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<!-- #include file="../scf/scaffolding.inc" -->
|
||||
<!-- #include file="../api2/model_prs_kostensoort.inc" -->
|
||||
<%
|
||||
var this_model = new model_prs_kostensoort();
|
||||
|
||||
scaffolding(this_model,
|
||||
{
|
||||
"search": {
|
||||
"autosearch": true,
|
||||
"filters": [
|
||||
"description"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"columns": [
|
||||
"id",
|
||||
"name",
|
||||
"description",
|
||||
"refcode",
|
||||
"group"
|
||||
]
|
||||
}
|
||||
});
|
||||
%>
|
||||
36
APPL/MGT/prs_kostensoortgrp.asp
Normal file
36
APPL/MGT/prs_kostensoortgrp.asp
Normal file
@@ -0,0 +1,36 @@
|
||||
<%@language = "javascript" %>
|
||||
<% /*
|
||||
$Revision$
|
||||
$Id$
|
||||
|
||||
File: prs_kostensoortgrp.asp
|
||||
|
||||
Description: fac_management aanroep van model_prs_kostensoortgrp
|
||||
|
||||
Context:
|
||||
|
||||
Notes:
|
||||
*/
|
||||
%>
|
||||
<!-- #include file="../scf/scaffolding.inc" -->
|
||||
<!-- #include file="../api2/model_prs_kostensoortgrp.inc" -->
|
||||
<%
|
||||
var this_model = new model_prs_kostensoortgrp();
|
||||
|
||||
scaffolding(this_model,
|
||||
{
|
||||
"search": {
|
||||
"autosearch": true,
|
||||
"filters": [
|
||||
"name"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"columns": [
|
||||
"id",
|
||||
"name",
|
||||
"altcode"
|
||||
]
|
||||
}
|
||||
});
|
||||
%>
|
||||
Reference in New Issue
Block a user