<% /*
    $Revision$
    $Id$

    File:           model_bgt_disc_params.inc

    Description:    Vanuit CodeCharge gegenereerd model voor bgt_discipline

    Context:

    Notes:          *uitsluitend* gebruikt als include van model_bgt_discipline
*/
%>
<%
model_bgt_disc_params =
{
    "records_name": "budgetdisciplineparams",
    "record_name": "budgetdisciplineparam",
    "table": "bgt_disc_params",
    "primary": "bgt_disc_params_key",
    "autfunction": "WEB_BGTMGT",


    "fields": {
        "id": {
            "dbs": "bgt_disc_params_key",
            "label": L("lcl_key"),
            "typ": "key",
            "seq": "bgt_s_bgt_disc_params_key"
        },
        "budgetdiscipline": {
            "dbs": "bgt_ins_discipline_key",
            "label": L("bgt_discipline"),
            "typ": "key",
            "hidden_fld": true
        },
        "code": {
            "dbs": "bgt_disc_params_code",
            "label": L("bgt_discipline_code"),
            "typ": "varchar"
        },
        "customer": {
            "dbs": "bgt_disc_params_opdrachtgever",
            "label": L("bgt_discipline_opdrachtgever"),
            "typ": "varchar"
        },
        "startdate": {
            "dbs": "bgt_disc_params_startdatum",
            "label": L("bgt_discipline_startdatum"),
            "typ": "date",
            "autosize": true
        }
    }
}

api2.generic_REST(model_bgt_disc_params);
%>