Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#region Filter
[Serializable]
public class YearFilter : IBqlTable
{
#region Year
public abstract class year : PX.Data.IBqlField { }
[PXDBInt()]
[PXDefault(2014)]
[PXUIField(DisplayName = "Year")]
[PXIntList(new Int32[] { 2013, 2014, 2015}, new String[] { "2013", "2014", "2015"})]
public virtual int? Year { get; set; }
#endregion
}
#endregion
#region Real Table DAC
[System.SerializableAttribute()]
public class YearGroup : PX.Data.IBqlTable
{
#region Year
public abstract class year : PX.Data.IBqlField { }
[PXDBInt(IsKey = true)]
[PXUIField(DisplayName = "Year")]
public virtual int? Year { get; set; }
#endregion
#region Group
public abstract class group : PX.Data.IBqlField { }
[PXDBString(10, IsUnicode = true, IsFixed = false, IsKey = true)]
[PXUIField(DisplayName = "Group")]
public virtual string Group { get; set; }
#endregion
#region Value
public abstract class value : PX.Data.IBqlField { }
[PXDBInt()]
[PXUIField(DisplayName = "Value")]
public virtual int? Value { get; set; }
#endregion
}
#endregion
#region Virtual Table DAC
public class VirtualComparasion : PX.Data.IBqlTable
{
#region Group
public abstract class group : PX.Data.IBqlField { }
[PXDBString(10, IsUnicode = true, IsFixed = false, IsKey = true)]
[PXUIField(DisplayName = "Group")]
public virtual string Group { get; set; }
#endregion
#region CurrentYear
public abstract class currentYear : PX.Data.IBqlField { }
[PXDBInt()]
[PXUIField(DisplayName = "Current Year")]
public virtual int? CurrentYear { get; set; }
#endregion
#region ComparasionYear
public abstract class comparasionYear : PX.Data.IBqlField { }
[PXDBInt()]
[PXUIField(DisplayName = "Comparasion Year")]
public virtual int? ComparasionYear { get; set; }
#endregion
}
#endregion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.