Table

CustInvoiceStandardLineTemplate

Customer free text invoice template lines

Holds the lines of templates for customer free text invoices. Each line can carry amounts, text, ledger and project data and Intrastat trade details. It has no defined key and links to many reference tables.

Table name
CustInvoiceStandardLineTemplate
Module
Accounts receivable
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation
Extends
CustInvoiceLineTemplate

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingDistributionTemplateAccounting distribution template used by the line.Int64
AccountingDistributionTemplateRecId
NoAccountingDistributionTemplate.RecIdNone
AmountDetailsFree text with amount details.String (-1)
AmountDetails
NoNone
BillingCodeBilling code record applied to the line.Int64
BillingCodeRefRecId
NoCustBillingCode.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension set for the line.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
IntrastatCommodityCommodity category used for Intrastat reporting.Int64
IntrastatCommodityId
NoEcoResCategory.RecIdNone
ItemCodeIdCommodity code. The EDT name marks it as obsolete.low confidenceString
DEL_IntrastatItemCodeId
NoNone
LedgerDimensionMain account and dimension combination for the line.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
LineTxtText printed for the invoice line.String (-1)
Notes
NoNone
OrigCountryRegionIdCountry or region where the goods originate.String
ItemOrigCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
OrigStateState where the goods originate.String
ItemOrigStateId
NoLogisticsAddressState.StateIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PortPort used for Intrastat reporting.String
IntrastatPortId
NoIntrastatPort.PortIdNone
ProjCategoryIdProject category for the line.String (30)
ProjCategoryId
NoProjCategory.CategoryIdNone
ProjIdProject the line belongs to.String (20)
ProjId
NoProjTable.ProjIdNone
PropertyNumber_MXProperty number, used for Mexico.String (20)
PropertyNumber_MX
NoNone
QuantityQuantity to invoice.Real
InvoiceQuantity
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
StatProcIdStatistics procedure for Intrastat reporting.String
IntrastatProcId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransactionCodeTransaction code for Intrastat reporting.String
IntrastatTransactionCodeId
NoIntrastatTransactionCode.TransactionCodeNone
TransportTransport method for Intrastat reporting.String
IntrastatTransport
NoIntrastatTransportMode.TransPortCodeNone
UnitPricePrice per unit on the line.Real
InvoiceUnitPrice
NoNone
WeightTotal weight of the line.Real
Weight
NoNone

Relations (14)

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

  • AccountingDistributionTemplate → AccountingDistributionTemplate

    Join on AccountingDistributionTemplate = AccountingDistributionTemplate.RecId

    Many CustInvoiceStandardLineTemplate records → zero or one AccountingDistributionTemplate record

  • CustBillingCode → CustBillingCode

    Join on BillingCode = CustBillingCode.RecId

    Many CustInvoiceStandardLineTemplate records → zero or one CustBillingCode record

  • CustInvoiceLineTemplate_InvoiceLine → CustInvoiceLineTemplate

    Join on RecId = CustInvoiceLineTemplate.RecId

    Zero or one CustInvoiceStandardLineTemplate record → exactly one CustInvoiceLineTemplate record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many CustInvoiceStandardLineTemplate records → zero or one DimensionAttributeValueSet record

  • IntrastatCommodity → EcoResCategory

    Join on IntrastatCommodity = EcoResCategory.RecId

    Many CustInvoiceStandardLineTemplate records → zero or one EcoResCategory record

  • IntrastatPort → IntrastatPort

    Join on Port = IntrastatPort.PortId

    Many CustInvoiceStandardLineTemplate records → zero or one IntrastatPort record

  • IntrastatStatProc → IntrastatStatProc

    Join on StatProcId = IntrastatStatProc.StatProcId

    Many CustInvoiceStandardLineTemplate records → zero or one IntrastatStatProc record

  • IntrastatTransactionCode → IntrastatTransactionCode

    Join on TransactionCode = IntrastatTransactionCode.TransactionCode

    Many CustInvoiceStandardLineTemplate records → zero or one IntrastatTransactionCode record

  • IntrastatTransportMode → IntrastatTransportMode

    Join on Transport = IntrastatTransportMode.TransPortCode

    Many CustInvoiceStandardLineTemplate records → zero or one IntrastatTransportMode record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many CustInvoiceStandardLineTemplate records → exactly one DimensionAttributeValueCombination record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on OrigCountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many CustInvoiceStandardLineTemplate records → zero or one LogisticsAddressCountryRegion record

  • OrigState → LogisticsAddressState

    Join on OrigCountryRegionId = LogisticsAddressState.CountryRegionId, OrigState = LogisticsAddressState.StateId

    Many CustInvoiceStandardLineTemplate records → zero or one LogisticsAddressState record

  • ProjCategory → ProjCategory

    Join on ProjCategoryId = ProjCategory.CategoryId

    Many CustInvoiceStandardLineTemplate records → zero or one ProjCategory record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many CustInvoiceStandardLineTemplate records → zero or one ProjTable record

Get this data out

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

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

Email sales@drdynamics.co.uk