Table

RPayCivilContract

Civil contracts

Holds civil contracts with employees, such as contract dates, amount, contract group and a description of the work. Each row has its own contract ID. It links to the employee, the contract group and ledger dimensions.

Table name
RPayCivilContract
Module
Obsolete
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
CivilContractIdIdx
Replacement key
None
Key fields
ContractId
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ContractIdCode that identifies the contract.String
RPayCivilContractId
YesNone
AccountTypeType of account used, such as ledger, customer, vendor or bank.Enum
LedgerJournalACType (enum)
NoNone
AmountAmount of the contract.Real
RPayAmount
NoNone
CivilContractTypeCodeContract group that the contract belongs to.String
RPayCivilContractTypeCode
YesRPayCivilContractType.CivilContractTypeCodeNone
ContractDateDate of the contract.Date
DocumentDate
YesNone
ContractNumNumber of the contract.String
RPayCivilContractNum
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimensions for the contract.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValue.RecIdDimensionAttributeValueSet.RecIdNone
EmplIdThe employee who is party to the contract.String (20)
RHRMEmplId
YesRHRMEmplTable.EmployeeIdNone
EndDateDate the contract ends.Date
EndDate
NoNone
LedgerDimensionLedger account, with its dimensions, used for the contract.Int64
DimensionDynamicAccount
NoDimensionAttributeValueCombination.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReprNameName of the representative who acts for the party.String (60)
Name
NoNone
ReprReasonDocument or reason that gives the representative their authority.String (50)
RPayCivilContractReprReason
NoNone
ReprTitleNamePosition or title of the representative.String (100)
RPayCivilContractReprTitleName
NoNone
StartDateDate the contract starts.Date
StartDate
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkScopeFree-text description of the work covered by the contract.String (-1)
Notes
NoNone

Indexes (2)

  • CivilContractIdIdxPrimary index

    ContractId

    Unique, alternate key.

  • EmplIdIdx

    EmplId

    Not unique.

Relations (6)

Each relation joins RPayCivilContract to another table on the fields shown.

  • DefaultDimension → DimensionAttributeValue

    Join on DefaultDimension = DimensionAttributeValue.RecId

    Many RPayCivilContract records → exactly one DimensionAttributeValue record

  • DimensionAttributeValueCombination → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many RPayCivilContract records → zero or one DimensionAttributeValueCombination record

  • RHRMEmplTable → RHRMEmplTable

    Join on EmplId = RHRMEmplTable.EmployeeId

    Many RPayCivilContract records → exactly one RHRMEmplTable record

  • RPayCivilContract → RPayCivilContract

    Join on ContractId = RPayCivilContract.ContractId

    Cardinality not set in the metadata.

  • RPayCivilContractType → RPayCivilContractType

    Join on CivilContractTypeCode = RPayCivilContractType.CivilContractTypeCode

    Many RPayCivilContract records → exactly one RPayCivilContractType record

  • DimensionAttributeValueSet → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many RPayCivilContract records → zero or one DimensionAttributeValueSet record

Get this data out

No public entity reads from RPayCivilContract. Its data is only reachable through the application, a custom entity or a database export.

Need help with RPayCivilContract in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk