Files
Facilitor/APPL/API2/model_mld_disc_params.inc
2016-04-05 10:14:32 +00:00

201 lines
6.3 KiB
C++

<% /*
$Revision$
$Id$
File: model_mld_disc_params.inc
Description:
Context:
Notes: *uitsluitend* gebruikt als include van model_mld_discipline
*/
%>
<%
model_mld_disc_params =
{
"table": "mld_disc_params",
"primary": "mld_disc_params_key",
"records_name": "mld_disc_params",
"record_name": "mld_disc_params",
"autfunction": "WEB_PRSSYS",
"fields": {
"id": {
"dbs": "mld_disc_params_key",
"label": "Key",
"typ": "key",
"seq": "res_s_mld_disc_params_key"
},
"mld_ins_discipline_key": {
"dbs": "mld_ins_discipline_key",
"label": "Foreign key",
"typ": "key",
"hidden_fld": true
},
"treatmentgroup": {
"dbs": "mld_behandelgroep_key",
"label": L("mld_behandelgroep"),
"typ": "key",
"foreign": {
"tbl": "mld_behandelgroep",
"key": "mld_behandelgroep_key",
"desc": "mld_behandelgroep_naam"
},
"filter": "exact"
},
"orderlimiet1": {
"dbs": "mld_disc_params_bestellimiet",
"label": L("mld_discipline_bestellimiet1"),
"typ": "float"
},
"orderlimiet2": {
"dbs": "mld_disc_params_bestellimiet2",
"label": L("mld_discipline_bestellimiet2"),
"typ": "float"
},
"orderlimiet3": {
"dbs": "mld_disc_params_bestellimiet3",
"label": L("mld_discipline_bestellimiet3"),
"typ": "float"
},
"orderlimiet4": {
"dbs": "mld_disc_params_bestellimiet4",
"label": L("mld_discipline_bestellimiet4"),
"typ": "float"
},
"orderlimiet5": {
"dbs": "mld_disc_params_bestellimiet5",
"label": L("mld_discipline_bestellimiet5"),
"typ": "float"
},
"chargebudget": {
"dbs": "mld_disc_params_pgb",
"label": L("mld_discipline_pgb"),
"typ": "number",
"LOV": L("mld_discipline_pgbLOV"),
"emptyoption": null
},
"adjuststartdate": {
"dbs": "mld_disc_params_startdatum",
"label": L("mld_discipline_startdatum"),
"typ": "check"
},
"foprocess": {
"dbs": "mld_disc_params_directklaar",
"label": L("mld_discipline_fo_process"),
"typ": "number",
"LOV": L("mld_discipline_fo_processLOV"),
"emptyoption": null
},
"forward": {
"dbs": "mld_disc_params_keten",
"label": L("mld_discipline_forward"),
"typ": "check"
},
"mld_disc_params_frontendprio": {
"dbs": "mld_disc_params_frontendprio",
"label": "mld_discipline_setprio",
"typ": "check"
},
"owncost": {
"dbs": "mld_disc_params_eigen_kp",
"label": L("mld_discipline_eigenkp"),
"typ": "check"
},
"invoicemarginpct": {
"dbs": "mld_disc_params_factuurpct",
"label": L("mld_discipline_marginpct"),
"typ": "number",
"defaultvalue": 0
},
"invoicemargin": {
"dbs": "mld_disc_params_factuurmarge",
"label": L("mld_discipline_margin"),
"typ": "float",
"defaultvalue": 0
},
"invoicematchmode": {
"dbs": "mld_disc_params_factmatchmode",
"label": L("mld_discipline_match"),
"typ": "number",
"LOV": L("mld_discipline_matchLOV"),
"emptyoption": null
},
"invoiceapprove": {
"dbs": "mld_disc_params_factuurappr",
"label": L("mld_discipline_autofiat"),
"typ": "check"
},
"invoicebelow": {
"dbs": "mld_disc_params_factuurgrens",
"label": L("mld_discipline_belowfiat"),
"typ": "number"
},
"notifybo": {
"dbs": "mld_disc_params_bonotify",
"label": L("mld_discipline_bonotify"),
"typ": "number",
"LOV": L("mld_discipline_bonotifyLOV"),
"emptyoption": null
},
"notifybe": {
"dbs": "mld_disc_params_benotify",
"label": L("mld_discipline_benotify"),
"typ": "check0"
},
"notifycust": {
"dbs": "mld_disc_params_notify",
"label": L("mld_discipline_custnotify"),
"typ": "number",
"LOV": L("mld_discipline_custnotifyLOV"),
"emptyoption": null
},
"reminderdays": {
"dbs": "mld_disc_params_noti_dagen",
"label": L("mld_discipline_noti_dagen"),
"typ": "number"
},
"mandatoryfrom": {
"dbs": "mld_disc_params_opdr_kosten",
"label": L("mld_discipline_opdr_kosten"),
"typ": "number",
"LOV": L("mld_discipline_opdr_kostenLOV"),
"emptyoption": null
},
"activity": {
"dbs": "fac_activiteit_key",
"label": L("mld_discipline_activiteit"),
"typ": "key",
"foreign": {
"tbl": "fac_activiteit",
"key": "fac_activiteit_key",
"desc": "fac_activiteit_omschrijving"
}
},
"autooffer": {
"dbs": "mld_disc_params_offerteauto",
"label": L("mld_discipline_autoofferte"),
"typ": "check",
"defaultvalue": 1
},
"fenotes": {
"dbs": "mld_disc_params_fenotes",
"label": L("mld_discipline_interactfe"),
"typ": "number",
"LOV": L("mld_discipline_interactfeLOV"),
"defaultvalue": 0,
"emptyoption": null
},
"offhours": {
"dbs": "mld_disc_params_offhours",
"label": L("mld_discipline_offhours"),
"typ": "check"
}
}
}
api2.generic_REST(model_mld_disc_params);
%>