Interface IBpSession
- Namespace
- BpNexT.Actions.Abstractions
- Assembly
- BpNexT.Actions.Abstractions.dll
Datenzugriff auf microtech ERP über COM für Actions, Seiten und Controller.
public interface IBpSession
Remarks
Fordern Sie die Sitzung über den Konstruktor an. Sie verwendet das für die Ausführung ausgewählte Verbindungsprofil.
Properties
- Dokumente
Document automation object of the underlying session.
Printing automation object of the underlying session.
- Events
Event automation object of the underlying session.
- Lager
Lager automation object of the underlying session.
- Projekte
Project automation object of the underlying session.
- Vorgaenge
Vorgang automation object of the underlying session.
- Wandeln
Wandeln automation object of the underlying session.
Methods
- AddDataSet<T>()
Creates a new, unsaved entity in the data set.
- ArtikelLager(string, string?)
Opens the stock context of an article, optionally in a specific currency.
- EnsureTransactionSafety(string)
Throws when the named data set may not be written inside a transaction.
- FindById<T>(int)
Finds a single entity by its primary id.
- Find<T>(IDataSetIndex, string[]?)
Finds a single entity by one of its microtech ERP indexes.
- GetChanged<T>(DateTime, string?, string[]?)
Returns a filterable view of the entities changed since the given date.
- GetChanged<T>(Func<string, string, DateTime>, string?, string[]?)
Returns a filterable view of the entities changed since the callback's date.
- GetCustomerData()
License and customer data of the logged-in microtech ERP installation.
- GetDataSet(string, string?)
Returns a filterable view of the named data set as untyped entities.
- GetDataSet<T>(string?, string[]?)
Returns a filterable view of the data set.
- GetMandant()
Name of the mandant the session is logged into.
- GetRange<T>(IDataSetIndex, IDataSetIndex, string?, string[]?)
Returns the entities between two index positions.
- GetSelektionsFelder(string)
Lists the selection fields available for the named data set.
- GetSelektionsFelder<T>()
Lists the selection fields available for the entity type.
- LoggedInAs()
User name the session is logged in as.
- OpenDataSet(string)
Opens the raw automation data set by its microtech ERP name.
- OpenDataSet<T>()
Opens the raw automation data set backing the entity type.
- QueryChanged<T>(DateTime, string[]?)
Queries entities changed since the given date lazily.
- QueryChanged<T>(Func<string, string, DateTime>, string[]?)
Queries entities changed since the date the callback resolves per data set and mandant.
- QueryDataSet<T>(string[]?)
Queries the data set lazily, translating the query to microtech ERP filters.
- ReadChanged<T>(DateTime, string[]?, int)
Reads all entities changed since the given date into memory in chunks.
- ReadChanged<T>(Func<string, string, DateTime>, string[]?, int)
Reads all entities changed since the date the callback resolves per data set and mandant.
- ReadDataSet<T>(string[]?, int)
Reads the whole data set into memory in chunks.
- StartTransaction(string)
Starts a transaction on the named data set.
- StartTransaction<T>()
Starts a transaction on the entity type's data set.
- WandelnVorgang(string, int)
Builds a conversion of an existing Vorgang into another Vorgangsart.