Table

MarkupPeriodChargeInvoiceLineBaseRelationship

Period charge line invoice base relations

Links a line invoice base to the source records behind it, such as customer invoice lines, charge lines and sales lines. Each record holds the internal rule line type, a table ID and record ID for the source, and a charge code. An execution GUID is also stored.

Table name
MarkupPeriodChargeInvoiceLineBaseRelationship
Module
Accounts receivable
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Markup
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChargeCodeCode of the charge, such as freight or handling, that the free text invoice was raised for. It points to the charges table.String
MarkupPeriodChargeInvoiceLineBaseMarkupCode
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExecutionIdGUID that identifies the execution.Guid
SysGuid
NoNone
InvoiceLineBaseIdKey of the line invoice base this relation belongs to.String (255)
MarkupPeriodChargeInvoiceLineBaseId
YesMarkupPeriodChargeInvoiceLineBase.InvoiceLineBaseIdNone
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
RefRecIdSystem record ID of the referenced record.Int64
RefRecId
NoNone
RefTableIdID of the table that the referenced record belongs to.Integer
RefTableId
NoNone
RuleLineTypeInternal rule line type: monetary or quantity threshold, with or without a minimum amount.Enum
MarkupPeriodChargeRuleLineRelationshipType (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (5)

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

  • CustInvoiceTrans → CustInvoiceTrans

    Join on RefTableId = CustInvoiceTrans.TableId, RefRecId = CustInvoiceTrans.RecId

    Many MarkupPeriodChargeInvoiceLineBaseRelationship records → zero or one CustInvoiceTrans record

  • SalesLine → SalesLine

    Join on RefTableId = SalesLine.TableId, RefRecId = SalesLine.RecId

    Many MarkupPeriodChargeInvoiceLineBaseRelationship records → zero or one SalesLine record

  • MarkupTrans → MarkupTrans

    Join on RefTableId = MarkupTrans.TableId, RefRecId = MarkupTrans.RecId

    Many MarkupPeriodChargeInvoiceLineBaseRelationship records → zero or one MarkupTrans record

  • MarkupPeriodChargeInvoiceLineBase → MarkupPeriodChargeInvoiceLineBase

    Join on InvoiceLineBaseId = MarkupPeriodChargeInvoiceLineBase.InvoiceLineBaseId

    Many MarkupPeriodChargeInvoiceLineBaseRelationship records → zero or one MarkupPeriodChargeInvoiceLineBase record

  • CustomerMarkupTable → MarkupTable

    Join on ChargeCode = MarkupTable.MarkupCode, MarkupTable.ModuleType = MarkupModuleType::Cust

    Many MarkupPeriodChargeInvoiceLineBaseRelationship records → zero or one MarkupTable record

Get this data out

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

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

Email sales@drdynamics.co.uk