Search Results for

    Show / Hide Table of Contents

    Class TransactionItem

    Base transaction item

    Inheritance
    System.Object
    TransactionItem
    TransactionItemInterval
    TransactionItemText
    TransactionItemValue
    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
    Assembly: Simplic.ERP.Core.dll
    Syntax
    public abstract class TransactionItem

    Constructors

    | Improve this Doc View Source

    TransactionItem()

    Initialize new item

    Declaration
    public TransactionItem()

    Properties

    | Improve this Doc View Source

    AddonData

    Get the addon-data dictionary

    Declaration
    public IDictionary<string, object> AddonData { get; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Object>
    | Improve this Doc View Source

    ArticleManager

    Gets the current article manager

    Declaration
    protected ArticleManager ArticleManager { get; }
    Property Value
    Type Description
    ArticleManager
    | Improve this Doc View Source

    BookedFrom

    Gets or sets the items where this item was converted from

    Declaration
    public TransactionItemBooking BookedFrom { get; set; }
    Property Value
    Type Description
    TransactionItemBooking
    | Improve this Doc View Source

    BookedTo

    Gets or sets the items where this item was converted to

    Declaration
    public IList<TransactionItemBooking> BookedTo { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IList<TransactionItemBooking>
    | Improve this Doc View Source

    CreateDate

    gets/sets the build date of this transaction

    Declaration
    public DateTime CreateDate { get; set; }
    Property Value
    Type Description
    System.DateTime
    | Improve this Doc View Source

    CreateTime

    Create or sets the create time

    Declaration
    public TimeSpan CreateTime { get; set; }
    Property Value
    Type Description
    System.TimeSpan
    | Improve this Doc View Source

    CreateUserId

    Gets or sets the id who created the transaction

    Declaration
    public int CreateUserId { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    CreateUserName

    gets/sets the username who created this record

    Declaration
    public string CreateUserName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    DetailTemplate

    Gets the html template from the selected item type

    Declaration
    public string DetailTemplate { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ExternalGuidRef

    Gets or sets the external reference key (guid)

    Declaration
    public Guid ExternalGuidRef { get; set; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    ExternalIntRef

    Gets or sets the external reference key (int)

    Declaration
    public int ExternalIntRef { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ExternalStringRef

    Gets or sets the external reference key (string)

    Declaration
    public string ExternalStringRef { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    GlobalTransactionId

    Declaration
    public Guid? GlobalTransactionId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Guid>
    | Improve this Doc View Source

    GlobalTransactionItemId

    Gets or sets a storage bin

    Declaration
    public Guid GlobalTransactionItemId { get; set; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    Guid

    Declaration
    public Guid Guid { get; set; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    HasPositionNumber

    Gets or sets whether this transaction item has a position number

    Declaration
    public bool HasPositionNumber { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsDeleted

    Gets or sets whether the item is delted

    Declaration
    public bool IsDeleted { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsVisible

    Gets or sets whether the item is visible on the given document

    Declaration
    public bool IsVisible { get; protected set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    PositionNumber

    gets/sets the position number

    Declaration
    public int PositionNumber { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    SortNumber

    gets/sets the index for the sorting number

    Declaration
    public int SortNumber { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Text

    Gets or sets the current position text. The text can not be null

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Transaction

    Gets or sets the connected transaction

    Declaration
    public Transaction Transaction { get; set; }
    Property Value
    Type Description
    Transaction
    | Improve this Doc View Source

    TransactionId

    Gets or sets the conenction transaction id

    Declaration
    public Guid TransactionId { get; set; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    TransactionManager

    Gets the currenct transaction manager

    Declaration
    protected TransactionManager TransactionManager { get; }
    Property Value
    Type Description
    TransactionManager
    | Improve this Doc View Source

    TypeId

    Gets or sets the type id

    Declaration
    public Guid TypeId { get; set; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    UpdateDate

    Gets or sets the update date

    Declaration
    public DateTime UpdateDate { get; set; }
    Property Value
    Type Description
    System.DateTime
    | Improve this Doc View Source

    UpdateTime

    Gets or sets the update time

    Declaration
    public TimeSpan UpdateTime { get; set; }
    Property Value
    Type Description
    System.TimeSpan
    | Improve this Doc View Source

    UpdateUserId

    Gets or sets the user id who changed the transaction

    Declaration
    public int UpdateUserId { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    UpdateUserName

    Gets or sets the user name who updated the transaction

    Declaration
    public string UpdateUserName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Calculate()

    Calculate the required data

    Declaration
    public virtual void Calculate()
    | Improve this Doc View Source

    CopyTo(TransactionItem)

    Declaration
    public virtual void CopyTo(TransactionItem target)
    Parameters
    Type Name Description
    TransactionItem target
    | Improve this Doc View Source

    CreateItemCopy(Transaction)

    Copy item information from a source item

    Declaration
    public abstract AddTransactionItem<TransactionItem> CreateItemCopy(Transaction transaction)
    Parameters
    Type Name Description
    Transaction transaction
    Returns
    Type Description
    AddTransactionItem<TransactionItem>

    Creation result

    | Improve this Doc View Source

    GetAddonData<T>(String)

    Get addon data and cast to T

    Declaration
    public T GetAddonData<T>(string key)
    Parameters
    Type Name Description
    System.String key

    Column of the addon data

    Returns
    Type Description
    T

    Value if exists, else default of T

    Type Parameters
    Name Description
    T

    Type to return

    | Improve this Doc View Source

    GetStringHelper(String, String, String, String, String, String)

    String draw helper

    Declaration
    protected string GetStringHelper(string posNr, string unit, string text, string quantity, string singleVal, string totalVal)
    Parameters
    Type Name Description
    System.String posNr
    System.String unit
    System.String text
    System.String quantity
    System.String singleVal
    System.String totalVal
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    RenderAsText()

    Gets the position as tex

    Declaration
    public virtual string RenderAsText()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    SetAddonData(String, Object)

    Set addon data

    Declaration
    public void SetAddonData(string key, object value)
    Parameters
    Type Name Description
    System.String key

    Column name

    System.Object value

    Value

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx