<%@language = "javascript" %>
<% /*
    $Revision$
    $Id$

    File:           bgt_kostenrubriek.asp

    Description:    aanroep van model_bgt_kostenrubriek

    Context:

    Notes:
*/
%>
<!-- #include file="../scf/scaffolding.inc" -->
<!-- #include file="../api2/model_bgt_kostenrubriek.inc" -->
<%
var discipline_key = getQParamInt("budgetdiscipline", -1);
var project_key = getQParamInt("budgetproject", -1);
var  this_model = new model_bgt_kostenrubriek();

scaffolding(this_model,
    {
        "search": {
            "autosearch": true,
            "filters": [
                "name"
            ],
            "transit": [
                "budgetdiscipline",
                "budgetproject"
            ]
        },
        "list": {
            "columns": [
                "name",
                "code"
            ]
        },
        "wrap": {
            "frames": [{ url: "../mgt/prs_kostensoortgrp.asp?mode=list&budgetcostcategory={0}",
                         title: L("prs_kostensoortgrp_m"),
                         autfunction: (S("bgt_enabled")==1 ? ["WEB_FINMSU", "WEB_BGTMGT"] : ["WEB_FINMSU"])
                      }]
        }
    });
%><% ASPPAGE_END(); %> 
