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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingDistributionTemplateAccounting distribution template used by the line. | Int64AccountingDistributionTemplateRecId | No | AccountingDistributionTemplate.RecId | None |
AmountDetailsFree text with amount details. | String (-1)AmountDetails | No | None | |
BillingCodeBilling code record applied to the line. | Int64BillingCodeRefRecId | No | CustBillingCode.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension set for the line. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field. | Int64RelationType | No | None | |
IntrastatCommodityCommodity category used for Intrastat reporting. | Int64IntrastatCommodityId | No | EcoResCategory.RecId | None |
ItemCodeIdCommodity code. The EDT name marks it as obsolete.low confidence | StringDEL_IntrastatItemCodeId | No | None | |
LedgerDimensionMain account and dimension combination for the line. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
LineTxtText printed for the invoice line. | String (-1)Notes | No | None | |
OrigCountryRegionIdCountry or region where the goods originate. | StringItemOrigCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | None |
OrigStateState where the goods originate. | StringItemOrigStateId | No | LogisticsAddressState.StateId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PortPort used for Intrastat reporting. | StringIntrastatPortId | No | IntrastatPort.PortId | None |
ProjCategoryIdProject category for the line. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | None |
ProjIdProject the line belongs to. | String (20)ProjId | No | ProjTable.ProjId | None |
PropertyNumber_MXProperty number, used for Mexico. | String (20)PropertyNumber_MX | No | None | |
QuantityQuantity to invoice. | RealInvoiceQuantity | 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 | |
StatProcIdStatistics procedure for Intrastat reporting. | StringIntrastatProcId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransactionCodeTransaction code for Intrastat reporting. | StringIntrastatTransactionCodeId | No | IntrastatTransactionCode.TransactionCode | None |
TransportTransport method for Intrastat reporting. | StringIntrastatTransport | No | IntrastatTransportMode.TransPortCode | None |
UnitPricePrice per unit on the line. | RealInvoiceUnitPrice | No | None | |
WeightTotal weight of the line. | RealWeight | No | None |
Relations (14)
Each relation joins CustInvoiceStandardLineTemplate to another table on the fields shown.
AccountingDistributionTemplate→AccountingDistributionTemplateJoin on
AccountingDistributionTemplate = AccountingDistributionTemplate.RecIdMany CustInvoiceStandardLineTemplate records → zero or one AccountingDistributionTemplate record
CustBillingCode→CustBillingCodeJoin on
BillingCode = CustBillingCode.RecIdMany CustInvoiceStandardLineTemplate records → zero or one CustBillingCode record
CustInvoiceLineTemplate_InvoiceLine→CustInvoiceLineTemplateJoin on
RecId = CustInvoiceLineTemplate.RecIdZero or one CustInvoiceStandardLineTemplate record → exactly one CustInvoiceLineTemplate record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CustInvoiceStandardLineTemplate records → zero or one DimensionAttributeValueSet record
IntrastatCommodity→EcoResCategoryJoin on
IntrastatCommodity = EcoResCategory.RecIdMany CustInvoiceStandardLineTemplate records → zero or one EcoResCategory record
IntrastatPort→IntrastatPortJoin on
Port = IntrastatPort.PortIdMany CustInvoiceStandardLineTemplate records → zero or one IntrastatPort record
IntrastatStatProc→IntrastatStatProcJoin on
StatProcId = IntrastatStatProc.StatProcIdMany CustInvoiceStandardLineTemplate records → zero or one IntrastatStatProc record
IntrastatTransactionCode→IntrastatTransactionCodeJoin on
TransactionCode = IntrastatTransactionCode.TransactionCodeMany CustInvoiceStandardLineTemplate records → zero or one IntrastatTransactionCode record
IntrastatTransportMode→IntrastatTransportModeJoin on
Transport = IntrastatTransportMode.TransPortCodeMany CustInvoiceStandardLineTemplate records → zero or one IntrastatTransportMode record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany CustInvoiceStandardLineTemplate records → exactly one DimensionAttributeValueCombination record
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
OrigCountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany CustInvoiceStandardLineTemplate records → zero or one LogisticsAddressCountryRegion record
OrigState→LogisticsAddressStateJoin on
OrigCountryRegionId = LogisticsAddressState.CountryRegionId,OrigState = LogisticsAddressState.StateIdMany CustInvoiceStandardLineTemplate records → zero or one LogisticsAddressState record
ProjCategory→ProjCategoryJoin on
ProjCategoryId = ProjCategory.CategoryIdMany CustInvoiceStandardLineTemplate records → zero or one ProjCategory record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany 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.