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 description | Type / EDT / enum | Mandatory | References | In 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. | StringMarkupPeriodChargeInvoiceLineBaseMarkupCode | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExecutionIdGUID that identifies the execution. | GuidSysGuid | No | None | |
InvoiceLineBaseIdKey of the line invoice base this relation belongs to. | String (255)MarkupPeriodChargeInvoiceLineBaseId | Yes | MarkupPeriodChargeInvoiceLineBase.InvoiceLineBaseId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefRecIdSystem record ID of the referenced record. | Int64RefRecId | No | None | |
RefTableIdID of the table that the referenced record belongs to. | IntegerRefTableId | No | None | |
RuleLineTypeInternal rule line type: monetary or quantity threshold, with or without a minimum amount. | EnumMarkupPeriodChargeRuleLineRelationshipType (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
TableRecIdIdxRefTableId,RefRecId,RuleLineType,ChargeCodeUnique, alternate key.
InvoiceLineBaseIdIdxNot unique.
ExecutionIdIdxNot unique.
Relations (5)
Each relation joins MarkupPeriodChargeInvoiceLineBaseRelationship to another table on the fields shown.
CustInvoiceTrans→CustInvoiceTransJoin on
RefTableId = CustInvoiceTrans.TableId,RefRecId = CustInvoiceTrans.RecIdMany MarkupPeriodChargeInvoiceLineBaseRelationship records → zero or one CustInvoiceTrans record
SalesLine→SalesLineJoin on
RefTableId = SalesLine.TableId,RefRecId = SalesLine.RecIdMany MarkupPeriodChargeInvoiceLineBaseRelationship records → zero or one SalesLine record
MarkupTrans→MarkupTransJoin on
RefTableId = MarkupTrans.TableId,RefRecId = MarkupTrans.RecIdMany MarkupPeriodChargeInvoiceLineBaseRelationship records → zero or one MarkupTrans record
MarkupPeriodChargeInvoiceLineBase→MarkupPeriodChargeInvoiceLineBaseJoin on
InvoiceLineBaseId = MarkupPeriodChargeInvoiceLineBase.InvoiceLineBaseIdMany MarkupPeriodChargeInvoiceLineBaseRelationship records → zero or one MarkupPeriodChargeInvoiceLineBase record
CustomerMarkupTable→MarkupTableJoin on
ChargeCode = MarkupTable.MarkupCode,MarkupTable.ModuleType = MarkupModuleType::CustMany 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.