116 lines
3.2 KiB
PHP
116 lines
3.2 KiB
PHP
<% /*
|
|
$Revision$
|
|
$Id$
|
|
|
|
File: model_fac_export_app.inc
|
|
|
|
Description: Vanuit CodeCharge gegenereerd model voor fac_export_app
|
|
|
|
Context:
|
|
|
|
Notes:
|
|
*/
|
|
%>
|
|
<%
|
|
|
|
function model_fac_export_app()
|
|
{
|
|
this.table = "fac_export_app";
|
|
this.primary = "fac_export_app_key";
|
|
this.records_name = "fac_export_apps";
|
|
this.record_name = "fac_export_app";
|
|
this.autfunction = "WEB_PRSSYS";
|
|
this.record_title = L("fac_export_app");
|
|
this.records_title = L("fac_export_app_m");
|
|
|
|
|
|
this.fields = {
|
|
"id": {
|
|
"dbs": "fac_export_app_key",
|
|
"label": "Key",
|
|
"typ": "key",
|
|
"required": true,
|
|
"filter": "exact",
|
|
"seq": "fac_s_fac_export_app_key"
|
|
},
|
|
"name": {
|
|
"dbs": "fac_export_app_code",
|
|
"label": L("fac_export_app_code"),
|
|
"typ": "varchar"
|
|
},
|
|
"description": {
|
|
"dbs": "fac_export_app_oms",
|
|
"label": L("fac_export_app_oms"),
|
|
"typ": "varchar"
|
|
},
|
|
"authorization": {
|
|
"dbs": "fac_functie_key",
|
|
"label": L("fac_functie_key"),
|
|
"typ": "key",
|
|
"foreign": fac_functie_foreign("EXT1")
|
|
},
|
|
"charset": {
|
|
"dbs": "fac_export_app_charset",
|
|
"label": L("fac_export_app_charset"),
|
|
"typ": "varchar"
|
|
},
|
|
"folder": {
|
|
"dbs": "fac_export_app_folder",
|
|
"label": L("fac_export_app_folder"),
|
|
"typ": "varchar"
|
|
},
|
|
"fileprefix": {
|
|
"dbs": "fac_export_app_file_prefix",
|
|
"label": L("fac_export_app_file_prefix"),
|
|
"typ": "varchar"
|
|
},
|
|
"postfix": {
|
|
"dbs": "fac_export_app_postfix",
|
|
"label": L("fac_export_app_postfix"),
|
|
"typ": "varchar"
|
|
},
|
|
"logpostfix": {
|
|
"dbs": "fac_export_app_log_postfix",
|
|
"label": L("fac_export_app_log_postfix"),
|
|
"typ": "varchar"
|
|
},
|
|
"flags": {
|
|
"dbs": "fac_export_app_flags",
|
|
"label": L("fac_export_app_flags"),
|
|
"typ": "number"
|
|
},
|
|
"xsl": {
|
|
"dbs": "fac_export_app_xsl",
|
|
"label": L("fac_export_app_xsl"),
|
|
"typ": "varchar"
|
|
},
|
|
"timestamp": {
|
|
"dbs": "fac_export_app_timestamp",
|
|
"label": L("fac_export_app_timestamp"),
|
|
"typ": "varchar"
|
|
},
|
|
"exported": {
|
|
"dbs": "fac_export_app_datum",
|
|
"label": L("fac_export_app_datum"),
|
|
"typ": "datetime"
|
|
},
|
|
"created": {
|
|
"dbs": "fac_export_app_aanmaak",
|
|
"label": L("fac_export_app_aanmaak"),
|
|
"typ": "datetime",
|
|
"readonly": true
|
|
},
|
|
"prefix": {
|
|
"dbs": "fac_export_app_prefix",
|
|
"label": L("fac_export_app_prefix"),
|
|
"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);
|
|
}
|
|
%> |