Class GeneralLedgerAccountManager
GLA manager
Inheritance
System.Object
GeneralLedgerAccountManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.ERP.Core.GLA
Assembly: Simplic.ERP.Core.dll
Syntax
public class GeneralLedgerAccountManager
Constructors
| Improve this Doc View SourceGeneralLedgerAccountManager()
Constructor
Declaration
public GeneralLedgerAccountManager()
Methods
| Improve this Doc View SourceDelete(GeneralLedgerAccount)
Remove a gla
Declaration
public void Delete(GeneralLedgerAccount obj)
Parameters
Type | Name | Description |
---|---|---|
GeneralLedgerAccount | obj | Object to delete |
Delete(Guid)
Remove a gla
Declaration
public void Delete(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Id value |
DeleteArticleGroup(GeneralLedgerAccount)
Remove a gla
Declaration
public void DeleteArticleGroup(GeneralLedgerAccount obj)
Parameters
Type | Name | Description |
---|---|---|
GeneralLedgerAccount | obj | Object to delete |
DeleteArticleGroup(Guid)
Remove a gla
Declaration
public void DeleteArticleGroup(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Id value |
DeleteAssignment(GeneralLedgerAccount)
Remove a gla
Declaration
public void DeleteAssignment(GeneralLedgerAccount obj)
Parameters
Type | Name | Description |
---|---|---|
GeneralLedgerAccount | obj | Object to delete |
DeleteAssignment(Guid)
Remove a gla
Declaration
public void DeleteAssignment(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Id value |
Get(Guid)
Get a single gla
Declaration
public GeneralLedgerAccount Get(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Id value |
Returns
Type | Description |
---|---|
GeneralLedgerAccount | GLA instance, else null |
GetAll()
Get all GLAs
Declaration
public IEnumerable<GeneralLedgerAccount> GetAll()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<GeneralLedgerAccount> | IEnumerable of GLAs |
GetAllArticleGroups()
Get all GLAs
Declaration
public IEnumerable<ArticleGeneralLedgerAccountGroup> GetAllArticleGroups()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ArticleGeneralLedgerAccountGroup> | IEnumerable of GLAs |
GetAllGLAAssignments()
Get all GLAs
Declaration
public IEnumerable<GeneralLedgerAccountAssignment> GetAllGLAAssignments()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<GeneralLedgerAccountAssignment> | IEnumerable of GLAs |
GetArticleGroup(Guid)
Get a single gla
Declaration
public ArticleGeneralLedgerAccountGroup GetArticleGroup(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Id value |
Returns
Type | Description |
---|---|
ArticleGeneralLedgerAccountGroup | GLA instance, else null |
GetArticleGroupByArticle(Guid)
Get a single gla by article od
Declaration
public ArticleGeneralLedgerAccountGroup GetArticleGroupByArticle(Guid articleId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | articleId |
Returns
Type | Description |
---|---|
ArticleGeneralLedgerAccountGroup | GLA instance, else null |
GetAssignment(Guid)
Get a single gla
Declaration
public GeneralLedgerAccountAssignment GetAssignment(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Id value |
Returns
Type | Description |
---|---|
GeneralLedgerAccountAssignment | GLA instance, else null |
GetSubTypesWithTypeId(Int32)
Declaration
public IEnumerable<GeneralLedgerAccountSubType> GetSubTypesWithTypeId(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<GeneralLedgerAccountSubType> |
GetTypes()
Declaration
public IEnumerable<GeneralLedgerAccountType> GetTypes()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<GeneralLedgerAccountType> |
Save(GeneralLedgerAccount)
Save a gla
Declaration
public void Save(GeneralLedgerAccount obj)
Parameters
Type | Name | Description |
---|---|---|
GeneralLedgerAccount | obj | Object to save |
SaveArticleGroup(ArticleGeneralLedgerAccountGroup)
Save a gla
Declaration
public void SaveArticleGroup(ArticleGeneralLedgerAccountGroup obj)
Parameters
Type | Name | Description |
---|---|---|
ArticleGeneralLedgerAccountGroup | obj | Object to save |
SaveAssignment(GeneralLedgerAccountAssignment)
Save a gla
Declaration
public void SaveAssignment(GeneralLedgerAccountAssignment obj)
Parameters
Type | Name | Description |
---|---|---|
GeneralLedgerAccountAssignment | obj | Object to save |