Search Results for

    Show / Hide Table of Contents

    Class TransactionManager

    Contains the databaseaccess for transaction entities

    Inheritance
    System.Object
    TransactionManager
    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 class TransactionManager

    Constructors

    | Improve this Doc View Source

    TransactionManager()

    Constructor

    Declaration
    public TransactionManager()

    Fields

    | Improve this Doc View Source

    ACCOUNT_TYPE_CURRENTACCOUNT

    Declaration
    public const string ACCOUNT_TYPE_CURRENTACCOUNT = "B40F0EE7-A229-4905-BFCC-8087456A0487"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    ACCOUNT_TYPE_CUSTOMER

    Declaration
    public const string ACCOUNT_TYPE_CUSTOMER = "4CA629EC-4FBE-4A07-B2BE-90527FD5DD42"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    ACCOUNT_TYPE_SUPPLIER

    Declaration
    public const string ACCOUNT_TYPE_SUPPLIER = "027654D7-E35B-414C-A899-66F5CCE86D63"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    ADDON_DATA_CLEANINGORDER

    Declaration
    public const string ADDON_DATA_CLEANINGORDER = "CleaningOrderId"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    BARCODEREPORT

    Declaration
    public const string BARCODEREPORT = "VorgangsBarcode"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    CancellationTask

    Declaration
    public const int CancellationTask = 1400
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    FINANCIALYEAR_TYPE_FIBU

    Declaration
    public const string FINANCIALYEAR_TYPE_FIBU = "FBF681D7-9AFE-41B9-B887-FA94EBDC2AFE"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    FINANCIALYEAR_TYPE_WAWI

    Declaration
    public const string FINANCIALYEAR_TYPE_WAWI = "594FA1E0-566E-499D-9937-8BA89A34EB0A"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    INCOMING_CREDIT

    Declaration
    public const string INCOMING_CREDIT = "4eb032de-af8c-4081-a433-9203df158457"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    INCOMING_CREDIT_CANCELLATION

    Declaration
    public const string INCOMING_CREDIT_CANCELLATION = "fdee82b7-1ac4-4913-805f-e0a31674b0b7"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    INCOMING_DELIVERYNOTE

    Declaration
    public const string INCOMING_DELIVERYNOTE = "153ef540-73bd-40eb-9bfb-58b261d5acdd"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    INCOMING_DELIVERYNOTE_CANCELLATION

    Declaration
    public const string INCOMING_DELIVERYNOTE_CANCELLATION = "f2ac24e7-d601-4720-be3c-335980bced88"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    INCOMING_INVOICE

    Declaration
    public const string INCOMING_INVOICE = "7c725cbd-c925-46ba-92ba-7eb96bd63111"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    INCOMING_INVOICE_CANCELLATION

    Declaration
    public const string INCOMING_INVOICE_CANCELLATION = "07431176-2268-4880-b25b-fe3d91e0a6d4"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    INCOMING_OFFER

    Declaration
    public const string INCOMING_OFFER = "8cfc5571-b357-4c52-b2b3-f243566166c1"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    INCOMING_OFFER_CANCELLATION

    Declaration
    public const string INCOMING_OFFER_CANCELLATION = "40460859-88e3-4f2f-a9f0-095d66abed51"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    INCOMING_PURCHASE_ORDER

    Declaration
    public const string INCOMING_PURCHASE_ORDER = "14a8847f-76c4-4047-b22d-77ffd7d7a8f5"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    INCOMING_PURCHASE_ORDER_CANCELLATION

    Declaration
    public const string INCOMING_PURCHASE_ORDER_CANCELLATION = "93924c07-4855-4b83-b59f-5a1cbb3ddd51"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    ITEM_TYPE_ARTICLE

    Declaration
    public const string ITEM_TYPE_ARTICLE = "CBCBC123-84AD-45C8-8190-81D122C98E0C"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    ITEM_TYPE_DISCOUNT

    Declaration
    public const string ITEM_TYPE_DISCOUNT = "4F9145E7-4685-4781-90B6-EA3665938D7B"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    ITEM_TYPE_SHIPMENT

    Declaration
    public const string ITEM_TYPE_SHIPMENT = "D919F6B0-FA9A-4399-8492-10FCC9D195FD"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    ITEM_TYPE_SHIPMENTPOSITION

    Declaration
    public const string ITEM_TYPE_SHIPMENTPOSITION = "40B72779-9B03-4EA4-B6BA-5CF49114A609"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    ITEM_TYPE_TAX_ITEM

    Declaration
    public const string ITEM_TYPE_TAX_ITEM = "FBF102D8-39C9-4B90-BF07-E730A1E65DBA"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    OUTGOING_CREDIT

    Declaration
    public const string OUTGOING_CREDIT = "171e2fed-c6e7-4086-8f78-004fcdd01204"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    OUTGOING_CREDIT_CANCELLATION

    Declaration
    public const string OUTGOING_CREDIT_CANCELLATION = "39dd5d3a-5e3c-495b-9d9d-5b60ddb789fa"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    OUTGOING_DELIVERYNOTE

    Declaration
    public const string OUTGOING_DELIVERYNOTE = "27176774-a180-40c6-8797-d02b482f2652"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    OUTGOING_DELIVERYNOTE_CANCELLATION

    Declaration
    public const string OUTGOING_DELIVERYNOTE_CANCELLATION = "5df66ada-09f4-452c-a78e-d9d8fe38e56e"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    OUTGOING_INVOICE

    Declaration
    public const string OUTGOING_INVOICE = "9247572b-3ef7-457b-a018-6e9a79c805bb"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    OUTGOING_INVOICE_CANCELLATION

    Declaration
    public const string OUTGOING_INVOICE_CANCELLATION = "39904c60-e4e1-46b2-8d1a-93004b38ef17"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    OUTGOING_OFFER

    Declaration
    public const string OUTGOING_OFFER = "7227e5e1-6a6f-4fe5-a8eb-caf067645e2b"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    OUTGOING_OFFER_CANCELLATION

    Declaration
    public const string OUTGOING_OFFER_CANCELLATION = "132ec9f1-8534-4487-bb4f-ab0803f8ddf5"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    OUTGOING_ORDER

    Declaration
    public const string OUTGOING_ORDER = "601747be-baa7-40e0-8d27-33d55858746f"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    OUTGOING_ORDER_CANCELLATION

    Declaration
    public const string OUTGOING_ORDER_CANCELLATION = "30e249d9-c6e7-4b77-88c7-5e777a53017a"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_ITEM_ARTICLE

    Declaration
    public const string TRANSACTION_ITEM_ARTICLE = "cbcbc123-84ad-45c8-8190-81d122c98e0c"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_ITEM_CLEANINGORDER

    Declaration
    public const string TRANSACTION_ITEM_CLEANINGORDER = "e268e650-1f21-4ea2-97d8-3125347ae80c"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_ITEM_DISCOUNT

    Declaration
    public const string TRANSACTION_ITEM_DISCOUNT = "4f9145e7-4685-4781-90b6-ea3665938d7b"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_ITEM_GLA

    Declaration
    public const string TRANSACTION_ITEM_GLA = "81a3be8f-b010-45da-94c2-6914b502b1d2"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_ITEM_GROUP

    Declaration
    public const string TRANSACTION_ITEM_GROUP = "cc1b04a0-9ccf-439d-bef4-098ecf852b2b"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_ITEM_INTERVAL

    Declaration
    public const string TRANSACTION_ITEM_INTERVAL = "6896d6cc-db9e-46c0-99e9-b093114a2758"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_ITEM_SHIPMENT

    Declaration
    public const string TRANSACTION_ITEM_SHIPMENT = "D919F6B0-FA9A-4399-8492-10FCC9D195FD"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_ITEM_SUBTOTAL

    Declaration
    public const string TRANSACTION_ITEM_SUBTOTAL = "71fb3b1d-b673-434e-8a74-a6f37debe7d4"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_ITEM_SURCHARGE

    Declaration
    public const string TRANSACTION_ITEM_SURCHARGE = "ac0bf402-484e-4a4a-8907-5dcb6377bc00"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_ITEM_TAXONLY

    Declaration
    public const string TRANSACTION_ITEM_TAXONLY = "fbf102d8-39c9-4b90-bf07-e730a1e65dba"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_ITEM_TEXT

    Declaration
    public const string TRANSACTION_ITEM_TEXT = "8ec20a7e-6704-4730-ad5f-8c88dbea1eaa"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_TYPE_DIRECTION_INCOMING

    Declaration
    public const string TRANSACTION_TYPE_DIRECTION_INCOMING = "28350433-ABFA-43F5-A051-B38F7134422D"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_TYPE_DIRECTION_OUTGOING

    Declaration
    public const string TRANSACTION_TYPE_DIRECTION_OUTGOING = "89FD7539-635E-4886-931B-44BFD940100E"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_TYPE_OUTGOING_INVOICE

    Declaration
    public const string TRANSACTION_TYPE_OUTGOING_INVOICE = "9247572B-3EF7-457B-A018-6E9A79C805BB"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TRANSACTION_TYPE_STANDINGORDER

    Declaration
    public const string TRANSACTION_TYPE_STANDINGORDER = "6F596C95-E301-4E25-AE13-7D94FB811C45"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    TransactionStack

    Declaration
    public Guid TransactionStack
    Field Value
    Type Description
    System.Guid

    Properties

    | Improve this Doc View Source

    IncomingTypeList

    Contains all incomming transaction types

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

    ItemDefinition

    Gets or sets a dictionary of item constructor

    Declaration
    public static IList<TransactionItemConstructor> ItemDefinition { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<TransactionItemConstructor>
    | Improve this Doc View Source

    OutgoingTypeList

    Contains all outgoing transaction types

    Declaration
    public static IDictionary<string, Guid> OutgoingTypeList { get; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Guid>

    Methods

    | Improve this Doc View Source

    AddItemDefinition<T>(Guid, Func<T>)

    Add new item definitiom

    Declaration
    public static void AddItemDefinition<T>(Guid id, Func<T> constructor)
        where T : TransactionItem
    Parameters
    Type Name Description
    System.Guid id

    Item type id

    System.Func<T> constructor

    Delegate to create an item

    Type Parameters
    Name Description
    T

    Transaction item type

    | Improve this Doc View Source

    CheckIsFinancialExportValid(Guid)

    Checks if the transaction is valid for export

    Declaration
    public bool CheckIsFinancialExportValid(Guid transactionId)
    Parameters
    Type Name Description
    System.Guid transactionId
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    CheckTypeNumber(Int32, Guid)

    Checks if the new type number is unique

    Declaration
    public bool CheckTypeNumber(int number, Guid guid)
    Parameters
    Type Name Description
    System.Int32 number

    type number

    System.Guid guid

    existing type id

    Returns
    Type Description
    System.Boolean

    True if its unique

    | Improve this Doc View Source

    CopyTransaction(Guid)

    Creates a copy of the selected transaction

    Declaration
    public Transaction CopyTransaction(Guid transactionId)
    Parameters
    Type Name Description
    System.Guid transactionId
    Returns
    Type Description
    Transaction
    | Improve this Doc View Source

    Delete(Transaction)

    Declaration
    public void Delete(Transaction transaction)
    Parameters
    Type Name Description
    Transaction transaction
    | Improve this Doc View Source

    DeleteArticleItemCostCenter(Guid)

    Removes a costcenter assigment

    Declaration
    public void DeleteArticleItemCostCenter(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    | Improve this Doc View Source

    DeleteItemType(Guid)

    Delete itemtype instace

    Declaration
    public void DeleteItemType(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    | Improve this Doc View Source

    DeleteSubType(Guid)

    delete the subtype record

    Declaration
    public void DeleteSubType(Guid subTypeId)
    Parameters
    Type Name Description
    System.Guid subTypeId
    | Improve this Doc View Source

    DeleteType(TransactionType)

    Delete type instace

    Declaration
    public void DeleteType(TransactionType type)
    Parameters
    Type Name Description
    TransactionType type
    | Improve this Doc View Source

    Exists(Guid)

    Checks whether a transaction exists in the database or not

    Declaration
    public bool Exists(Guid transactionId)
    Parameters
    Type Name Description
    System.Guid transactionId

    Unique transaction id

    Returns
    Type Description
    System.Boolean

    True if the transaction exists, else false

    | Improve this Doc View Source

    Get(DateTime, DateTime)

    Gets all transactions in a date range

    Declaration
    public IEnumerable<Transaction> Get(DateTime from, DateTime to)
    Parameters
    Type Name Description
    System.DateTime from
    System.DateTime to
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Transaction>

    Transaction instance of found

    | Improve this Doc View Source

    Get(Guid)

    Gets a transaction by its id

    Declaration
    public Transaction Get(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique transaction id

    Returns
    Type Description
    Transaction

    Transaction instance of found

    | Improve this Doc View Source

    GetAllItemTypes()

    Gets all available item types

    Declaration
    public IEnumerable<ItemType> GetAllItemTypes()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ItemType>
    | Improve this Doc View Source

    GetAllTypes()

    Gets all available transaction types

    Declaration
    public IEnumerable<TransactionType> GetAllTypes()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TransactionType>
    | Improve this Doc View Source

    GetArticleItemCostCenter(Guid)

    Gets an article costcenter assignment

    Declaration
    public TransactionItemArticleCostCenter GetArticleItemCostCenter(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    Returns
    Type Description
    TransactionItemArticleCostCenter
    | Improve this Doc View Source

    GetAsync(Guid)

    Gets a transaction by its id

    Declaration
    public async Task<Transaction> GetAsync(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique transaction id

    Returns
    Type Description
    System.Threading.Tasks.Task<Transaction>

    Transaction instance of found

    | Improve this Doc View Source

    GetByBarcode(String)

    Gets a transaction by its number

    Declaration
    public Transaction GetByBarcode(string barcode)
    Parameters
    Type Name Description
    System.String barcode

    Unique barcode

    Returns
    Type Description
    Transaction

    Transaction instance of found

    | Improve this Doc View Source

    GetByGlobalId(Guid, Nullable<Guid>, Nullable<Guid>)

    Get all transactions by its global transaction id

    Declaration
    public IEnumerable<Transaction> GetByGlobalId(Guid globalTransactionId, Guid? typeId = null, Guid? subtypeId = null)
    Parameters
    Type Name Description
    System.Guid globalTransactionId
    System.Nullable<System.Guid> typeId

    Type filter

    System.Nullable<System.Guid> subtypeId

    Subtype filter

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Transaction>

    Enumerable of transactions

    | Improve this Doc View Source

    GetByNumber(String)

    Gets a transaction by its number

    Declaration
    public Transaction GetByNumber(string number)
    Parameters
    Type Name Description
    System.String number
    Returns
    Type Description
    Transaction

    Transaction instance of found

    | Improve this Doc View Source

    GetFinancialYearByTransaction(Guid)

    Gets the year for the selected period

    Declaration
    public Guid GetFinancialYearByTransaction(Guid transactionId)
    Parameters
    Type Name Description
    System.Guid transactionId
    Returns
    Type Description
    System.Guid
    | Improve this Doc View Source

    GetItem(Guid)

    Get a single transactionItem

    Declaration
    public TransactionItem GetItem(Guid ItemId)
    Parameters
    Type Name Description
    System.Guid ItemId
    Returns
    Type Description
    TransactionItem
    | Improve this Doc View Source

    GetItems(Guid)

    Load all transaction items that belongs to an transaction

    Declaration
    public IEnumerable<TransactionItem> GetItems(Guid transactionId)
    Parameters
    Type Name Description
    System.Guid transactionId

    Unique transaction id

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TransactionItem>

    Enumerable if transaction-items

    | Improve this Doc View Source

    GetItemType(Guid)

    Gets a specified item type

    Declaration
    public ItemType GetItemType(Guid typeId)
    Parameters
    Type Name Description
    System.Guid typeId
    Returns
    Type Description
    ItemType
    | Improve this Doc View Source

    GetListAsync(IList<Guid>)

    Gets a transaction by its id

    Declaration
    public async Task<IList<Transaction>> GetListAsync(IList<Guid> ids)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<System.Guid> ids

    Unique transaction id

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.IList<Transaction>>

    Transaction instance of found

    | Improve this Doc View Source

    GetStandingOrder(Guid)

    Gets the standing order data by standing order id

    Declaration
    public TransactionStandingOrder GetStandingOrder(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    Returns
    Type Description
    TransactionStandingOrder
    | Improve this Doc View Source

    GetStandingOrderByTransactionId(Guid)

    Gets the standing order data by transaction id

    Declaration
    public TransactionStandingOrder GetStandingOrderByTransactionId(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    Returns
    Type Description
    TransactionStandingOrder
    | Improve this Doc View Source

    GetStandingOrderType(Guid)

    Gets the standing order type by id

    Declaration
    public TransactionStandingOrderType GetStandingOrderType(Guid typeId)
    Parameters
    Type Name Description
    System.Guid typeId
    Returns
    Type Description
    TransactionStandingOrderType
    | Improve this Doc View Source

    GetStandingOrderTypes()

    Get all standing order types

    Declaration
    public IEnumerable<TransactionStandingOrderType> GetStandingOrderTypes()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TransactionStandingOrderType>
    | Improve this Doc View Source

    GetSubtype()

    Get all transaction subtype

    Declaration
    public IEnumerable<TransactionSubtype> GetSubtype()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TransactionSubtype>

    Returns a list of all subtypes

    | Improve this Doc View Source

    GetSubtype(Guid)

    Gets a transaction subtype

    Declaration
    public TransactionSubtype GetSubtype(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique transaction id

    Returns
    Type Description
    TransactionSubtype

    Returns an instance of a subtype

    | Improve this Doc View Source

    GetSubtypesByType(Guid)

    Gets all transaction subtypes by a transaction type

    Declaration
    public IEnumerable<TransactionSubtype> GetSubtypesByType(Guid typeId)
    Parameters
    Type Name Description
    System.Guid typeId

    Unique type id

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TransactionSubtype>

    Returns a list of subtypes

    | Improve this Doc View Source

    GetType(Guid)

    Gets a type by its id

    Declaration
    public TransactionType GetType(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique type id

    Returns
    Type Description
    TransactionType

    Type instance if found

    | Improve this Doc View Source

    LockTransaction(Guid)

    Try to lock a transaction. Throows an LockTransactionFailed if the transaction could not be locked.

    Declaration
    public void LockTransaction(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique transaction id

    | Improve this Doc View Source

    LockTransactionFlag(Guid)

    Locks the selected transaction

    Declaration
    public void LockTransactionFlag(Guid transactionId)
    Parameters
    Type Name Description
    System.Guid transactionId
    | Improve this Doc View Source

    ReleaseTransactionLock(Guid)

    Release a transaction lock

    Declaration
    public void ReleaseTransactionLock(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Transaction lock id

    | Improve this Doc View Source

    RemoveStandingOrderType(TransactionStandingOrderType)

    Removes the type from database

    Declaration
    public void RemoveStandingOrderType(TransactionStandingOrderType type)
    Parameters
    Type Name Description
    TransactionStandingOrderType type
    | Improve this Doc View Source

    ResolveBillableItemGLA(TransactionItemBillable)

    Resolve account numbers for billable item

    Declaration
    public bool ResolveBillableItemGLA(TransactionItemBillable billableItem)
    Parameters
    Type Name Description
    TransactionItemBillable billableItem
    Returns
    Type Description
    System.Boolean

    Success

    | Improve this Doc View Source

    Save(Transaction, Boolean, Boolean, Boolean)

    Save the current transaction item

    Declaration
    public void Save(Transaction transaction, bool reassignRegister = true, bool executeAutoconnector = true, bool refreshFulltextIndex = true)
    Parameters
    Type Name Description
    Transaction transaction

    Transaction to save

    System.Boolean reassignRegister

    Reassign register

    System.Boolean executeAutoconnector

    Execute autoconnector

    System.Boolean refreshFulltextIndex

    Refresh fulltext index

    | Improve this Doc View Source

    Save(Transaction, Boolean, Boolean, Boolean, Boolean)

    Save the current transaction item

    Declaration
    public void Save(Transaction transaction, bool reassignRegister, bool executeAutoconnector, bool refreshFulltextIndex, bool forceSave)
    Parameters
    Type Name Description
    Transaction transaction

    Transaction to save

    System.Boolean reassignRegister

    Reassign register

    System.Boolean executeAutoconnector

    Execute autoconnector

    System.Boolean refreshFulltextIndex

    Refresh fulltext index

    System.Boolean forceSave

    Gets or sets whether to force saving or not

    | Improve this Doc View Source

    SaveArticleItemCostCenter(TransactionItemArticleCostCenter)

    Saves a costcenter assigment

    Declaration
    public void SaveArticleItemCostCenter(TransactionItemArticleCostCenter assignment)
    Parameters
    Type Name Description
    TransactionItemArticleCostCenter assignment
    | Improve this Doc View Source

    SaveArticleItemCostCenter(StatefulCollection<TransactionItemArticleCostCenter>)

    Saves the costcenter assigment

    Declaration
    public void SaveArticleItemCostCenter(StatefulCollection<TransactionItemArticleCostCenter> assignments)
    Parameters
    Type Name Description
    StatefulCollection<TransactionItemArticleCostCenter> assignments
    | Improve this Doc View Source

    SaveItemType(ItemType)

    Writes the item changetype to the database

    Declaration
    public void SaveItemType(ItemType type)
    Parameters
    Type Name Description
    ItemType type
    | Improve this Doc View Source

    SaveStandingOrder(TransactionStandingOrder)

    Saves the standing order data

    Declaration
    public void SaveStandingOrder(TransactionStandingOrder data)
    Parameters
    Type Name Description
    TransactionStandingOrder data
    | Improve this Doc View Source

    SaveStandingOrderType(TransactionStandingOrderType)

    Saves the standing order data

    Declaration
    public bool SaveStandingOrderType(TransactionStandingOrderType type)
    Parameters
    Type Name Description
    TransactionStandingOrderType type
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SaveSubtype(TransactionSubtype)

    Create or update a suptype

    Declaration
    public void SaveSubtype(TransactionSubtype subtype)
    Parameters
    Type Name Description
    TransactionSubtype subtype

    Subtype instance

    | Improve this Doc View Source

    SaveTransactionItem(TransactionItem)

    Save a list of transaction items

    Declaration
    public int SaveTransactionItem(TransactionItem item)
    Parameters
    Type Name Description
    TransactionItem item

    Item to save

    Returns
    Type Description
    System.Int32

    Amound of affected data

    | Improve this Doc View Source

    SaveTransactionItem(IDbConnection, TransactionItem, Type, Transaction)

    Declaration
    public int SaveTransactionItem(IDbConnection connection, TransactionItem item, Type t, Transaction transaction)
    Parameters
    Type Name Description
    System.Data.IDbConnection connection
    TransactionItem item
    System.Type t
    Transaction transaction
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    SaveType(TransactionType)

    Create or update transaction type

    Declaration
    public void SaveType(TransactionType type)
    Parameters
    Type Name Description
    TransactionType type

    Type instance

    | Improve this Doc View Source

    SendTransactionEMail(String, Transaction, Byte[], String, String, String, String)

    Send the transaction document as mail

    Declaration
    public void SendTransactionEMail(string templateName, Transaction transaction, byte[] pdf, string mailAddress, string sender, string cc = "", string bcc = "")
    Parameters
    Type Name Description
    System.String templateName

    Template name

    Transaction transaction
    System.Byte[] pdf
    System.String mailAddress
    System.String sender
    System.String cc
    System.String bcc
    | Improve this Doc View Source

    SetDeleted(Guid)

    Sets the flag IsDeleted true

    Declaration
    public void SetDeleted(Guid transactionId)
    Parameters
    Type Name Description
    System.Guid transactionId
    | Improve this Doc View Source

    SetIsCanceled(Guid)

    Sets the is canceled falg to true

    Declaration
    public bool SetIsCanceled(Guid transactionId)
    Parameters
    Type Name Description
    System.Guid transactionId
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SetIsExported(Guid)

    Sets the export flag true

    Declaration
    public bool SetIsExported(Guid transactionId)
    Parameters
    Type Name Description
    System.Guid transactionId
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SetIsPrinted(Guid)

    Sets the print flag true

    Declaration
    public bool SetIsPrinted(Guid transactionId)
    Parameters
    Type Name Description
    System.Guid transactionId
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SetIsTransferredToAccounting(Guid)

    Sets the flag transfered to accoutning true

    Declaration
    public bool SetIsTransferredToAccounting(Guid transactionId)
    Parameters
    Type Name Description
    System.Guid transactionId
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SetIsValid(Guid, Boolean)

    Sets the is valid flag true

    Declaration
    public bool SetIsValid(Guid transactionId, bool isValid)
    Parameters
    Type Name Description
    System.Guid transactionId
    System.Boolean isValid
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx