Hi All,
I have created few SQL views and Tried to use those in a GI as well as in Report Designer.
But when I come to GI or Report Designer, it does not show those DACs as a table in the either in GI or Report Designer.(I have noticed that sometimes it shows some DACs when I recreate those DACs in my customization project editor)
following is one of the DB Scripts of that view and its’ DAC.
CREATE OR REPLACE VIEW MASite As
SELECT I.InventoryCD, I.InventoryID, Site.SiteID, Site.SiteCD, I.CompanyID
FROM InventoryItem I CROSS JOIN InSite Site;
using System;
using PX.Data;
namespace MATest
{
/Serializable]
/PXCacheName("masite")]
public class masite: IBqlTable
{
#region InventoryCD
PXDBString(30, IsUnicode = true, InputMask = "")]
PXUIField(DisplayName = "Inventory CD")]
public virtual string InventoryCD { get; set; }
public abstract class inventoryCD : PX.Data.BQL.BqlString.Field<inventoryCD> { }
#endregion
#region InventoryID
PXDBInt()]
PXUIField(DisplayName = "Inventory ID")]
public virtual int? InventoryID { get; set; }
public abstract class inventoryID : PX.Data.BQL.BqlInt.Field<inventoryID> { }
#endregion
#region Siteid
PXDBInt()]
PXUIField(DisplayName = "Siteid")]
public virtual int? Siteid { get; set; }
public abstract class siteid : PX.Data.BQL.BqlInt.Field<siteid> { }
#endregion
#region Sitecd
PXDBString(30, IsUnicode = true, InputMask = "")]
PXUIField(DisplayName = "Sitecd")]
public virtual string Sitecd { get; set; }
public abstract class sitecd : PX.Data.BQL.BqlString.Field<sitecd> { }
#endregion
}
}
Any help would be much appreciated!
Thanks