Table

CustInvoiceLineScriptBuffer

Customer free text invoice lines

Holds customer free text invoice line values in a buffer layout. It has amount, quantity, unit price, tax groups, project, fixed asset and Intrastat fields. It links to many setup records, such as dimensions, ledger accounts, projects and Intrastat codes. It has no defined key.low confidence

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

Fields (44)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingDistributionTemplatePoints to the accounting distribution template.Int64
AccountingDistributionTemplateRecId
NoAccountingDistributionTemplate.RecIdNone
AmountCurAmount of the line; currency not stated in the metadata.Real
AmountCur
NoNone
AmountDetailsFree text with details about the amount.String (-1)
AmountDetails
NoNone
AssetBookIdPoints to the fixed asset book.String
AssetBookIdPurchSalesInvent
NoAssetBookTable.BookIdNone
AssetIdPoints to the fixed asset.String (20)
AssetIdOpen
NoAssetTable.AssetIdNone
BillingCodeBilling code for the line.String
BillingCode
NoNone
CorrectedCustInvoiceLinePoints to the invoice line that this line corrects.Int64
RefRecId
NoCustInvoiceLine.RecIdNone
CustBillingCodePoints to the billing code record.Int64
BillingCodeRefRecId
NoCustBillingCode.RecIdNone
CustInvoiceLineTemplatePoints to the free text invoice template line.Int64
RefRecId
NoCustInvoiceLineTemplate.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionPoints to the default dimension set for the line.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
DescriptionDescription text of the line.String (60)
Description
NoNone
EInvoiceAccountCodeAccount code of the dimension used for electronic invoices.String (35)
EInvoiceAccountCode
NoNone
IntrastatCommodityPoints to the commodity category used for Intrastat.Int64
IntrastatCommodityId
NoEcoResCategory.RecIdNone
InvoiceTxtFree text note for the invoice line.String (-1)
Notes
NoNone
LedgerDimensionPoints to the main account and dimension combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
LineNumLine number of the invoice line.Real
LineNum
NoNone
NGPCodesTable_FRPoints to the NGP code, used for France.Int64
NGPCodesTableFRId
NoNGPCodesTable_FR.RecIdNone
OrigCountryRegionIdCountry or region of origin of the item.String
ItemOrigCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
OrigStateState of origin of the item.String
ItemOrigStateId
NoLogisticsAddressState.StateIdNone
ParentRecIdPoints to the parent free text invoice.Int64
CustInvoiceTableRefRecId
NoCustInvoiceTable.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PortPoints to the Intrastat port.String
IntrastatPortId
NoIntrastatPort.PortIdNone
ProjCategoryIdPoints to the project category.String (30)
ProjCategoryId
NoProjCategory.CategoryIdNone
ProjFundingSourcePoints to the project funding source.Int64
ProjFundingSourceRefId
NoProjFundingSource.RecIdNone
ProjIdPoints to the project.String (20)
ProjId
NoProjTable.ProjIdNone
ProjTransIdProject transaction ID.String (20)
ProjTransIdBase
NoNone
PropertyNumber_MXProperty number, used for Mexico.String (20)
PropertyNumber_MX
NoNone
QuantityQuantity invoiced on the line.Real
InvoiceQuantity
NoNone
ReasonRefRecIdPoints to a reason reference record.Int64
ReasonRefRecID
NoReasonTableRef.RecIdNone
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
SourceDocumentLinePoints to the source document line.Int64
RefRecId
NoSourceDocumentLine.RecIdNone
StatProcIdIntrastat statistics procedure code.String
IntrastatProcId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount of the line.Real
TaxAmount
NoNone
TaxAutogeneratedYes/No flag for automatically generated tax.Enum
TaxAutoGenerated
NoYes (enum)
NoNone
TaxGroupSales tax group of the line.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupItem sales tax group of the line.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
TaxWriteCodePrint code for the tax.String
TaxWriteCode
NoNone
TransactionCodeIntrastat transaction code.String
IntrastatTransactionCodeId
NoIntrastatTransactionCode.TransactionCodeNone
TransportIntrastat transport method.String
IntrastatTransport
NoIntrastatTransportMode.TransPortCodeNone
UnitPricePrice per unit on the invoice line.Real
InvoiceUnitPrice
NoNone
WeightTotal weight of the line.Real
Weight
NoNone

Relations (25)

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

  • AccountingDistributionTemplate → AccountingDistributionTemplate

    Join on AccountingDistributionTemplate = AccountingDistributionTemplate.RecId

    Many CustInvoiceLineScriptBuffer records → zero or one AccountingDistributionTemplate record

  • AssetBook → AssetBook

    Join on AssetId = AssetBook.AssetId, AssetBookId = AssetBook.BookId

    Many CustInvoiceLineScriptBuffer records → zero or one AssetBook record

  • AssetBookTable → AssetBookTable

    Join on AssetBookId = AssetBookTable.BookId

    Many CustInvoiceLineScriptBuffer records → zero or one AssetBookTable record

  • AssetTable → AssetTable

    Join on AssetId = AssetTable.AssetId

    Many CustInvoiceLineScriptBuffer records → zero or one AssetTable record

  • CustBillingCode → CustBillingCode

    Join on CustBillingCode = CustBillingCode.RecId

    Many CustInvoiceLineScriptBuffer records → zero or one CustBillingCode record

  • CustInvoiceLine_Corrected → CustInvoiceLine

    Join on CorrectedCustInvoiceLine = CustInvoiceLine.RecId

    Many CustInvoiceLineScriptBuffer records → zero or one CustInvoiceLine record

  • CustInvoiceLineTemplate → CustInvoiceLineTemplate

    Join on CustInvoiceLineTemplate = CustInvoiceLineTemplate.RecId

    Many CustInvoiceLineScriptBuffer records → zero or one CustInvoiceLineTemplate record

  • CustInvoiceTable_ParentRecId → CustInvoiceTable

    Join on ParentRecId = CustInvoiceTable.RecId

    Many CustInvoiceLineScriptBuffer records → zero or one CustInvoiceTable record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many CustInvoiceLineScriptBuffer records → zero or one DimensionAttributeValueSet record

  • IntrastatCommodity → EcoResCategory

    Join on IntrastatCommodity = EcoResCategory.RecId

    Many CustInvoiceLineScriptBuffer records → zero or one EcoResCategory record

  • IntrastatPort → IntrastatPort

    Join on Port = IntrastatPort.PortId

    Many CustInvoiceLineScriptBuffer records → zero or one IntrastatPort record

  • IntrastatStatProc → IntrastatStatProc

    Join on StatProcId = IntrastatStatProc.StatProcId

    Many CustInvoiceLineScriptBuffer records → zero or one IntrastatStatProc record

  • IntrastatTransactionCode → IntrastatTransactionCode

    Join on TransactionCode = IntrastatTransactionCode.TransactionCode

    Many CustInvoiceLineScriptBuffer records → zero or one IntrastatTransactionCode record

  • IntrastatTransportMode → IntrastatTransportMode

    Join on Transport = IntrastatTransportMode.TransPortCode

    Many CustInvoiceLineScriptBuffer records → zero or one IntrastatTransportMode record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many CustInvoiceLineScriptBuffer records → zero or one DimensionAttributeValueCombination record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on OrigCountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many CustInvoiceLineScriptBuffer records → zero or one LogisticsAddressCountryRegion record

  • NGPCodesTable_FR → NGPCodesTable_FR

    Join on NGPCodesTable_FR = NGPCodesTable_FR.RecId

    Many CustInvoiceLineScriptBuffer records → zero or one NGPCodesTable_FR record

  • OrigState → LogisticsAddressState

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

    Many CustInvoiceLineScriptBuffer records → zero or one LogisticsAddressState record

  • ProjCategory → ProjCategory

    Join on ProjCategoryId = ProjCategory.CategoryId

    Many CustInvoiceLineScriptBuffer records → zero or one ProjCategory record

  • ProjFundingSource → ProjFundingSource

    Join on ProjFundingSource = ProjFundingSource.RecId

    Many CustInvoiceLineScriptBuffer records → zero or one ProjFundingSource record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many CustInvoiceLineScriptBuffer records → zero or one ProjTable record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonRefRecId = ReasonTableRef.RecId

    Many CustInvoiceLineScriptBuffer records → zero or one ReasonTableRef record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Many CustInvoiceLineScriptBuffer records → zero or one SourceDocumentLine record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many CustInvoiceLineScriptBuffer records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many CustInvoiceLineScriptBuffer records → zero or one TaxItemGroupHeading record

Get this data out

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

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

Email sales@drdynamics.co.uk