Interface IGLPostingAllocated
The system entity for a gl posting allocated, which holds the individual breakdown values of a parent IGLPosting for the ultimate owning entities. This is instead of a dynamic allocation.
See https://help.lemonedge.com/help/financial-services-engine/financial/transactions/gl-postings-allocated-view.html for more information
Inherited Members
Namespace: LemonEdge.API.Entities.FinancialServices.Accounting
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.GLPostingAllocated, "dbo.LT_GLPostingAllocations", "GLPostingAllocated", IsStandingDataEntity = false)]
[DefaultEntityIcon(ImageType.TransactionGL)]
[EntityIndex(Name = "RootTransaction", ColumnNames = new string[] { "RootTransactionID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IncludeColumns = new string[] { "Status" }, IsClustered = false, IsUnique = false)]
[EntityIndex(Name = "GLPosting", ColumnNames = new string[] { "GLPostingID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IncludeColumns = new string[] { "Status" }, IsClustered = false, IsUnique = false)]
[EntityIndex(Name = "Transfer", ColumnNames = new string[] { "TransferID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IncludeColumns = new string[] { "Status" }, IsClustered = false, IsUnique = false)]
[EntityIndex(Name = "TransferEntity", ColumnNames = new string[] { "EntityID", "GLPostingID", "Status", "EffectiveDate", "AccountID", "CanvasID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending, IndexOrder.Ascending, IndexOrder.Ascending, IndexOrder.Ascending, IndexOrder.Ascending, IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
[EntityLinkToAnyParentRelationshipModifier(EntityID.DataSourceIDs, "EntityID", "ID", ExcludeFromRelationship = true)]
[EntityLinkToAnyParentRelationshipModifier(EntityID.Transaction, "ParentItemID", "ID", ExcludeFromRelationship = true)]
public interface IGLPostingAllocated : ITransactionalEntity, ICanBeLocked, ICanBeTransferred, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
FuncAmount
The allocated amount to be posted in functional currency against the parent glposting GL Account
Declaration
[EntityProperty(SQLType.Decimal, 21, 3, false)]
[EntityDescription("The alocated value in functional currency.")]
[UpdateOnTransfer(TransferUpdateType.AutoTransfer)]
decimal FuncAmount { get; set; }
Property Value
Type | Description |
---|---|
decimal |
FuncNote
Note against the func amount
Declaration
[EntityProperty(SQLType.NVarChar, 500, true, true)]
[EntityDescription("Note against the func amount")]
string FuncNote { get; set; }
Property Value
Type | Description |
---|---|
string |
GLPostingID
[Key] Links to IGLPosting. The parent gl posting this allocated amount is a child of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.GLPosting, "ID", SingleJoinType.One, "GL Posting", "Allocations", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false)]
[RequiredNoDefaultIDValidation]
[EntityKeyProperty]
[EntityDescription("The gl posting this allocated amount belongs to.")]
Guid GLPostingID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
LocalAmount
The allocated amount to be posted in local currency against the parent glposting GL Account
Declaration
[EntityProperty(SQLType.Decimal, 21, 3, false)]
[EntityDescription("The allocated value in local currency.")]
[UpdateOnTransfer(TransferUpdateType.AutoTransfer)]
decimal LocalAmount { get; set; }
Property Value
Type | Description |
---|---|
decimal |
LocalNote
Note against the local amount
Declaration
[EntityProperty(SQLType.NVarChar, 500, true, true)]
[EntityDescription("Note against the local amount")]
string LocalNote { get; set; }
Property Value
Type | Description |
---|---|
string |
ManualAdded
Indicates if this GL Posting allocated line was added manually by the user versus automatically according to the Transaction Code
Declaration
[HardCodedDefaultValueOnImport("true")]
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates this allocation has been added manually by the user.")]
bool ManualAdded { get; set; }
Property Value
Type | Description |
---|---|
bool |
ManualChange
Indicates if this GL Posting allocated line was added manually by the user versus automatically according to the Transaction Code
Declaration
[HardCodedDefaultValueOnImport("true")]
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates if this value was entered by the user, or automatically calculated by the system.")]
bool ManualChange { get; set; }
Property Value
Type | Description |
---|---|
bool |
ReportingAmount
The allocated amount to be posted in reporting currency against the parent glposting GL Account
Declaration
[EntityProperty(SQLType.Decimal, 21, 3, false, "FuncAmount")]
[EntityDescription("The alocated value in reporting currency.")]
[UpdateOnTransfer(TransferUpdateType.AutoTransfer)]
decimal ReportingAmount { get; set; }
Property Value
Type | Description |
---|---|
decimal |
ReportingNote
Note against the reporting amount
Declaration
[EntityProperty(SQLType.NVarChar, 500, true, true)]
[EntityDescription("Note against the reporting amount")]
string ReportingNote { get; set; }
Property Value
Type | Description |
---|---|
string |
RootTransactionID
[Key] Links to ITransaction. The roo transaction this gl posting allocated amount is a child of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Transaction, "ID", SingleJoinType.One, "Root Transaction", "GL Posting Allocations From Root", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = true, PreventAutoConstraint = true)]
[RequiredNoDefaultIDValidation]
[EntityKeyProperty]
[EntityDescription("The root transaction this allocated gl posting belongs to.")]
Guid RootTransactionID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
TransactionAllocatedID
Links to ITransaction. The direct parent transaction this gl posting allocated amount is a child of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.TransactionAllocated, "ID", SingleJoinType.ZeroToOne, "Transaction Allocation", "GL Posting Allocations", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false, PreventAutoConstraint = true)]
[EntityDescription("The transaction allocation this allocated gl posting belongs to.")]
Guid? TransactionAllocatedID { get; set; }
Property Value
Type | Description |
---|---|
Guid? |