Interface IGLRollupHeader
The system entity for a gl rollup header, which belongs to a IGLRollup definition
See https://web.lemonedge.com/help/gl-rollup-header-view/ for more information
Inherited Members
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.GLRollupHeader, "dbo.LT_GLRollupHeaders", "GLRollupHeader", IsStandingDataEntity = false, LabelColumn = "Name")]
[DefaultEntityIcon(ImageType.Sigma)]
[MultipleUnique(new string[]{"GLRollupID", "Name"}, AllowNullOrEmpty = false)]
public interface IGLRollupHeader : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
GLRollupID
[Key] Links to IGLRollup. The parent gl rollup this header belongs to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.GLRollup, "ID", SingleJoinType.One, "IGLRollupHeader", "Headers", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
Guid GLRollupID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Index
Indicates the order this header appears in the rollup or its parent header
Declaration
[EntityProperty(SQLType.SmallInt, false)]
[EntityDescription("Indicates the order this header appears in the rollup.")]
[EntitySequence]
short Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int16 |
Name
[Key] The unique name for this GL Rollup Header.
This is the name that will appear on your report containing all the specified balances.
Declaration
[EntityProperty(SQLType.NVarChar, (short)500, false)]
[EntityDescription("The name of this gl rollup header.")]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ParentHeaderID
Links to IGLRollupHeader. The parent header this header is a child of unless it is a root header directly a child of the gl rollup
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntitySelfRelationship("ID", SingleJoinType.ZeroToOne, "IGLRollupHeader", "Headers", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false, PreventAutoConstraint = true)]
Guid? ParentHeaderID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |