Click or drag to resize

MPInterface Class

The main interface to handle all actions in MARIInterface
Inheritance Hierarchy
SystemObject
  MARIInterfaceMPInterface

Namespace:  MARIInterface
Assembly:  MARIInterface (in MARIInterface.dll) Version: 8.0.0.100
Syntax
public class MPInterface

The MPInterface type exposes the following members.

Constructors
  NameDescription
Public methodMPInterface
Initializes a new instance of the MPInterface class
Top
Methods
  NameDescription
Public methodAttendanceDayInfo
Function Loads all acctions of one day to an employe. The errors and warnings are loaded in the class: clsEmployeeAttendanceDayInfo.
Public methodbDeleteERPProductTree
Delete OITT and ITT1 / ITT2 from SBO database (using DI-API/ServiceLayer)
Public methodbDeleteImportedItems
Reads the given MARIProjektImportData.mdb and deletes all the postions in MARIProject for the given table
Public methodbDeleteItemBookingLine
Allows to delete on time booking line. All conditions will be checked. On false, read MPInterface.oError
Public methodbDeleteSupportTicket
Delete an existing ticket (task, idea, development task, HRTask) with all attachments
Public methodbDeleteSupportTicketAttachment
Delete an attachment to a ticket (task, idea, development task, HRTask)
Public methodbDeleteTimeKeepingLine
Allows to delete on time booking line. All conditions will be checked. On false, read MPInterface.oError
Public methodbGetLoginBySBOUser Obsolete.
Internal function. This function is used by the MARINGO Web Service to access the MARI Interface functionality
Public methodbImportAttendanceDayActivity
Imports one day activity (timestamp) for the employee attandance day. This interface allows to set the WorkingDay and the TimeValueExact for historic import. (SQL Time is not used)

View: MARIAttendanceAction: :Table: MPPersonenZeitenAktionen

Public methodbImportAttendanceDayActivityByAccesDatabase
Import using access table: MARIProjektImportAttendanceDayActivity. See clsImportAttendanceDayActivity.
Public methodbImportBook
Import one project documentation book: clsImportBook
Public methodbImportBookPage
Import Page to a project documentation book: clsImportBookPage
Public methodbImportBPAuditPlan
Import a audit plan master data. See clsImportBPAuditPlan for details.
Public methodbImportBPAuditPlanByAccess
Import the table MARIProjektImportWorkItemBPAuditPlan out of the MS Access database. See clsImportBPAuditPlan.
Public methodbImportBPAuditTask
Import a audit task master data. See clsImportBPAuditTask for details.
Public methodbImportBPAuditTaskByAccess
Import the table MARIProjektImportWorkItemBPAuditTask out of the MS Access database. See clsImportBPAuditTask.
Public methodbImportBPAuditTaskResource
Import a audit task master data. See clsImportBPAuditTaskResource for details.
Public methodbImportBPAuditTaskResourceByAccess
Import the table MARIProjektImportWorkItemBPAuditTaskResource out of the MS Access database. See clsImportBPAuditTaskResource.
Public methodbImportBPAuditTemplate
Import a audit template master data. See clsImportBPAuditTemplate for details.
Public methodbImportBPAuditTemplateByAccess
Import the table MARIProjektImportWorkItemBPAuditTemplate out of the MS Access database. See clsImportBPAuditTemplate.
Public methodbImportBPGroup
Import SBO Groups (Business Partner Customer Group, Supplier Group, Industries) via DI.API. See clsImportBPGroup for Details and
Public methodbImportBusinessPartner
Import Business Partner to the SBO database using DI-API. See clsImportBusinessPartner.
Public methodbImportBusinessPartnerContactPerson
Imports a contact person to an existing SBO Business partner using DI.-API. See clsImportBPContactPerson for more detail.
Public methodbImportBusinessPartnerMasterByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportOCRD. See clsImportBusinessPartner.
Public methodbImportBusinessUnit
Import a new Business Unit using the clsImportSetupBusinessUnits object.
Public methodbImportBusinessUnitByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportSetupBusinessUnits
Public methodbImportBusinessUnitCollection
Import a collection of clsImportSetupBusinessUnits objects
Public methodbImportBusinessUnitMatrixByAccessDatabase
Imports business unit settings matrix from access database using the table MARIProjektImportSetupBUSettingsMatrix. See clsImportSetupBUSettingsMatrix.
Public methodbImportBusinessUnitSettingsByAccessDatabase
Imports business unit settings from access database using the table MARIProjektImportSetupBUSettings. See clsImportSetupBUSettings.
Public methodbImportByAccessTable
Internal Helper function to import one table out of the access database
Public methodbImportClassNotificationEventLink
Create or updates the event with the link to a notification text.
Public methodbImportClassNotificationText
Creates a notification Text for a master data dimension.

Uses clsImportClassNotificationText for the main class and clsImportClassNotificationTextLang for the different languages

Public methodbImportCommissionInitByAccess
Import the initial settings for project/contract link commissions and accruals. Table:
MARIProjektImportCommissionInitial
. See clsImportCommissionInitial.
Public methodbImportCompanySettingsByAccessDatabase
Imports business unit settings from access database using the table MARIProjektImportSetupCompanySettings. See clsImportSetupCompanySettings.
Public methodbImportContract
Import one clsImportProjectContract
Public methodbImportContractPosition
Import one contract position (clsImportProjectContractPosition)
Public methodbImportContractPositionAccountingPos
Imports a single accounting position (30% 30% 40% of a fixed price position) to an existing contract position. It is possible to add the accointing positions directly when using function bImportContractPosition(clsImportProjectContractPosition, clsImportBaseeImportMode).
Public methodbImportContractPositionList
Import a list of contract position (clsImportProjectContractPosition) (to one contract)
Public methodbImportContractPositionsByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportProjectContractPositions. See clsImportProjectContractPosition.
Public methodbImportContractsByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportProjectContracts. See clsImportProjectContract.
Public methodbImportContractsCollection
Import a collection of clsImportProjectContract objects
Public methodbImportCustomerLocationTree
Import the header of a tree element

View: MARICustomerLocationTree: :Table: MPCustomerLocationTree

Public methodbImportCustomerLocationTreeByAccess
Import CustomerTree Headers from access table MARIProjektImportCustomerTrees. See clsImportCustomerLocationTree.

View: MARICustomerLocationTree: :Table: MPCustomerLocationTree

Public methodbImportCustomerLocationTreeElement
Public methodbImportCustomerLocationTreeElementByAccess
Imports from access database the table MARIProjektImportCustomerTreeElements. See clsImportCustomerLocationTreeElement.

View: MARICustomerLocationTreeElement: :Table: MPCustomerLocationTreeElement

Public methodCode examplebImportCustomerServiceObject
Public methodbImportCustomerServiceObjectByAccesDatabase
Import using access table: MARIProjektImportCustomerServiceObjects. See clsImportCustomerServiceObject.
Public methodbImportCustomerServiceObjectCategory
Imports customer service object category into the table:

View: MARICustomerServiceObjectCategory: :Table: MARICustomerEquipmentCardCategory

Public methodbImportCustomerServiceObjectCategoryByAccesDatabase
Import using the access table MARIProjektImportCustomerServiceObjectCategory. See clsImportCustomerServiceObjectCategory.
Public methodbImportCustomerServiceObjectLocation
Imports current location for a customer service object.

View: MARICustomerServiceObjectLocation: :Table: MPCustomerEquipmentLocation

Public methodbImportCustomerServiceObjectLocationByAccesDatabase
Import using access table: MARIProjektImportCustomerServiceObjectLocation. See clsImportCustomerServiceObjectLocation.

View: MARICustomerServiceObjectLocation: :Table: MPCustomerEquipmentLocation

Public methodbImportCustomerServiceObjectPart
Public methodbImportCustomerServiceObjectPartsByAccesDatabase
Import using access table: MARIProjektImportCustomerServiceObjectParts. See clsImportCustomerServiceObjectPart.

View: MARIWorkItemPosition: :Table: MPWorkItemPosition

Public methodbImportDocument(clsImportDocument, clsImportBaseeImportMode)
Imports a Document or Picture to the folder mechanism (DMS) using the clsImportDocument object
Public methodbImportDocument(clsImportBaseeCoreDataClassID, String, clsImportDocumenteDocumentType, clsImportDocumenteLinkType, String, String, DateTime, String, String)
Import a document by values to the folder mechanism.
Public methodbImportDraftDocument
Import one prerecoreded document. See clsImportDraftDocument.
Public methodbImportEmail
Import one clsImportEmail
Public methodbImportEmailAttachment
Import one clsImportEmailAttachment
Public methodbImportEmployee
Public methodbImportEmployeeAbsense
Imports external Employee Absense (Vacation, Illness, ...) into MARIProject
Public methodbImportEmployeeAnnualVacation
Import a new annual vacation dataset for an existing employee master. clsImportEmployeeAnnualVacation. New function since Feburary 2021.
Public methodbImportEmployeeCollection
Import a collection of clsImportEmployee objects
Public methodbImportEmployeeCostRates
Import a new cost rate dataset for an existing employee master and employee period. clsImportEmployeeCostRates. New function since Feburary 2021.
Public methodbImportEmployeeCostRatesProject
Import a new cost rate by project dataset for an existing employee master and employee period. clsImportEmployeeCostRatesProject. New function since Feburary 2021.
Public methodbImportEmployeeMaster
Import a new employee with detailed classes for each table. clsImportEmployeeMaster. New function since November 2020.
Public methodbImportEmployeeOrganisation
Import a new organisation dataset for an existing employee master and employee period. clsImportEmployeeOrganisation. New function since Feburary 2021.
Public methodbImportEmployeePeriod
Import a new valid from dataset for an existing employee master. clsImportEmployeePeriod. New function since November 2020.
Public methodbImportEmployeePoolLink
Import a new pool link dataset for an existing employee master. clsImportEmployeePoolLink. New function since Feburary 2021.
Public methodbImportEmployeeProjectLink
Import a new project link dataset for an existing employee master. clsImportEmployeeProjectLink. New function since Feburary 2021.
Public methodbImportEmployeesByAccessDatabase
Reads the MARIProjektImportData.mdb and the tables MARIProjektImportEmployee, MARIProjektImportEmployeePoolLink. See clsImportEmployee and clsImportEmployeePoolLink.
Public methodbImportEmployeeServiceLink
Import a new service link dataset for an existing employee master. clsImportEmployeeServiceLink. New function since Feburary 2021.
Public methodbImportEmployeeSkillLink
Import one skill to an existing employee
Public methodbImportEmployeeSkillLinkByAccessDatabase
Reads the MARIProjektImportData.mdb and the tables MARIProjektImportEmployeeSkillLink. See clsImportEmployeeSkillLink.
Public methodbImportEquipmentBooking
Import one clsImportEquipmentBookings
Public methodbImportEquipmentBookingsByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportEquipmentBooking. See clsImportEquipmentBookings.
Public methodbImportEquipmentCategoriesByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportEquipmentCategory. See clsImportEquipmentCategory.
Public methodCode examplebImportEquipmentCategory
Import one Equipment Category with initial subject with the object clsImportEquipmentCategory + one clsImportEquipmentCategorySubject
Public methodCode examplebImportEquipmentCategoryAdditionalSubjects
Add additional subjects to one Equipment Category
Public methodbImportEquipmentCategoryAdditionalSubjectsByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportEquipmentCategorySubject. See clsImportEquipmentCategorySubject.
Public methodCode examplebImportEquipmentCategoryBPCatalog
Add a business partner catalog entry to a given equipment category.
Public methodbImportEquipmentCategoryBPCatalogByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportEquipmentCategoryBPCatalog. See clsImportEquipmentCategoryBPCatalog.
Public methodCode examplebImportEquipmentCategoryPart
Add parts to an equipment category
Public methodbImportEquipmentCategoryPartsByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportEquipmentMasterParts. See clsImportEquipmentCategoryPart.
Public methodbImportEquipmentLocation
Import a current location for an Equipment Master with the object clsImportEquipmentLocation
Public methodbImportEquipmentLocationByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportEquipmentLocation. See clsImportEquipmentLocation.
Public methodCode examplebImportEquipmentMaster
Import one Equipment Master with the object clsImportEquipmentMaster
Public methodCode examplebImportEquipmentMasterAssemblyLink
Import a link clsImportEquipmentMasterAssemblyLink of a component in an assembly of one Equipment Master clsImportEquipmentMaster.
Public methodbImportEquipmentMasterAssemblyLinkByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportEquipmentMasterAssemblyLink. See clsImportEquipmentMasterAssemblyLink.
Public methodbImportEquipmentMasterByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportEquipmentMaster. See clsImportEquipmentMaster.
Public methodCode examplebImportEquipmentMasterParts
Import one Equipment Master with the object clsImportEquipmentMasterPart
Public methodbImportEquipmentMasterPartsByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportEquipmentMasterParts. See clsImportEquipmentMasterPart.
Public methodbImportERPDocument
Imports elements to SBO table documents (OINV, INV1...) (using DI-API)
Public methodbImportERPItem
Imports Item Master into table OITM (using DI-API) MARIProjektImportOITM. See clsImportItem for details.
Public methodbImportERPPayment
Imports a Payment for one Invoice
Public methodbImportERPProductTree
Imports Bill Of Material master into OTTT (using DI-API/ServiceLayer) MARIProjektImportOITT. See clsImportProductTree for details.
Public methodbImportERPProjectCode
Import one project code (OPRJ) via DI-API. clsImportERPProjectCode.
Public methodbImportERPResource
Imports SBO Resource into table ORSC (using DI-API) MARIProjektImportORSC. See clsImportERPResource for details.
Public methodbImportExchangeRateForPlanning
Import the monthly exchange rate versus the MARIProject system currency. See clsImportExchangeRateForPlanning for details.

See clsImportExchangeRateSBO for the SBO exchange rate.

Public methodbImportExchangeRateSBO
Import the daily exchange rate in one SBO database, via DI-API. See clsImportExchangeRateSBO for details.

See clsImportExchangeRateForPlanning for the MARIProject exchange rate.

Public methodbImportFile
Import a file directly to the database (table MPDokumente, MPBilder). This function is only for special use. Standard is the folder mechanism via bImportDocument(clsImportDocument, clsImportBaseeImportMode)
Public methodbImportFolderNotesByAccess
Import linked document to different objects in the folder object. Table: MARIProjektFolderNotes. See clsImportDocument.
Public methodbImportGroup
Import one line in the Group Table. See clsImportGroups.
Public methodbImportGroupsByAccessDatabase
Imports from the Access database the table MARIProjektImportGroups. Will import groups to:

View: MARIGroupsTable: MPGruppen

View: MARIProjectGroupsTable: MPProjektGruppen

See clsImportGroups.
Public methodbImportItemBookingLine
Import one item time booking. clsImportItemBooking
Public methodbImportItemBookingLinesCollection
Import a collection of clsImportItemBooking objects
Public methodbImportItemBookingsByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportItemBooking. See clsImportItemBooking.
Public methodbImportItemByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportOITM. See clsImportItem.
Public methodbImportKnowledgeBaseEntry
Import a new knowledge base entry. See clsImportKnowledgeBaseEntry for details.
Public methodbImportKnowledgeBaseEntryByAccess
Import the table MARIProjektImportKnowledgeBaseEntry out of the MS Access database. See clsImportKnowledgeBaseEntry.
Public methodbImportKnowledgeBaseEntryLanguage
Import a knowledge base entry language to an already existing knowledgebase entry. See clsImportKnowledgeBaseEntryLanguage for details.
Public methodbImportKnowledgeBaseEntryLanguageByAccess
Import the table MARIProjektImportKnowledgeBaseEntryLanguage out of the MS Access database. See clsImportKnowledgeBaseEntryLanguage.
Public methodbImportMARIUser
Import a new MARI Project user (internal user [Professional, Limited] or customer portal user). See clsImportMARIUser.
Public methodbImportMenuRightsByAccess
Reads the MARIProjektImportData.mdb and the table MARIProjektImportSetupMenuRights.
Public methodbImportPhase
Import one new phase into a phase structure of an existing project. See clsImportPhase for details.

Hint: The validation of a phase structure in with the nImportMode=ValidateOnly or ValidateStore_Feedback will not consider the Parent Property. This will work only, when the previous phase has been imported.

Public methodbImportPhaseCollection
Import a collection of clsImportPhase objects See clsImportPhase for details.
Public methodbImportPhasePredecessor
Import a relationship between two phases (of the same project and in the same planningversion). Phases must exist. See clsImportPhasePredecessor for more details.
Public methodbImportPhasesByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportProjectPhases. See clsImportBase.eImportMode for tables in MS Access updated, when a phase is stored.

See clsImportPhase for the required fields in the table.

Public methodbImportPlanning
Imports a planning line line to the database. See clsImportPlanning.
Public methodbImportProject
Import one project master with the object clsImportProject.
Public methodbImportProjectCollection
Import a collection of clsImportProject objects.
Public methodbImportProjectGroup
Import one line in the Project Group Table. See clsImportProjectGroups.
Public methodbImportProjectsByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportProjects. See clsImportProject.
Public methodbImportPurchaseProcess
Import one Purchase process. See clsImportProjectPurchaseProcesses.
Public methodbImportPurchaseProcessByAccessDatabase
Import purchase processes using the table: MARIProjektImportPurchaseProcesses. See clsImportProjectPurchaseProcesses.
Public methodCode examplebImportPurchaseProcessDocument
Public methodbImportPurchaseProcessDocumentsByAccess
Imports positions to purchase documents and its positions. Uses the clsImportPurchaseProcessDocument class for the head and the clsImportPurchaseProcessDocumentPositions class for the positions. Uses the tables MARIProjektImportPurchaseProcessDocument and MARIProjektImportPurchaseProcessDocumentPositions.
Public methodbImportPurchaseProcessPosition
Import one Purchase process position. See clsImportProjectPurchaseProcessPositions.
Public methodbImportPurchaseProcessPositonsByAccessDatabase
Imports Positions to a puchase process using the access table MARIProjektImportPurchaseProcessesPositions. See clsImportProjectPurchaseProcessPositions.
Public methodbImportQualification
Import a qualification master data. See clsImportQualification for details.
Public methodbImportQualificationByAccess
Import the table MARIProjektImportQualifications out of the MS Access database. See clsImportQualification.
Public methodbImportQualificationPlan
Import a qualification plan (link between employee and qualification). See clsImportQualificationPlan for details.
Public methodbImportQualificationPlanByAccess
Import the table MARIProjektImportQualificationPlans out of the MS Access database. See clsImportQualificationPlan.
Public methodbImportQualificationTask
Import a qualification task. See clsImportQualificationTask for details.
Public methodbImportQualificationTaskByAccess
Import the table MARIProjektImportQualificationTasks out of the MS Access database. See clsImportQualificationTask.
Public methodbImportQualificationTaskPositionsByAccess
Import the table MARIProjektImportWorkItemServiceTaskPositions out of the MS Access database. See clsImportWorkItemServiceTaskPosition for details.
Public methodbImportQualificationTaskResource
Import a qualification master data. See clsImportQualification for details.
Public methodbImportQualificationTaskResourceByAccess
Import the table MARIProjektImportWorkItemQualificationTaskResource out of the MS Access database. See clsImportQualificationTaskResource.
Public methodbImportQualificationTasksPosition
Import positions (participants and service) for qualification task into MARIProject. See clsImportQualificationTaskPos for details.
Public methodbImportQualityProcess
Creates a new Quality Process Definition for logistic (goods receipts or goods delivery) and for the service module. See clsImportQualityProcess for details.
Public methodbImportQualityProcessesByAccessDatabase
Reads from table MARIProjektImportQualityProcess to import qualtiy processes. See clsImportQualityProcess for details.
Public methodbImportQualityProcessQuestion
Addas a question to a Quality Process / Checklist for the service module.
Public methodbImportQualityProcessQuestionLimits
Imports for a Checklist/Question MinMax Limits linked to an equipment category or to a Supplier linked to an equipment category (via BPCatalog).
Public methodbImportQualityProcessQuestionLimitsByAccessDatabase
Reads the MS Access table MARIProjektImportQualityProcessQuestionLimits to import CheckList-Question-Limits. See clsImportQualityProcessQuestionLimits for details.
Public methodbImportQualityProcessQuestionsByAccessDatabase
Reads from the MS Access table: MARIProjektImportQualityProcessQuestions. See clsImportQualityProcessQuestion for details.
Public methodbImportResourcePool
Import one Resource Pool. See clsImportResourcePool.
Public methodbImportResourcePoolCollection
Import a collection of resource pool clsImportResourcePool objects.
Public methodbImportResourcePoolsByAccessDatabase
Imports resource pools from database MARIProjektImportResourcePool. See clsImportResourcePool for details.
Public methodCode examplebImportSalesContractDocument
Public methodbImportSalesContractDocumentsByAccess
Import Sales Documents and positions from the access database out of the tables: MARIProjektImportSalesContractDocument and MARIProjektImportSalesContractDocumentPositions. See clsImportSalesContractDocument and clsImportSalesContractDocumentPositions.
Public methodbImportService
Import one Service Master. See clsImportService.
Public methodbImportServicePlan
Import a service plan. A service plan stores start date and cylce of the service tests to be done. See clsImportWorkItemServicePlan for details.
Public methodbImportServicePlanByAccess
Import a service plan using the table MARIProjektImportWorkItemServicePlan out of the MS Access database. See clsImportWorkItemServicePlan for details.
Public methodbImportServicePlanPosition
Stores spare parts and services to a service plan. See clsImportWorkItemServicePlanPosition for details.
Public methodbImportServicePlanPositionByAccess
Import the table MARIProjektImportWorkItemServicePlanPositions out of the MS Access database. See clsImportWorkItemServicePlanPosition for details.
Public methodbImportServicePlanTemplate
Import a service plan template object. clsImportWorkItemServicePlanTemplate for details.
Public methodbImportServicePlanTemplateByAccess
Import the table MARIProjektImportWorkItemServicePlanTemplate out of the MS Access database. See clsImportWorkItemServicePlanTemplate.
Public methodbImportServicePlanTemplatePosition
Import a position line to the template. A position can link a source or add spare parts. See clsImportWorkItemServicePlanTemplatePosition for details.
Public methodbImportServicePlanTemplatePositionByAccess
Import the table MARIProjektImportWorkItemServicePlanTemplatePos out of the MS Access database. See clsImportWorkItemServicePlanTemplatePosition.
Public methodbImportServicesesByAccess
Service Master: Reads the MARIProjektImportData.mdb and the table MARIProjektImportService. See clsImportService.
Public methodbImportServiceTask
Import service tasks, internal service tasks or result tasks into MARIProject. See clsImportWorkItemServiceTask for details.
Public methodbImportServiceTaskPositionsByAccess
Import the table MARIProjektImportWorkItemServiceTaskPositions out of the MS Access database. See clsImportWorkItemServiceTaskPosition for details.
Public methodbImportServiceTaskResults
Import results for checklists linked to positions of service tasks, internal service tasks or result tasks into MARIProject. See clsImportWorkItemServiceTaskResults for details.
Public methodbImportServiceTaskResultsByAccess
Import the table MARIProjektImportWorkItemServiceTaskResults out of the MS Access database. See clsImportWorkItemServiceTaskPosition for details.
Public methodbImportServiceTasksByAccess
Import the table MARIProjektImportWorkItemServiceTask out of the MS Access database. See clsImportWorkItemServiceTask for details.
Public methodbImportServiceTasksPositions
Import positions for service tasks, interal service tasks or result tasks into MARIProject. See clsImportWorkItemServiceTaskPosition for details.
Public methodbImportServiceTasksResources
Import resources for service tasks, internal tasks, result tasks or qualification task into MARIProject. See clsImportWorkItemServiceTaskResource for details.
Public methodbImportServiceTasksResourcesByAccess
Import the table MARIProjektImportWorkItemServiceTaskPositions out of the MS Access database. See clsImportWorkItemServiceTaskPosition for details.
Public methodbImportServiceTasksRessourcesByAccess
Not implemented
Public methodbImportServiceTaskStatus
Changes the status of an existing service tasks, internal service tasks or result tasks. See clsImportWorkItemServiceTaskStatus for details.
Public methodbImportSkill
Import Skill Master. See clsImportSkill.
Public methodbImportSkillByAccessDatabase
Reads the MARIProjektImportData.mdb and the tables MARIProjektImportSkills. See clsImportSkill.
Public methodbImportSupportIssue
Import one clsImportIssue
Public methodbImportSupportIssueAttachment
Import a attchment to a support issue (ticket)
Public methodbImportSupportIssueAttachmentByAccessDatabase
Import from the table MARIProjektImportSupportIssueAttachment out of MS Access to add attachments to a support ticket. See clsImportSupportIssueAttachment.
Public methodbImportSupportIssueByAccessDatabase
Import from the table MARIProjektImportSupportIssue out of MS Access. see clsImportSupportIssue.
Public methodbImportSysMasterProperty
Creates a system property used by several dimensions. See clsImportSysMasterProperties for details.
Public methodbImportTenantAction

Import the "to be executed" Action in the master Datbase(=Organizer of the tanants). See clsImportTenantAction. The execution on the remote database will be done via TenantExecuteLocalAction(clsImportTenantAction).

Public methodbImportTenantBatchLog
Import a new entry into the batch log table. See clsImportTenantBatchLog.
Public methodbImportTenantCustomer
Import a new tenant customer. See clsImportTenantCustomer.
Public methodbImportTenantEnvironment
Import a new network/cloud environment. See clsImportTenantEnvironment.
Public methodbImportTenantMonitorAppInstallation
Import one database record from the monitored databases. See clsImportTenantMonitorAppInstallation.
Public methodbImportTenantMonitorAppInstallations
Import one database record from the monitored databases. See clsImportTenantMonitorAppInstallation.
Public methodbImportTenantMonitorDatabase
Import one database record from the monitored databases. See clsImportTenantMonitorDatabase.
Public methodbImportTenantMonitorDatabases
Import one database record from the monitored databases. See clsImportTenantMonitorDatabase.
Public methodbImportTenantMonitorEnvironment
Import a new network/cloud environment. See clsImportTenantMonitorEnvironment.
Public methodbImportTenantMonitorMachine
Import one database record from the monitored databases. See clsImportTenantMonitorMachine.
Public methodbImportTenantMonitorMachines
Import one database record from the monitored databases. See clsImportTenantMonitorMachine.
Public methodbImportTextModulesByAccess
Import text modules out of the table MARIProjektImportTextModules. See clsImportTextModules.
Public methodbImportTimeKeepingByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportLine. See clsImportLine.
Public methodCode examplebImportTimeKeepingLine
Import one time booking object clsImportLine
Public methodbImportTimeKeepingLinesCollection
Import a collection of time boolings (clsImportLine) objects
Public methodbImportTrainingCourse
Imports a new training course or event to the Event Master.
Public methodbImportTrainingCourseOption
Import a new selectable option to a training course/event
Public methodbImportTrainingCoursePosition
Import reservation fee and material linked to a training course/event.
Public methodbImportTrainingCourseResources
Import employees, equipment or external speakers to a training course/event
Public methodbImportTrainingCourseScheduleDate
Import an additiona plan date to a trainingn corse
Public methodbImportTrainingParticipant
Import a new training participant. This is either a link to a customer contact person, an employee or a free participant. See clsImportTrainingParticipant
Public methodbImportTrainingRegistration
Import a registration for an existing participant to an existing training Course
Public methodbImportTravelCategoryAccountByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportTravelCategory
Public methodbImportTravelCategoryByAccessDatabase
Reads the MARIProjektImportData.mdb and the table MARIProjektImportTravelCategory
Public methodbImportUserDefinedField
Import one user defined field. See clsImportUserDefinedField.
Public methodbImportUserDefinedFieldsByAccess
Reads the MARIProjektImportData.mdb and the table MARIProjektImportUserDefinedFields to create user defined fields. See clsImportUserDefinedField.
Public methodbImportUserGroupsByAccess
Reads the MARIProjektImportData.mdb and the table MARIProjektImportSetupUserGroups
Public methodbInit
(Optional Initialisation) Used only for compatibility
Public methodbInitERPConnect
Internal function. This function is used by the MARINGO Web Service to access the MARI Interface functionality
Public methodCode examplebInitInterface
Automatic Initialization All Settings to connect to the MARIProject database are read automatically.
Public methodbInitInterface(Int32)
Automatic Initialization All Settings to connect to the MARIProject database are read automatically
Public methodCode examplebInitInterface(String, String, String, String)
Initialization of the interface with connectivity to the MS-SQL Server of the MARIProject and the SBO databases. The SBO database are indirectly linked via the MPSysConnections table in the MARIProject database.
Public methodCode examplebInitInterface(String, Int32, String, String, String)
Initialization of the interface with connectivity to the HANA Appliance of the MARIProject and the SBO schemas. The SBO database are indirectly linked via the MPSysConnections table in the MARIProject schema.
Public methodbInitInterfaceFromRestService Obsolete.
Internal function. This function is used by the MARINGO REST Service to access the MARI Interface functionality
Public methodbInitInterfaceFromWebService(clsDSN) Obsolete.
Internal function. This function is used by the MARINGO Web Service to access the MARI Interface functionality
Public methodbInitInterfaceFromWebService(NameValueCollection) Obsolete.
Internal function. This function is used by the MARINGO Web Service to access the MARI Interface functionality
Public methodbLoadImportObjectFromRow
function to read from MS Access. Internally used by DTW Wizard
Public methodbReadBusinessUnitMasterFromDBAndSaveInAccess
Reads all business units from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadBusinessUnitSettingsMasterFromDB2Batch
Reads all business unit settings from an existing MARIProject Database to the oBatchImport collection
Public methodbReadBusinessUnitSettingsMasterFromDBAndSaveInAccess
Reads all business unit settings from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadBusinessUnitSettingsMatrixMasterFromDB2Batch
Reads all business unit setting matrix from an existing MARIProject Database to the oBatchImport collection
Public methodbReadBusinessUnitSettingsMatrixMasterFromDBAndSaveInAccess
Reads all business unit setting matrix from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadCardCodeFromDBAndSaveInAccess
Reads all CardCodes from one company and store the information in to the Access database MARIProjektImportOCRD
Public methodbReadClassNotificationDB2Batch
Reads all company settings from an existing MARIProject Database to the oBatchImport collection
Public methodbReadCompanySettingsMasterFromDB2Batch
Reads all company settings from an existing MARIProject Database to the oBatchImport collection
Public methodbReadCompanySettingsMasterFromDBAndSaveInAccess
Reads all company settings from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadContractPositionsMasterFromDBAndSaveInAccess
Reads all contract positions from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadContractsMasterFromDBAndSaveInAccess
Reads all projects from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadCustomerLocationTreeElementFromDB2Batch
Public methodbReadCustomerLocationTreeFromDB2Batch
Public methodbReadCustomerServiceObjectsFromDB2Batch
Public methodbReadEmployeeAnnualVacationFromDB2Batch
Public methodbReadEmployeeCostRatesFromDB2Batch
Public methodbReadEmployeeCostRatesProjectFromDB2Batch
Public methodbReadEmployeeMasterFromDB2Batch
Read all employee master data from the database
Public methodbReadEmployeeMasterFromDBAndSaveInAccess
Reads all employees from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadEmployeeOrganisationFromDB2Batch
Public methodbReadEmployeePeriodFromDB2Batch
Public methodbReadEmployeeProjectLinkFromDB2Batch
Public methodbReadEmployeeServiceLinkFromDB2Batch
Public methodbReadEmployeeTravelMilageFromDB2Batch
Public methodbReadEquipmentCategoryBPCatalogFromDB2Batch
Public methodbReadEquipmentLocationFromDB2Batch
Public methodbReadEquipmentMasterAssemblyLinkFromDB2Batch
Public methodbReadFormRightsMasterFromDB2Batch
Reads all form rigts (MPBerechtigungen) to the oBatchImport collection
Public methodbReadFormRightsMasterFromDBAndSaveInAccess
Reads all form rights from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadItemBookingFromDBAndSaveInAccess
Reads all item bookins from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadItemMasterFromDBAndSaveInAccess
Reads all items from company 1 and store the information in to the Access database. Table: MARIProjektImportOITM.
Public methodbReadMenuRightsMasterFromDB2Batch
Reads all Menu Rigts (MPSysMenu) to the oBatchImport collection
Public methodbReadMenuRightsMasterFromDBAndSaveInAccess
Reads all form rights from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadProjectContractPositionFromDB2Batch
Reads all contract positions from the Excel import stack
Public methodbReadProjectMasterFromDBAndSaveInAccess
Reads all projects from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadProjectPhasePredecessorFromDB2Batch
Reads all project Phase Predecessors from an existing MARIProject Database to the oBatchImport collection
Public methodbReadProjectPhasesMasterFromDB2Batch
Reads all project phases from an existing MARIProject Database to the oBatchImport collection
Public methodbReadProjectPhasesMasterFromDBAndSaveInAccess
Reads all project phases from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadProjectPurchaseProcessPositonsFromDB2Batch
Reads all purchase process positions from the excel import stack
Public methodbReadResourcePoolLinkFromDBAndSaveInAccess
Reads all resource pool links from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadResourcePoolsMasterFromDBAndSaveInAccess
Reads all resource pools from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadServiceObjectCategoryFromDB2Batch
Public methodbReadServicesesMasterFromDBAndSaveInAccess
Reads all serviceses from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadTimeKeepingMasterFromDBAndSaveInAccess
Reads all time keepings from an existing MARIProject Database and store the information in to the Access database.
Public methodbReadTrainingCourseFromDB2Batch
Public methodbReadTrainingCoursePosFromDB2Batch
Public methodbReadTrainingParticipantFromDB2Batch
Public methodbReadTrainingResourcesFromDB2Batch
Public methodbReadTravelCategoriesAccountFromDBAndSaveInAccess
Reads all travel categories account from MARIProject and store the information in to the Access database.
Public methodbReadTravelCategoriesFromDBAndSaveInAccess
Reads all travel categories from MARIProject and store the information in to the Access database.
Public methodbReadUserGroupsMasterFromDBAndSaveInAccess
Reads all user groups from an existing MARIProject Database and store the information in to the Access database.
Public methodbRequestMapGeoCoordinates
Uses Google or OpenStreet-Map to compute the geocoordinates. Please activate the interface in the MARIProject Settings.

For Google you need a code and the service will cost money. see https://developers.google.com/maps/documentation/geocoding/usage-limits

Public methodbSaveLine Obsolete.
Old function: Import one clsImportLine for an employee time keeping line. Same function as bImportTimeKeepingLine(clsImportLine, clsImportBaseeImportMode).
Public methodCode examplebUserLogin
User Login as a MARIProject User into the initialized Interface
Public methodbUserLoginDomain
Automatic login by the domain account this interface is used in.
Public methodCheckCustomerLogin
Check if the user name and password of a customer user in MARIProject is valid.
Public methodClearBusinessLogicBusyCash
When your application is idle, the business logic (Engine) must clear the busy cash. Changes in database object will then be loaded.

User in .net the Application.Idle event to issue this Clear Cash

Public methodCloseERPDocument
Internal Function: Close a Document in SAP
Public methodCode exampleCreatePurchaseDocumentFromPurchaseProcess
Creates a new purchase document based on the open positions in the purchase process. The interface only filters the accounting positions by date.

The object will be created, but not stored. Please call bImportPurchaseProcessDocument(clsImportPurchaseProcessDocument, clsImportBaseeImportMode) for the import.

Public methodCode exampleCreateSalesDocumentFromSalesContract
Creates a sales document object based on the invoice mechanism. (Preparation)

The object will be created, but not stored. Please call bImportSalesContractDocument(clsImportSalesContractDocument, clsImportBaseeImportMode) for the import.

Public methodEmployeeNumber
Returns the employee number of the current user.
Public methodGetDocEntriesByImportEnt
Internal function to read documents (OINV, INV1...) from the SBO Database.
Public methodGetDocEntryByDocNum
Internal Function: Get [DocEntry] from DocNum. When several series are used, the result is not unique. Please add the DocSeries value
Public methodGetGetOpenPaymentValue
Internal function to read payment value from document.
Public methodGetTenantEnvironment
Function to get the customer tenant environment information based on the customer name and the MARIProject license content
Public methodImportBasePropertyImportable
Public methodlDate2Period
Calculates a date in to the MARIProject period
Public methodLoadImportDefinition
Function will read from the importClass Properties the values for the Excel, CSV import
Public methodLogout
Logoff and close the connection to the MARIProject database
Public methodmaGetSystemTime
Returns the system time from the SQL Server of the MARIProject database
Public methodMARIContractBOMPosImport
Import BOM (bill of material) structures in to a sales contract.
Public methodMARISyncSupportAttachment
(Internal) Function to be called from the MARI WebService to synchronize support tickets attachments documents between MARIProject Databases
Public methodMARISyncSupportMapping
(Internal) Function to be called from the MARI WebService to synchronize support ticket dimensions MARIProject Databases
Public methodMARISyncSupportTicket
(Internal) Function to be called from the MARI WebService to synchronize support tickets between MARIProject Databases
Public methodMoveBookedEntriesInHistory
Copies the anready imported lines in the Access database from MARIProjektImportLine in the table MARIProjektImportLineHistory
Public methodMPInternCheckFunction
Function used for internal use only. Works only on MARINGO internal database.
Public methodnGetDeviceFromERPDatabaseServer
Internal function. This function is used by the MARINGO Web Service to access the MARI Interface functionality
Public methodnLoginSBOMandant
Internal function. This function is used by the MARINGO Web Service to access the MARI Interface functionality
Public methodoColIssues(String, Int32)
List all open support tickets for a customer
Public methodoColIssues(String, Int32, Int32)
List all open support tickets for a customer
Public methodoColIssuesExcludeStatus
List all open support tickets for a customer
Public methodoGetAttachments
Export the attachments of a support ticket issue as a list of clsImportSupportIssueAttachment.
Public methodoGetBusinessPartner
Export one Businesspartner
Public methodoGetDocument
Loads from SBO (via companyid) sbo documents into the class clsImportERPDocument
Public methodCode exampleoGetGroups
Returns all Groups values to find an id by name. See also clsImportGroups.
Public methodoGetIssue
Export a Support ticket issue. See clsImportSupportIssue.
Public methodoGetItem
Export one Item
Public methodoGetListContractToProject
Returns a Generic.List of key pairs of contracts for one project number (ContractID, ContractMatchcode). Returns null for internal projects. Returns empty List, for customer projects, internal projects with contract, but no valid open contract.
Public methodoGetListFolderGroupsByClassID
Returns a Generic.List of key pairs of folders for folder import. (MARIProject DMS System). See clsImportDocument.
Public methodoGetListFolderGroupsByDataType
Returns a Generic.List of key pairs of folders for folder import. (MARIProject DMS System). See clsImportDocument.
Public methodoGetListFolderGroupsForProjects
Returns a Generic.List of key pairs of the DMS Folder Names for the project dimension.
Public methodoGetListOfDocumentsInFolder
Load document entries from the folder mechanism to a specifica database. Does not load the file itself, but the list.
Public methodoGetListOpenItems
Returns open Items for customers/suppliers
Public methodoGetListPhasesOfProjectForPlanning
Returns a Generic.List of key pairs (PhaseID, Phase) for all (or only active) phases of a project
Public methodoGetListPhasesOfProjectForPlanningWithoutClosed
Returns a Generic.List of key pairs (PhaseID, Phase) for all (or only active) phases of a project
Public methodoGetListPhasesOfProjectForTimeBooking
Returns a Generic.List of key pairs (PhaseID, Phase) for all (or only active) phases of a project
Public methodoGetListPositionsOfContractByItemCode
Returns Contract Positions of the type: item at cost, item at fixed price
Public methodoGetListPositionsOfContractForPlanning
Returns a Generic.List of key pairs contract positions to one contract (Services AtCost+AtFixedPrice)
Public methodoGetListProjectsForFolderImport
Returns a Generic.List of key pairs of projects for folder import.
Public methodoGetListProjectsForPlanning
Returns a Generic.List of key pairs of projects available for planning for a selected employee
Public methodoGetListProjectsForTimeBooking
Returns a Generic.List of key pairs of projects for time keeping for a selected employee
Public methodoGetListPurchaseProcessesToProject
Returns a Generic.List of key pairs of purchase processes for one project number (POProcessID, Matchcode)
Public methodoGetListTrainingCources
Returns a Generic.List of key pairs of Trainings cources sort by Start Date
Public methodoGetProjectCode
Reads one project from SAP Business One OPRJ table into the class clsImportERPProjectCode.
Public methodPrepareForBatchImport
Prepare the object, before data is attached from DTW or Excel
Public methodCode exampleReadDataFromDB
Function to read data from MARIProject database. You can use any SELECT statement to fill a datatable. Only SELECT satements are allowed
Public methodSAPVersionNumber
Version Number of SAP
Public methodsConnectionInfo
Displays the connetion to the MARIProject Database
Public methodsConnectionInfoWithID
Return a unique encrypted connection Identifier
Public methodsEngineFirstDatabaseLink
Returns linked database information for the WebService and RestService indirectly via web.config
Public methodsEngineFirstDatabaseLinkDescription
Returns linked database information for the WebService and RestService indirectly via web.config
Public methodsGetNewContractNumber
Creates a new visible contract number. This provides the same functionality as in the contract creation wizard.
Public methodsGetNewEmployeeNumber
This functions suggests a new employee number. Same function as in the employee creation wizard entering a "*".
Public methodsGetNewParticipantNumber
This functions suggests a new participant number for the training cource or newsletter module. Same function as in the participant creation wizard entering a "*".
Public methodsGetNewPreliminaryProjectNumber
Returns a new free Preliminary Project number using the same function as the creation wizard.
Public methodsGetNewProjectNumber
Returns a new free Project number using the same function as the creation wizard.
Public methodsGetNewPurchaseProcessNumber
Creates a new visible purchase process number. This provides the same functionality as in the purchase process creation wizard.
Public methodsInfoContracts
List of Project Contracts. 12345;ContractName. ID is the internal contract id. Lists only valid contracts for the selected project.
Public methodsInfoContractsPositionsEmployees
List of Contract Positions (Services) for a Project: 12345;Matchcode;12346;Matchcode. ID is the internal contract position id.
Public methodsInfoEmployees
List of Active Employees as a list "M0001";"Manager, Marc"
Public methodsInfoPhases
List of Project Phases
Public methodsInfoProjects
List of Active Projects
Public methodsLanguages
List of license languages based on the license. 1; English;3;German/Deutsch... List by ; with two columns. First is the internal language code of MARIProject.
Public methodsPrintErrors
Error Handling: Returns the errors out of the Engine and from the oErrors Object.
Public methodsVersionInfoEngine
Returns the version number of the MARIEngine for example: 5.2.003 (x64)
Public methodsVersionInfoInterface
Returns the version number of the based MARIEngine.dll major.minor.version or major.minor.version.fix and platform
Public methodTenantExecuteLocalAction
Method to execute a local Action. See clsImportTenantAction. This method may be called out of the external client via MARIWebService. MARIWebService calls this function to execute the action

Collects current information about a server, database server, rdp client, standard client (perhaps at a customer location).

Changes a local setting (Database setting, User prevelidges, etc)

Public methodTenantExecuteLocalActionBatch
Method called from MARIProject64.exe /TenantMonitoring
Public methodTenantExecuteQueueAction
Method to queue a local Action. See clsImportTenantAction. This method may be called out of the external client via MARIWebService/MARIRestService.
Public methodTenantProcessResultAction
Process Results from the client on the Master Database (at MARINGO or at the partner)
Public methodTenantProcessResultsOfAction
Method to process (store) the results in the master Datbase(=Organizer of the tanants). For example to store the collected database information
Public methodTrainingCourseFromScheduleDates
This function will return the EventID from a ScheduleID and create the Event if it does not exists yet.
Public methodTrainingCourseWebFrontEndHandshake
This function will read information about an event and about the participant. Mainly used with the newsletter token from the invitation.
Public methodvTranslateContent
Internal function to translate content of the demo database source into the destination language
Top
Fields
  NameDescription
Public fieldbLogginMode4UnitTest
Internal Property to add more logging information
Public fieldoErrors
Collects all errors/messages while importing data from access
Public fieldoTask
Link to clsTask for a task bar during the import
Public fieldsResult
Carries the return text from the attendance import
Public fieldStepsPerImport
Parameter used for batch processing of one dimension in several steps
Top
Remarks
Using MARI Interface is effected via the .NET 4.6 and above interface. An example program provided on CD-ROM is exemplifying elementary DLL use. The example program has been developed using VisualStudio 2015
Examples
Initialization Example
//Make sure, that the file MARIProjectConnection.xml is in the same folder as MARIEngine.dll. The first link to a MARIProject database will be used
MARIInterface.MPInterface MPInterface;
MPInterface = new MARIInterface.MPInterface();
//Initialize the interface
if (MPInterface.bInitInterface()) {
    // MARIProject user and password
    if (MPInterface.bUserLogin("MARINGO", "")) {

        // Start your code here...
        this.oMPInterface = MPInterface;

        //Add an Application.Idle Handler to call
        oMPInterface.ClearBusinessLogicBusyCash(); // when you are idle. This will allow to reload changes from other users in your Interface.

    } else {
        //                                           Read results from oError Object
        throw new SystemException("Login failed: " + MPInterface.oErrors.PrintErrors());
    }
} else {
    //                                           Read results from oError Object
    throw new SystemException("Login failed: " + MPInterface.oErrors.PrintErrors());
}
See Also