MARIProject Database Structure

Table Name:MPVKVertraegePositionen
View Name:MARIContractPositions
Group:Group: Contract
Description:Contract Management: Contract positions (also service master positions)
ClassID: 74. See Overview of ClassIDs by table.

Field View(engl.field)/Type Description Related
Vertragsposition ContractPositionID

INT Primary

VertragsID ContractID

INT Index

Contract MPVKVertraege.VertragsID
ParentID ParentID

INT Index

MPVKVertraegePositionen.Vertragsposition
Position PositionID

SMALLINT Index

Position ID
Indent Indent

INT

PositionText Position

NVARCHAR (50)

Position text "1.2.3"
PosTyp PositionType

SMALLINT

clsImportProjectContractPosition_eContractPositionType
Leistungsnummer ServiceNumber

NVARCHAR (20) Index

MPLeistung.Leistungsnummer
KHKArtikel ItemCode

NVARCHAR (50)

OITM.ItemCode
KHKMandant Company

SMALLINT

MPSysConnections.CompanyID (WHERE ConnectionType=6)
ReisekostenArt TravelCategory

NVARCHAR (20)

MPReise2KostenArten.Reisekostenart
EquipmentCategory EquipmentCategory

INT

MPEquipmentCategory.EquipmentCategory
EquipmentSubject EquipmentSubject

NVARCHAR (20)

MPEquipmentCategorySubject.EquipmentSubject
EquipmentParentPos EquipmentParentPos

INT

ArbeitspaketNumber WorkpackageNumber

NVARCHAR (20)

MPArbeitspaket.ArbeitspaketNumber
VKPosIndex SalesContractPosition

INT

VKPosIndexText SalesContractPositionText

NVARCHAR (20)

Bezeichnung1 Description1

NVARCHAR (200)

Bezeichnung2 Description2

NVARCHAR (200)

Matchcode Matchcode

NVARCHAR (200) Index

Menge Quantity

NUMERIC(19,6)

Qty = BaseQty*Parent Qty
MengeMax MaximumQuantity

NUMERIC(19,6)

MengeMaxTyp MaxQuantityType

TINYINT

MengeVorgabe DefaultQuantity

NUMERIC(19,6)

MengenTyp QuantityType

INT

clsImportProjectContractPosition_eQuantityType
MengenOptionen QuantityOption

SMALLINT (0=false,-1=true)

Flags for Quantity
  • 2=Edittable
  • 4=Max Quantity
  • 8=Default Quantity
  • 16=Quantity is invoiceable
  • 32=Quantity from fixed price
  • 64=Qty is mandatory
  • 128=BOM quantity
ZusammenfassungMode SummaryMode

INT

BasisMenge BaseQuantity

NUMERIC(19,6)

Qty by contract (sub contract)
MengeAnzahl QuantityCount

NUMERIC(19,6)

Quantity of equipment for rental
MengeAnzahlText QuantityCountText

NVARCHAR (100)

MengenFormelID QuantityFormularID

INT Index

MPSetupMengenFormel.MengenFormelID
BasisAnzahl BasisAnzahl

NUMERIC(19,6)

RundungsMethode RoundingMethodID

INT

MPVertragRundung.RundungsMethode (WHERE ClassID=71)
CalculationMethod CalculationMethod

INT Index

MPContractCalculation.CalculationMethod
Einzelpreis NetUnitPriceFC

NUMERIC(19,6)

EinzelPreisFW UnitPriceFC

NUMERIC(19,6)

PreisTyp PriceType

SMALLINT

clsImportProjectContractPosition_eSalesPriceType
PreisOptionen PriceOption

SMALLINT (0=false,-1=true)

EinzelpreisBeleg UnitPriceDocument

NUMERIC(19,6)

Rabatt DiscountPercent

NUMERIC(19,6)

EKEinzelpreis POUnitPrice

NUMERIC(19,6)

Purchase Price in MARI System Currency. When EKPreisTyp=manual
EKPreisTyp POPriceType

SMALLINT

clsImportProjectContractPosition_ePurchasePriceType
EKEinzelpreisFW POUnitPriceFC

NUMERIC(19,6)

Purchase Price in special currency
EKPreisWKZ POPriceCurrency

NVARCHAR (3)

EKPreisKurs POPriceExchangeRate

Float

EKPreisKursHandling POPriceExchangeHandling

INT

EKPreisOptionen POPriceOption

SMALLINT

EKModus POMode

INT

EKPreisAufschlag POPriceSurplus

NUMERIC(19,6)

KostenAufschlagKalkulatorisch CostMarginImputed

Float

VerkaufsAufschlagKalkulatorisch SalesMarginImputed

Float

Abrechnungstyp StandardAccountingType

INT

AbrechnungTag AccountingDate

SMALLINT

Lieferant Vendor

NVARCHAR (20)

OCRD.CardCode
Lieferart PurchaseType

SMALLINT

clsImportProjectContractPosition_ePurchaseMode
AusgabeMethode IssueMethod

INT

Lieferdatum DeliveryDate

Datetime

Lieferzeit LeadTime

INT

MietStartDatum RentalStartDate

Datetime

Lagerort Warehouse

NVARCHAR (10)

OWHS.WhsCode
QuellLagerOrt SourceWarehouse

NVARCHAR (10)

OWHS.WhsCode
KHKVorPosID SourceContractPosID

INT Index

Fremdnummer ExternalNumber

NVARCHAR (40)

Fertigstellungsgrad DegreeOfCompletion

Single

HatFertigstellungsgrad UsesDegreeOfCompleation

SMALLINT (0=false,-1=true)

Zuschlaege TimeSurcharges

NVARCHAR (255)

Langtext AccountingInfo

NTEXT

Dimensionstext PositionInfo

NTEXT

OptionMemo OptionMemo

NTEXT

Rabattfaehig EntitledDiscount

SMALLINT (0=false,-1=true)

Mengeneinheit UoM

NVARCHAR (20)

AktivTyp ActiveType

SMALLINT

BPCatalogNumber BPCatalogNumber

NVARCHAR (50)

BelegHandling DocumentHandling

INT

HatFremdnummer HasExternalNumber

SMALLINT (0=false,-1=true)

IndexBehandlung IndexTreatment

SMALLINT

HatNummer HasNumber

SMALLINT (0=false,-1=true)

NummernKreisVon NumberRangeFrom

INT

NummernKreisBis NumberRangeTo

INT

SortierKZ OrderFlag

SMALLINT

ERDefinition RevenueReturnAccountDefinition

INT

GVPosID BaseContractPosition

INT Index

MPVKVertraegePositionen.Vertragsposition
GGMengeBestellt BalanceOrdered

NUMERIC(19,6)

GGMengeGeliefert BalanceDelivered

NUMERIC(19,6)

GGMengeRechnung BalanceInvoiced

NUMERIC(19,6)

GGDocReference BalanceLastDocReference

INT

Steuercode TaxCode

NVARCHAR (10)

Steuersatz TaxRate

NUMERIC(19,6)

Steuerklasse TaxClass

SMALLINT

SteuerManuell TaxManual

SMALLINT (0=false,-1=true)

SachkontoManuell GLAccountManual

SMALLINT (0=false,-1=true)

Sachkonto GLAccount

NVARCHAR (20)

OACT.AcctCode
OcrCode1 OcrCode1

NVARCHAR (20)

OOCR.OcrCode (WHERE [DimCode]=1)
OcrCode2 OcrCode2

NVARCHAR (20)

OOCR.OcrCode (WHERE [DimCode]=2)
OcrCode3 OcrCode3

NVARCHAR (20)

OOCR.OcrCode (WHERE [DimCode]=3)
OcrCode4 OcrCode4

NVARCHAR (20)

OOCR.OcrCode (WHERE [DimCode]=4)
OcrCode5 OcrCode5

NVARCHAR (20)

OOCR.OcrCode (WHERE [DimCode]=5)
TaxWtLiable TaxWtLiable

SMALLINT (0=false,-1=true)

TaxUsage TaxUsage

INT

TaxCSTcode TaxCSTcode

NVARCHAR (4)

TaxCFOPcode TaxCFOPcode

NVARCHAR (6)

LocationID LocationID

INT Index

ProduktID ProductID

INT Index

MPHotlineProdukt.ProduktID
Kostenbehandlung CostHandling

INT

KostenProzent CostPercentage

NUMERIC(19,6)

KostenAbschlag CostReduction

NUMERIC(19,6)

Lohnart PayrollType

NVARCHAR (20)

MPLohnArten.LohnArt
WartungsTyp MaintenanceType

INT

WartungsPeriodik RecurrentAccounting

INT

clsImportProjectContractPosition_eMaintenancePeriodic
WartungsSatz MaintenancePercent

NUMERIC(19,6)

WartungBasisPreis MaintenanceBasicPrice

NUMERIC(19,6)

WartungsReferenz MaintenanceReference

INT

WartungStart ServiceStartDate

Datetime

WartungEnde ServiceEndDate

Datetime

WartungsStichtagsTyp ServiceDueDateType

SMALLINT

clsImportProjectContractPosition_eMaintenanceDueDateType
WartungsStichtagsOffset ServiceDueDateOffset

SMALLINT

WartungsVertragsEnde ServiceContractEnd

Datetime

QualityProcess QualityProcess

INT

QualityProcessVK QualityProcessSales

INT

MPQualityProcess.QualityProcess
QualityStatus QualityStatus

INT

AlternativPosition Alternative

SMALLINT (0=false,-1=true)

AnzeigeImBelegFlagg DisplayInDocMode

INT

AbrechnungsHandling InvoiceHandling

INT

SubVertragsID SubContractID

INT Index

MPVKVertraege.VertragsID
SubVertragsPosition SubContractPosition

INT

MPVKVertraegePositionen.Vertragsposition
QuellVKBelPosID SourceSalesDocPosID

INT Index

MPVKVertraegeBelegePositionen.MPBelPosID
ProvisionsMode CommissionMode

INT

ProvisionsProzent CommissionPercent

NUMERIC(19,6)

ContractCommissionID ContractCommissionID

INT Index

AddOnCategory AddOnCategory

INT

MPTimeBookingAddOnCategory.AddOnCategory
WorkItemPosition WorkItemPosition

INT

ProRataID ProRataID

INT Index

MPSysProRata.ProRataID (WHERE ProRataType=478)
AccrualRuleID AccrualRuleID

INT Index

MPSysProRata.ProRataID (WHERE ProRataType=661)
ERPResourceCode ERPResourceCode

NVARCHAR (50) Index

ORSC.ResCode
ReiseZeitenMode TravelTimeMode

INT

Mode for timekeeping to enable the entry of travel time
ReiseZeitenErloeseFaktor TravelTimeSalesFactor

NUMERIC(19,6)

percentage to add travel time to service quanttiy
Height1 Height1

NUMERIC(19,6)

Hght1Unit Hght1Unit

SMALLINT

Width1 Width1

NUMERIC(19,6)

Wdth1Unit Wdth1Unit

SMALLINT

Length1 Length1

NUMERIC(19,6)

Len1Unit Len1Unit

SMALLINT

Volume Volume

NUMERIC(19,6)

VolUnit VolUnit

SMALLINT

Weight1 Weight1

NUMERIC(19,6)

Wght1Unit Wght1Unit

SMALLINT

KundenDokumente CustomerDocumentMode

SMALLINT (0=false,-1=true)

ErstanlageID CreateUser

NVARCHAR (4)

MPBenutzer.Benutzer (WHERE BenutzerTyp=1)
Erstanlage CreateDate

Datetime

AenderungID ChangeUser

NVARCHAR (4)

MPBenutzer.Benutzer (WHERE BenutzerTyp=1)
Aenderung ChangeDate

Datetime

UpdateStamp UpdateStamp

INT


Linked by

Table Description
MPCustomerEquipmentCard Advanced table to sbo standard customer equipment card
MPCustomerEquipmentLocation Current location of a CSO at the client/Project
MPDocumentInvoiceFlowPosition InvoicePaymentReportStore Positions
MPEKVertraegePositionenAkd Purchase Process: Accounting lines (due date, phase ...)
MPEquipmentDetails Equipment: Master Data "date from" based
MPEquipmentLocation Equipment: Current Location of this equipment
MPEquipmentSubjectBooking Time/Costbooking on Equipment data
MPGebinde Definition of a container carrying other goods
MPGebindeLocation Current location of a container
MPGebindeZeile Container Lines to see the goods in the container
MPHotlineAnfrage Support Module: Support Tickets, Tasks, Ideas, Dev Task, HR Tasks The type of ticket is defined by the field HotlineClassType.
DimensionHotlineClassType
Support Ticket17
Task676
Idea677
Development Task678
HR Task679
MPHotlineProdukt Support Module: Support Product: Master Data
MPHotlineProduktKunde Support Module: Support Product: Customer Product Link
MPHotlineProduktKundeBelege Support Module: Support Product: Linked invoice documents
MPPersonenProjektVorlagen Employee Master: Project link (standard vacation project...)
MPPersonenZeitenAktionen Attendance: Actions "in the door" (Lines per day)
MPPersonenZeitenAktionenArchiv Attendance: Actions "in the door" (Lines per day) History
MPPersonenZeitenVorerfassung Table to store activities, before they are linked to time bookings
MPProjektArbeitspaketerfassung Work Packages progress reporting by day
MPProjektArtikelerfassung Time Keeping: ProjectTimeKeepingItems: For items used in a project each entry is stored in this table. This table is also linked to the header: MPProjectBuchungskopf
MPProjektBuchungFavoriten Time Keeping: Favorits
MPProjektLeistungserfassung Time Keeping: ProjectTimeKeepingLinesServices: additional lines for the MPProjectBuchungserfassung for the project types: customer project and internal project with contract. This table stores the link to the contract and contract position
MPProjektPlanungsZeilen Planning: Master Planning lines
MPProjektPlanungsZeilenLog Planning: Master Planning lines History
MPReise2ZeileProjekt Travel Expenses Module: Trip receipt project line for invoice
MPTmpRptPrintPositionen Reporting: Temporary Table: Document Positions
MPTmpRptProjektPhaseLeistung Reporting: Temporary Table: Project Phase Service
MPTrainingRegistrationContractLink Training Module: Selection of billable contract positions (Contract from registration)
MPVKVertraegeBelegePositionen Contract Management: Document Positions
MPVKVertraegeCommissionPos Contract Management: Percentage for each position for the commission receipient
MPVKVertraegeEKPositionen Contract Management: Contract link to PO Process by position
MPVKVertraegeKundenDokumente Drawings to be created for the customer
MPVKVertraegePos2BelPos Contract Management: Contract document position to document position link
MPVKVertraegePos2EKPos Contract Management: Contract position to PO position link
MPVKVertraegePos2Service Contract Management: Contract position to Customer Service Object and parts
MPVKVertraegePositionen Contract Management: Contract positions (also service master positions)
MPVKVertraegePositionenAkd Contract Management: Contract positions accounting lines (due date, phase ...)
MPVKVertraegePositionenAufmassDimensionen Contract Position Workpackage definition: Dimension
MPVKVertraegePositionenAufmassWerte Contract Position Workpackage definition: Values
MPVKVertraegePositionenAufmassZeile Contract Position Workpackage definition: Structure Lines
MPVKVertraegePositionenDef Contract Management: Contract position extra field definition
MPVKVertraegePositionenEquipment Contract Management: Link an equipment to the contract position
MPVKVertraegePositionenPers Contract Management: Contract position employee link
MPVKVertraegePositionenPhasen Contract Management: Contract position phase link
MPVKVertraegePositionenTexte Contract Management: Contract position texts (standard definition)
MPVKVertraegeZahlungsplan Contract Management: Contract Invoicing plan
MPWorkItem The table is used basically for service task and other tasks. For each dimension using this table, special views have been created. See also the description of the field WorkItemType.
DimensionClassID/WorkItemTypeView
Service Task364MARIWorkItem_ServiceTask
Internal Service Task365MARIWorkItem_InternalServiceTask
Result Task456MARIWorkItem_ResultTask
Service Plan379MARIWorkItem_ServicePlan
Service Plan Template378MARIWorkItem_ServicePlanTemplate
Qualification493MARIWorkItem_Qualification
Qualification Plan494MARIWorkItem_QualificationPlan
Qualification Task495MARIWorkItem_QualificationTask
Business Partner Audit Template496MARIWorkItem_BPAuditTemplate
Business Partner Audit Plan497MARIWorkItem_BPAuditPlan
Business Partner Audit498MARIWorkItem_BPAuditTask
Trainings Course/Event/Meeting492MARIWorkItem_TrainingCourse
Part List401
Check List Limit471
Production Task522
MPWorkItemPosition Positions for Service Task, Internal Service Task, Result Task, Serice Plan, Qualification (Plan+Task), AP Audit (+Plan+Task), Training Cource
MPWorkItemResources Employees or Equipment necessary for the tasks


Back to table description

Database Version 80
© by MARINGO Computers GmbH, Cologne Germany