82 lines
2.3 KiB
C++
82 lines
2.3 KiB
C++
<% /*
|
|
$Revision$
|
|
$Id$
|
|
|
|
File: model_bes_disc_params.inc
|
|
|
|
Description: Vanuit CodeCharge gegenereerd model voor cnt_discipline
|
|
|
|
Context:
|
|
|
|
Notes: *uitsluitend* gebruikt als include van model_cnt_discipline
|
|
*/
|
|
%>
|
|
<%
|
|
model_cnt_disc_params =
|
|
{
|
|
"table": "cnt_disc_params",
|
|
"primary": "cnt_disc_params_key",
|
|
"records_name": "cnt_disc_params",
|
|
"record_name": "cnt_disc_params",
|
|
"autfunction": "WEB_CNTMGT",
|
|
|
|
|
|
"fields": {
|
|
"id": {
|
|
"dbs": "cnt_disc_params_key",
|
|
"label": "Key",
|
|
"typ": "key",
|
|
"seq": "cnt_s_cnt_disc_params_key"
|
|
},
|
|
"cnt_ins_discipline_key": {
|
|
"dbs": "cnt_ins_discipline_key",
|
|
"label": "Foreign key",
|
|
"typ": "key",
|
|
"hidden_fld": true
|
|
},
|
|
"invoice_type": {
|
|
"dbs": "cnt_srtcontract_type",
|
|
"label": L("cnt_discipline_cnt_disckey"),
|
|
"typ": "key",
|
|
"insertonly": true,
|
|
"foreign": {
|
|
"tbl": "cnt_typecontract",
|
|
"key": "cnt_typecontract_key",
|
|
"desc": "cnt_typecontract_omschrijving"
|
|
}
|
|
},
|
|
"percentage": {
|
|
"dbs": "cnt_disc_params_factuurpct",
|
|
"label": L("cnt_discipline_factuurpct"),
|
|
"typ": "number"
|
|
},
|
|
"margin": {
|
|
"dbs": "cnt_disc_params_factuurmarge",
|
|
"label": L("cnt_discipline_factuurmarge"),
|
|
"typ": "float"
|
|
},
|
|
"approve": {
|
|
"dbs": "cnt_disc_params_factuurappr",
|
|
"label": L("cnt_discipline_factuurappr"),
|
|
"typ": "check0"
|
|
},
|
|
"limit": {
|
|
"dbs": "cnt_disc_params_factuurgrens",
|
|
"label": L("cnt_discipline_factuurgrens"),
|
|
"typ": "number"
|
|
},
|
|
//"period": {
|
|
// "dbs": "cnt_disc_params_termijndefault",
|
|
// "label": L("cnt_discipline_termijn"),
|
|
// "typ": "number"
|
|
//},
|
|
"remark": {
|
|
"dbs": "cnt_disc_params_opmerking",
|
|
"label": L("cnt_discipline_opmerking"),
|
|
"typ": "memo"
|
|
}
|
|
}
|
|
}
|
|
|
|
api2.generic_REST(model_cnt_disc_params);
|
|
%> |