279 lines
9.2 KiB
C++
279 lines
9.2 KiB
C++
<% /*
|
|
$Revision$
|
|
$Id$
|
|
|
|
File: model_bes_disc_params.inc
|
|
|
|
Description: Vanuit CodeCharge gegenereerd model voor bes_discipline
|
|
|
|
Context:
|
|
|
|
Notes: *uitsluitend* gebruikt als include van model_bes_discipline
|
|
*/
|
|
%>
|
|
<%
|
|
model_bes_disc_params =
|
|
{
|
|
"table": "bes_disc_params",
|
|
"primary": "bes_disc_params_key",
|
|
"records_name": "bes_disc_params",
|
|
"record_name": "bes_disc_params",
|
|
"autfunction": "WEB_BESMSU",
|
|
|
|
|
|
"fields": {
|
|
"id": {
|
|
"dbs": "bes_disc_params_key",
|
|
"label": "Key",
|
|
"typ": "key",
|
|
"seq": "bes_s_bes_disc_params_key"
|
|
},
|
|
"bes_ins_discipline_key": {
|
|
"dbs": "bes_ins_discipline_key",
|
|
"label": "Foreign key",
|
|
"typ": "key",
|
|
"hidden_fld": true
|
|
},
|
|
"bestellimiet1": {
|
|
"dbs": "bes_disc_params_bestellimiet",
|
|
"label": L("bes_discipline_bestellimiet1"),
|
|
"iscurrency": true,
|
|
"typ": "float"
|
|
},
|
|
"bestellimiet2": {
|
|
"dbs": "bes_disc_params_bestellimiet2",
|
|
"label": L("bes_discipline_bestellimiet2"),
|
|
"iscurrency": true,
|
|
"typ": "float"
|
|
},
|
|
"bestellimiet3": {
|
|
"dbs": "bes_disc_params_bestellimiet3",
|
|
"label": L("bes_discipline_bestellimiet3"),
|
|
"iscurrency": true,
|
|
"typ": "float"
|
|
},
|
|
"bestellimiet4": {
|
|
"dbs": "bes_disc_params_bestellimiet4",
|
|
"label": L("bes_discipline_bestellimiet4"),
|
|
"iscurrency": true,
|
|
"typ": "float"
|
|
},
|
|
"bestellimiet5": {
|
|
"dbs": "bes_disc_params_bestellimiet5",
|
|
"label": L("bes_discipline_bestellimiet5"),
|
|
"iscurrency": true,
|
|
"typ": "float"
|
|
},
|
|
"min_bedrag": {
|
|
"dbs": "bes_disc_params_min_bedrag",
|
|
"label": L("bes_discipline_min_bedrag"),
|
|
"iscurrency": true,
|
|
"iscurrency": true,
|
|
"typ": "float"
|
|
},
|
|
"auto_order": {
|
|
"dbs": "bes_disc_params_auto_order",
|
|
"label": L("bes_discipline_auto_order"),
|
|
"typ": "check0"
|
|
},
|
|
"autoaccept_rfo": {
|
|
"dbs": "bes_disc_params_autoacceptrfo",
|
|
"label": L("bes_discipline_autoacceptrfo"),
|
|
"typ": "check0"
|
|
},
|
|
"herfiat": {
|
|
"dbs": "bes_disc_params_herfiat",
|
|
"label": L("bes_discipline_herfiat"),
|
|
"typ": "number",
|
|
"LOV": L("bes_discipline_herfiatLOV"),
|
|
"emptyoption": null
|
|
},
|
|
"herfiatpct": {
|
|
"dbs": "bes_disc_params_herfiatpct",
|
|
"label": L("bes_discipline_herfiatpct"),
|
|
"typ": "number"
|
|
},
|
|
"herfiatmarge": {
|
|
"dbs": "bes_disc_params_herfiatmarge",
|
|
"label": L("bes_discipline_herfiatmarge"),
|
|
"iscurrency": true,
|
|
"typ": "float"
|
|
},
|
|
"factuurpct": {
|
|
"dbs": "bes_disc_params_factuurpct",
|
|
"label": L("bes_discipline_factuurpct"),
|
|
"typ": "number"
|
|
},
|
|
"factuurmarge": {
|
|
"dbs": "bes_disc_params_factuurmarge",
|
|
"label": L("bes_discipline_factuurmarge"),
|
|
"iscurrency": true,
|
|
"typ": "float"
|
|
},
|
|
"factmatchmode": {
|
|
"dbs": "bes_disc_params_factmatchmode",
|
|
"label": L("bes_discipline_factmatchmode"),
|
|
"typ": "number",
|
|
"LOV": L("bes_discipline_factmatchmodeLOV"),
|
|
"emptyoption": null
|
|
},
|
|
"factuurappr": {
|
|
"dbs": "bes_disc_params_factuurappr",
|
|
"label": L("bes_discipline_factuurappr"),
|
|
"typ": "check0"
|
|
},
|
|
"factuurgrens": {
|
|
"dbs": "bes_disc_params_factuurgrens",
|
|
"label": L("bes_discipline_factuurgrens"),
|
|
"typ": "number"
|
|
},
|
|
"pgb": {
|
|
"dbs": "bes_disc_params_pgb",
|
|
"label": L("bes_discipline_pgb"),
|
|
"typ": "number",
|
|
"LOV": L("bes_discipline_pgbLOV"),
|
|
"emptyoption": null
|
|
},
|
|
"leverdagen": {
|
|
"dbs": "bes_disc_params_leverdagen",
|
|
"label": L("bes_discipline_leverdagen"),
|
|
"typ": "number"
|
|
},
|
|
"remoteconfirm": {
|
|
"dbs": "bes_disc_params_remoteconfirm",
|
|
"label": L("bes_discipline_remoteconfirm"),
|
|
"typ": "check0"
|
|
},
|
|
"freeartikel": {
|
|
"dbs": "bes_disc_params_freeartikel",
|
|
"label": L("bes_discipline_freeartikel"),
|
|
"typ": "number",
|
|
"LOV": L("bes_discipline_freeartikelLOV"),
|
|
"emptyoption": null
|
|
},
|
|
"punchout_url": {
|
|
"dbs": "bes_disc_params_punchouturl",
|
|
"label": L("bes_discipline_punchouturl"),
|
|
"typ": "varchar"
|
|
},
|
|
"punch_bedr_key": {
|
|
"dbs": "bes_disc_params_punch_bedr_key",
|
|
"label": L("bes_discipline_punch_bedr_key"),
|
|
"typ": "key",
|
|
"foreign": {
|
|
"tbl": "prs_v_aanwezigbedrijf",
|
|
"key": "prs_bedrijf_key",
|
|
"desc": "prs_bedrijf_naam"
|
|
}
|
|
},
|
|
"logo_url": {
|
|
"dbs": "bes_disc_params_logo_url",
|
|
"label": L("bes_discipline_logo_url"),
|
|
"typ": "varchar"
|
|
},
|
|
"noti_dagen": {
|
|
"dbs": "bes_disc_params_noti_dagen",
|
|
"label": L("bes_discipline_noti_dagen"),
|
|
"typ": "number"
|
|
},
|
|
"noti_opdr": {
|
|
"dbs": "bes_disc_params_noti_opdr",
|
|
"label": L("bes_discipline_noti_opdr"),
|
|
"typ": "check0"
|
|
},
|
|
"bonotify": {
|
|
"dbs": "bes_disc_params_bonotify",
|
|
"label": L("bes_discipline_bonotify"),
|
|
"typ": "check0"
|
|
},
|
|
"retour": {
|
|
"dbs": "bes_disc_params_retour",
|
|
"label": L("bes_discipline_retour"),
|
|
"typ": "check0"
|
|
},
|
|
"retour_url": {
|
|
"dbs": "bes_disc_params_retour_url",
|
|
"label": L("bes_discipline_retour_url"),
|
|
"typ": "varchar"
|
|
},
|
|
"levopm_url": {
|
|
"dbs": "bes_disc_params_levopm_url",
|
|
"label": L("bes_discipline_levopm_url"),
|
|
"typ": "varchar"
|
|
},
|
|
"inkoop_key": {
|
|
"dbs": "bes_ins_discipline_key_inkoop",
|
|
"label": L("bes_discipline_key_inkoop"),
|
|
"typ": "key",
|
|
"foreign": {
|
|
"tbl": "bes_v_aanwezigdiscipline",
|
|
"key": "ins_discipline_key",
|
|
"desc": "ins_discipline_omschrijving"
|
|
}
|
|
},
|
|
"singlegroep": {
|
|
"dbs": "bes_disc_params_singlegroep",
|
|
"label": L("bes_discipline_singlegroep"),
|
|
"typ": "check0"
|
|
},
|
|
"kpautorisatie": {
|
|
"dbs": "bes_disc_params_kpautorisatie",
|
|
"label": L("bes_discipline_kpautorisatie"),
|
|
"typ": "check0"
|
|
},
|
|
"maxartikel": {
|
|
"dbs": "bes_disc_params_maxartikel",
|
|
"label": L("bes_discipline_maxartikel"),
|
|
"typ": "number"
|
|
},
|
|
"contract": {
|
|
"dbs": "bes_disc_params_contract",
|
|
"label": L("bes_discipline_contract"),
|
|
"typ": "check0"
|
|
},
|
|
"cnt_disckey": {
|
|
"dbs": "bes_disc_params_cnt_disckey",
|
|
"label": L("bes_discipline_cnt_disckey"),
|
|
"typ": "key",
|
|
"foreign": {
|
|
"tbl": "cnt_v_aanwezigdiscipline",
|
|
"key": "ins_discipline_key",
|
|
"desc": "ins_discipline_omschrijving"
|
|
}
|
|
},
|
|
"cnt_termijn": {
|
|
"dbs": "bes_disc_params_cnt_termijn",
|
|
"label": L("bes_discipline_cnt_termijn"),
|
|
"typ": "key",
|
|
"foreign": {
|
|
"tbl": "(SELECT cnt_termijn_key"
|
|
+ " , cnt_termijn_omschrijving"
|
|
+ " FROM cnt_termijn"
|
|
+ " ORDER BY cnt_termijn_volgnummer)",
|
|
"key": "cnt_termijn_key",
|
|
"desc": "cnt_termijn_omschrijving"
|
|
}
|
|
},
|
|
"cnt_opzegterm": {
|
|
"dbs": "bes_disc_params_cnt_opzegterm",
|
|
"label": L("bes_discipline_cnt_opzegterm"),
|
|
"typ": "key",
|
|
"foreign": {
|
|
"tbl": "(SELECT cnt_termijn_key"
|
|
+ " , cnt_termijn_omschrijving"
|
|
+ " FROM cnt_termijn"
|
|
+ " ORDER BY cnt_termijn_volgnummer)",
|
|
"key": "cnt_termijn_key",
|
|
"desc": "cnt_termijn_omschrijving"
|
|
}
|
|
},
|
|
"for_others": {
|
|
"dbs": "bes_disc_params_for_others",
|
|
"label": L("bes_discipline_for_others"),
|
|
"typ": "check0"
|
|
}
|
|
}
|
|
}
|
|
|
|
api2.generic_REST(model_bes_disc_params);
|
|
%> |