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:"getPublisher;         PKID|getPkid;         CHANNEL|getChannel;         PRODUCTGROUP|getProductGroup;         WRAPCONFIG|getWrapConfig;         FIRSTDATE|getFirstDate;         LASTDATE|getLastDate;         SESSIONS|getSessions;         SILOS|getSilos;         REVISION|getChannelRevision;",
    includeGlobals:"false",
    mappedBeanClass:"com.paceap.eden.jpa.main.ProductChannelIdentity",
    ID:"daProductChannels_DS",
    dropExtraFields:true,
    fields:[
        {
            name:"PKID",
            hidden:true,
            type:"integer",
            primaryKey:true
        },
        {
            name:"PRODUCTGROUP",
            title:"Product Group",
            type:"text",
            canEdit:false
        },
        {
            name:"WRAPCONFIG",
            title:"Wrap Config",
            type:"text",
            canEdit:false
        },
        {
            name:"CHANNEL",
            type:"text",
            canEdit:false
        },
        {
            name:"FIRSTDATE",
            title:"First Session",
            type:"datetime",
            canEdit:false
        },
        {
            name:"LASTDATE",
            title:"Last Session",
            type:"datetime",
            canEdit:false
        },
        {
            name:"SILOS",
            title:"Silos",
            type:"integer",
            canEdit:false
        },
        {
            name:"SESSIONS",
            title:"Sessions",
            type:"integer",
            canEdit:false
        },
        {
            name:"REVISION",
            title:"Revision",
            type:"integer",
            canEdit:false
        }
    ]
})
