Initial public release
This commit is contained in:
@@ -0,0 +1,141 @@
|
||||
using PX.Data;
|
||||
using PX.Data.BQL;
|
||||
using PX.Data.Maintenance.GI;
|
||||
using PX.Data.ReferentialIntegrity.Attributes;
|
||||
using PX.SM;
|
||||
using System;
|
||||
|
||||
namespace GISidePanels
|
||||
{
|
||||
[Serializable]
|
||||
[PXCacheName(GISidePanelMessages.GISidePanelTarget)]
|
||||
public class GISidePanelTarget : PXBqlTable, IBqlTable
|
||||
{
|
||||
public class PK : PrimaryKeyOf<GISidePanelTarget>.By<designID, targetScreenID>
|
||||
{
|
||||
public static GISidePanelTarget Find(PXGraph graph, Guid? designID, string targetScreenID, PKFindOptions options = PKFindOptions.None)
|
||||
{
|
||||
return FindBy(graph, designID, targetScreenID, options);
|
||||
}
|
||||
}
|
||||
|
||||
public static class FK
|
||||
{
|
||||
public class GenericInquiry : GIDesign.PK.ForeignKeyOf<GISidePanelTarget>.By<designID> { }
|
||||
}
|
||||
|
||||
#region DesignID
|
||||
[PXDBGuid(false, IsKey = true)]
|
||||
[PXDBDefault(typeof(GIDesign.designID))]
|
||||
[PXParent(typeof(FK.GenericInquiry))]
|
||||
public virtual Guid? DesignID { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class designID : BqlGuid.Field<designID> { }
|
||||
#endregion
|
||||
|
||||
#region TargetScreenID
|
||||
[PXDBString(8, IsFixed = true, IsKey = true, InputMask = "CC.CC.CC.CC")]
|
||||
[PXDefault]
|
||||
[PXUIField(DisplayName = "Target Screen", Visibility = PXUIVisibility.SelectorVisible)]
|
||||
[PXSiteMapNodeSelector]
|
||||
public virtual string TargetScreenID { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class targetScreenID : BqlString.Field<targetScreenID> { }
|
||||
#endregion
|
||||
|
||||
#region IsActive
|
||||
[PXDBBool]
|
||||
[PXDefault(true)]
|
||||
[PXUIField(DisplayName = "Active")]
|
||||
public virtual bool? IsActive { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class isActive : BqlBool.Field<isActive> { }
|
||||
#endregion
|
||||
|
||||
#region Title
|
||||
[PXDBString(255, IsUnicode = true)]
|
||||
[PXDefault(PersistingCheck = PXPersistingCheck.Nothing)]
|
||||
[PXUIField(DisplayName = "Side Panel Title")]
|
||||
public virtual string Title { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class title : BqlString.Field<title> { }
|
||||
#endregion
|
||||
|
||||
#region Icon
|
||||
[PXDBString(255, IsUnicode = true)]
|
||||
[PXDefault("apps", PersistingCheck = PXPersistingCheck.Nothing)]
|
||||
[PXUIField(DisplayName = "Icon")]
|
||||
[PXScalableIconsList]
|
||||
public virtual string Icon { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class icon : BqlString.Field<icon> { }
|
||||
#endregion
|
||||
|
||||
#region SortOrder
|
||||
[PXDBInt]
|
||||
[PXDefault(0)]
|
||||
[PXUIField(DisplayName = "Order")]
|
||||
public virtual int? SortOrder { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class sortOrder : BqlInt.Field<sortOrder> { }
|
||||
#endregion
|
||||
|
||||
#region ParameterLineCntr
|
||||
[PXDBInt]
|
||||
[PXDefault(0)]
|
||||
[PXUIField(Visible = false, Enabled = false)]
|
||||
public virtual int? ParameterLineCntr { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class parameterLineCntr : BqlInt.Field<parameterLineCntr> { }
|
||||
#endregion
|
||||
|
||||
#region CreatedByID
|
||||
[PXDBCreatedByID]
|
||||
public virtual Guid? CreatedByID { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class createdByID : BqlGuid.Field<createdByID> { }
|
||||
#endregion
|
||||
|
||||
#region CreatedByScreenID
|
||||
[PXDBCreatedByScreenID]
|
||||
public virtual string CreatedByScreenID { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class createdByScreenID : BqlString.Field<createdByScreenID> { }
|
||||
#endregion
|
||||
|
||||
#region CreatedDateTime
|
||||
[PXDBCreatedDateTime]
|
||||
public virtual DateTime? CreatedDateTime { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class createdDateTime : BqlDateTime.Field<createdDateTime> { }
|
||||
#endregion
|
||||
|
||||
#region LastModifiedByID
|
||||
[PXDBLastModifiedByID]
|
||||
public virtual Guid? LastModifiedByID { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class lastModifiedByID : BqlGuid.Field<lastModifiedByID> { }
|
||||
#endregion
|
||||
|
||||
#region LastModifiedByScreenID
|
||||
[PXDBLastModifiedByScreenID]
|
||||
public virtual string LastModifiedByScreenID { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class lastModifiedByScreenID : BqlString.Field<lastModifiedByScreenID> { }
|
||||
#endregion
|
||||
|
||||
#region LastModifiedDateTime
|
||||
[PXDBLastModifiedDateTime]
|
||||
public virtual DateTime? LastModifiedDateTime { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class lastModifiedDateTime : BqlDateTime.Field<lastModifiedDateTime> { }
|
||||
#endregion
|
||||
|
||||
#region Tstamp
|
||||
[PXDBTimestamp]
|
||||
public virtual byte[] Tstamp { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Acumatica Standard")]
|
||||
public abstract class tstamp : BqlByteArray.Field<tstamp> { }
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user