if (window.isc == undefined || window.isc.DataSource == undefined){  alert("Can't load DataSources - SmartClient runtime not loaded");}isc.DataSource.create({
    restrictPublisher:"true",
    allowAdvancedCriteria:true,
    linkedDataMethods:"getPkid;getName;getDescription;getComments;getCreationDate;getModificationDate;getNotes;         getPublisher;getFlags;getGroupPermissionsUserString;IsBillingReportGroup|isBillingReportGroup",
    mappedBeanClass:"com.paceap.eden.jpa.main.UserGroup",
    ignorePagination:"false",
    ID:"usergroups_DS_HibernateORM",
    dropExtraFields:true,
    fields:[
        {
            name:"PKID",
            hidden:true,
            type:"integer",
            primaryKey:true
        },
        {
            name:"NAME",
            width:"350",
            title:"Name",
            type:"text"
        },
        {
            name:"DESCRIPTION",
            width:"350",
            title:"Description",
            type:"text"
        },
        {
            name:"ICONGRAPHIC",
            type:"text",
            defaultValue:"usergroup_40.png"
        },
        {
            name:"GROUPPERMISSIONSUSERSTRING",
            title:"Permissions",
            type:"text"
        },
        {
            showHintInField:"true",
            hint:"Please type your comments",
            name:"COMMENTS",
            width:"910",
            title:"Comments",
            type:"textArea",
            height:"300"
        },
        {
            name:"CREATIONDATE",
            title:"Created",
            type:"datetime",
            canEdit:false
        },
        {
            name:"MODIFICATIONDATE",
            title:"Modified",
            type:"datetime",
            canEdit:false
        },
        {
            name:"publisher",
            hidden:true,
            type:"integer"
        },
        {
            name:"FLAGS",
            hidden:true,
            type:"integer"
        },
        {
            name:"IsBillingReportGroup",
            hidden:true,
            type:"boolean"
        }
    ]
})
