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;REPORTTYPE|getReportType-getUserString;getReference;getReportRequest;getDataRowCount;getDataFileSize;REPORTSTATUS|getStatus;         REPORTSTATUSUSERSTRING|getStatus-getUserString;getCreationDate;getModificationDate;DATAEXPIRES|getDataExpires;         LOGINNAME|getRequestedBy-getLogin;FULLNAME|getRequestedBy-getFullName;DOWNLOADCOUNT|getDownloadCount",
    mappedBeanClass:"com.paceap.eden.jpa.main.Report",
    ignorePagination:"false",
    operationBindings:[
        {
            operationId:"downloadReport",
            operationType:"fetch"
        },
        {
            operationId:"downloadPACEReportFieldDefinitions",
            operationType:"fetch"
        }
    ],
    mappedEnumClasses:"REPORTSTATUS|com.paceap.eden.jpa.enums.ReportStatus",
    ID:"reports_DS_HibernateORM",
    dropExtraFields:true,
    fields:[
        {
            name:"PKID",
            hidden:true,
            title:"ID",
            type:"integer",
            primaryKey:true
        },
        {
            name:"REPORTTYPE",
            title:"Type",
            type:"text"
        },
        {
            name:"REFERENCE",
            title:"Reference",
            type:"text"
        },
        {
            name:"REPORTREQUEST",
            title:"Report Request",
            type:"text"
        },
        {
            name:"DATAROWCOUNT",
            title:"Row Count",
            type:"text"
        },
        {
            name:"DATAFILESIZE",
            title:"Size",
            type:"text"
        },
        {
            name:"REPORTSTATUSUSERSTRING",
            title:"Status",
            type:"text"
        },
        {
            name:"REPORTSTATUS",
            title:"Status",
            type:"text"
        },
        {
            name:"CREATIONDATE",
            title:"Created",
            type:"datetime",
            canEdit:false
        },
        {
            name:"MODIFICATIONDATE",
            title:"Modified",
            type:"datetime",
            canEdit:false
        },
        {
            name:"DATAEXPIRES",
            title:"Download by",
            type:"datetime",
            canEdit:false
        },
        {
            name:"REQUESTEDBY",
            title:"Requested by",
            type:"text"
        },
        {
            name:"LOGINNAME",
            type:"text"
        },
        {
            name:"FULLNAME",
            type:"text"
        },
        {
            name:"DOWNLOADCOUNT",
            title:"Downloads",
            type:"text"
        },
        {
            name:"PUBLISHER",
            hidden:true,
            type:"integer"
        },
        {
            name:"PARAMETERS",
            title:"Parameters",
            type:"text"
        },
        {
            name:"FILEURL",
            type:"text"
        },
        {
            name:"ISBILLING",
            type:"boolean"
        }
    ]
})
