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);
|
||||
}
|
||||
%>
|
||||
Reference in New Issue
Block a user