Table

FreeTextInvoiceTmp

Temporary worksheet table that holds the data for a free text invoice printout. It has no key. It combines invoice header values, line values, tax, charges, cash discount and totals, plus many Yes/No switches for which sections to show. It also includes fields used for India, Spain, Malaysia, Thailand, Japan and the United Arab Emirates.

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

Fields (152)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AdjustmentDetailsTxt_THText describing the adjustment details, used for Thailand.String (255)
Description255
NoNone
AmountAmount value for the line.Real
Amount
NoNone
BillingCodeBilling code for the line.String
BillingCode
NoNone
CashAccountingRegime_ESYes/No flag for the special cash accounting regime, used for Spain.Enum
TaxReportCashAccountingRegime_ES
NoYes (enum)
NoNone
CashDiscCash discount amount.Real
CustCashDiscAmount
NoNone
CashDisc_AECash discount amount, used for the United Arab Emirates.Real
CustCashDiscAmount
NoNone
CashDiscAmountCash discount amount.Real
CashDiscAmount
NoNone
CashDiscEuroCash discount amount, shown in euros.low confidenceReal
CustCashDiscAmount
NoNone
CashDiscMSTCash discount amount in the accounting currency.Real
CustCashDiscAmount
NoNone
CashDiscTxt_LanguageIdFree text that describes the cash discount, in the language of the document.String (160)
CashDiscFreeTxt
NoNone
CompanyBankRegNumCompany bank registration number, held as free text.low confidenceString (60)
Str60
NoNone
CompanyRegNumCompany registration or routing number.String (25)
CompanyRegNum
NoNone
CorrectiveReasonLinesLong text giving the reason for a correction.String (-1)
CustVendCorrectiveReason
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
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CurrencyCodeCurrency code of the invoice, pointing to a currency record.String (3)
CustCurrencyCode
YesCurrency.CurrencyCodeNone
CurrencySymbolSymbol of the currency, such as a currency sign.String (5)
CurrencySymbol
NoNone
CustInvoiceJourCurrencyCodeCurrency code taken from the customer invoice journal, pointing to a currency record.String (3)
CustCurrencyCode
YesCurrency.CurrencyCodeNone
CustInvoiceJourDueDateDue date taken from the customer invoice journal.Date
DueDate
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscAmountCash discount amount.Real
CustCashDiscAmount
NoNone
DiscDateLast date on which the cash discount applies.Date
CustCashDiscDate
NoNone
DueAmountInvoice amount that is due.Real
AmountCur
NoNone
DueDateDate on which payment is due.Date
DueDate
NoNone
ECCNumber_INECC registration number, used for India.String (15)
TaxRegistrationNumber_IN
NoNone
EndDiscTotal discount for the order header.Real
SalesEndDiscAmount
NoNone
EndDisc_AETotal discount, used for the United Arab Emirates.Real
SalesEndDiscAmount
NoNone
EndDiscEuroTotal discount for the order header, shown in euros.low confidenceReal
SalesEndDiscAmount
NoNone
EndDiscMSTTotal discount in the accounting currency.Real
SalesEndDiscAmount
NoNone
EuroCurrencyCodeCurrency code used for the euro amounts, pointing to a currency record.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
ExchRateExchange rate used for the invoice.Real
ExchRate
NoNone
ExciseLTUCode_INExcise large taxpayer unit code, used for India.String (15)
ExciseLTUCode_IN
NoNone
GiroTypeType of payment slip attached to the customer invoice, such as FIK, BBS or Finnish slips.Enum
PaymentStubInvoiceId
PaymentStub (enum)
NoNone
GSTSummaryText_MYShort text for the GST summary, used for Malaysia.String (30)
String30
NoNone
HeaderNotesLong note text for the invoice header.String (-1)
Notes
NoNone
InventDimPrintText that shows the inventory dimensions for printing.String (255)
String255
NoNone
InvoiceAmountTotal invoice amount.Real
AmountCur
NoNone
InvoiceAmountEuroTotal invoice amount, shown in euros.low confidenceReal
AmountCur
NoNone
InvoiceAmountMSTInvoice amount in the accounting currency.Real
AmountMST
NoNone
InvoiceIdInvoice number.String (20)
CustInvoiceId
NoNone
InvoiceRoundOffRound-off amount on the invoice.Real
RoundOff
NoNone
InvoiceRoundOff_AERound-off amount, used for the United Arab Emirates.Real
RoundOff
NoNone
InvoiceRoundOffEuroRound-off amount, shown in euros.low confidenceReal
RoundOff
NoNone
InvoiceRoundOffMSTRound-off amount in the accounting currency.Real
RoundOff
NoNone
IsTaxAmountMSTYes/No flag linked to tax amounts in the accounting currency.low confidenceEnum
NoYes (enum)
NoNone
IsTaxAmountMSTVisibleYes/No flag for whether the tax amount in the accounting currency is visible.low confidenceEnum
NoYes (enum)
NoNone
IsTaxAmountVisibleYes/No flag for whether the tax amount is visible.low confidenceEnum
NoYes (enum)
NoNone
IsVATLine_AEYes/No flag that marks the row as a VAT line, used for the United Arab Emirates.low confidenceEnum
NoYes (enum)
NoNone
LineAmountAmount of the invoice line.Real
LineAmount
NoNone
LineAmountInclTaxLine amount including sales tax.Real
LineAmount
NoNone
LineAmountInclTaxMSTLine amount including tax, in the accounting currency.Real
LineAmount
NoNone
LineAmountMSTLine amount in the accounting currency.Real
LineAmount
NoNone
LineHeaderShort heading for the invoice line.String (80)
LineHeader
NoNone
MandateBankIBANIBAN of the bank account on the direct debit mandate.String (48)
BankIBAN
NoNone
MandateReferenceIdentifier of the direct debit mandate.String (35)
CustMandateId
NoNone
MandateSWIFTNoSWIFT code of the bank on the direct debit mandate.String (20)
SWIFTNo
NoNone
MarkupAmountValue of a charge on the invoice.Real
MarkupValue
NoNone
MarkupCodeCode of the charge applied.String
MarkupCode
NoNone
MarkupTaxCodeSales tax code for the charge, pointing to a sales tax code record.String
TaxCode
NoTaxTable.TaxCodeNone
NameFree text description of the invoice line.String (1000)
ItemFreeTxtBase
NoNone
NetAmountNet amount of the line.Real
AmountCurNet
NoNone
NetAmountEuroNet amount, shown in euros.low confidenceReal
AmountCurNet
NoNone
NotesLong note text for the line.String (-1)
Notes
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentIdPayment reference, held as free text.low confidenceString (60)
Str60
NoNone
PeriodChargeInvoiceLineBaseFromDateStart date of the period covered by the invoice line base.Date
MarkupPeriodChargeInvoiceLineBaseFromDate
NoNone
PeriodChargeInvoiceLineBaseToDateEnd date of the period covered by the invoice line base.Date
MarkupPeriodChargeInvoiceLineBaseToDate
NoNone
PrepaidAmountAmount already prepaid, in transaction currency.Real
AmountCur
NoNone
PrepaidAmountEuroPrepaid amount, shown in euros.low confidenceReal
AmountCur
NoNone
PrePrintLevelLevel of pre-printing on the paper: blank, partly preprinted or preprinted.Enum
PrePrintLevel (enum)
NoNone
PrintCodePrint code for the tax.String
TaxWriteCode
NoNone
PrintEuroTotalsYes/No switch for printing totals in euros.Enum
NoYes (enum)
NoNone
QtyInvoiced quantity.Real
SalesInvoicedQty
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
RefInvoiceDate_MYDate of the referenced invoice, used for Malaysia.Date
TransDate
NoNone
RefInvoiceID_MYNumber of the referenced invoice, used for Malaysia.String (20)
CustInvoiceId
NoNone
RemainAmountToBePaidAmount still left to be paid, in transaction currency.Real
AmountCur
NoNone
RemainAmountToBePaidEuroRemaining amount to be paid, shown in euros.low confidenceReal
AmountCur
NoNone
RemarkTxt_THRemark text, used for Thailand.String (255)
Description255
NoNone
ReverseChargeAmountReverse charge amount.Real
AmountCur
NoNone
ReverseChargeAmountEuroReverse charge amount, reported in euros.Real
AmountCur
NoNone
ReverseChargeJournalOne-character value for the journal in the reverse charge section.low confidenceString (1)
char
NoNone
ReverseChargeLineOne-character value for the line in the reverse charge section.low confidenceString (1)
char
NoNone
SalesBalanceSales subtotal amount.Real
AmountCur
NoNone
SalesBalanceEuroSales subtotal, shown in euros.low confidenceReal
AmountCur
NoNone
SalesBalanceMSTSales tax amount in the accounting currency, according to its label.low confidenceReal
TaxAmount
NoNone
SalesPricePrice per unit on the line.Real
SalesPrice
NoNone
SalesPriceMSTUnit price in the accounting currency.Real
SalesPrice
NoNone
SalesTaxNumber_INSales tax registration number, used for India.String (15)
TaxRegistrationNumber_IN
NoNone
SessionIdNumber that identifies the session that created the temporary rows.Integer
Integer
NoNone
SettledAmountCurAmount already settled, in transaction currency.Real
AmountCur
NoNone
ShowCashDiscOnInvoiceControlsYes/No switch for showing cash discount on the invoice.Enum
NoYes (enum)
NoNone
ShowCSTNumber_INYes/No switch for showing the CST number, used for India.Enum
NoYes (enum)
NoNone
ShowCustPackingSlipTransYes/No switch for showing customer packing slip lines.Enum
NoYes (enum)
NoNone
ShowCustPaymSchedYes/No switch for showing the customer payment schedule.Enum
NoYes (enum)
NoNone
ShowCustPaymSchedLineYes/No switch for showing payment schedule lines.Enum
NoYes (enum)
NoNone
ShowCustTransYes/No switch for showing customer transactions.Enum
NoYes (enum)
NoNone
ShowECCNumber_INYes/No switch for showing the ECC number, used for India.Enum
NoYes (enum)
NoNone
ShowGiroYes/No switch for showing the payment slip (giro) section.Enum
NoYes (enum)
NoNone
ShowGoodsDiscountYes/No switch for showing goods discount.Enum
NoYes (enum)
NoNone
ShowLocalCurAmtYes/No switch for showing amounts in local currency.Enum
NoYes (enum)
NoNone
ShowMarkupTransYes/No switch for showing charge lines.Enum
NoYes (enum)
NoNone
ShowPaymentYes/No switch for showing payment details.Enum
NoYes (enum)
NoNone
ShowPrepaidTotalsYes/No switch for showing prepaid totals.Enum
NoYes (enum)
NoNone
ShowPrepaidTotalsEuroYes/No switch for showing prepaid totals in euros.Enum
NoYes (enum)
NoNone
ShowReportingCurTotals_AEYes/No switch for showing totals in the reporting currency, used for the United Arab Emirates.Enum
NoYes (enum)
NoNone
ShowSepaNotificationYes/No switch for showing the SEPA notification.Enum
NoYes (enum)
NoNone
ShowSTCNumber_INYes/No switch for showing the STC number, used for India.Enum
NoYes (enum)
NoNone
ShowTaxTransYes/No switch for showing tax lines.Enum
NoYes (enum)
NoNone
ShowTaxWithholdTrans_INYes/No switch for showing withholding tax lines, used for India.Enum
NoYes (enum)
NoNone
ShowTINNumber_INYes/No switch for showing the TIN number, used for India.Enum
NoYes (enum)
NoNone
ShowTotalsYes/No switch for showing totals.Enum
NoYes (enum)
NoNone
ShowTotalsEuroYes/No switch for showing totals in euros.Enum
NoYes (enum)
NoNone
ShowTotalsTaxBalancesYes/No switch for showing tax balances in the totals.Enum
NoYes (enum)
NoNone
ShowTotalsTaxBalancesEuroYes/No switch for showing tax balances in the totals, in euros.Enum
NoYes (enum)
NoNone
SourceBaseAmountCur_INOriginal base amount for tax, used for India.Real
TaxBaseCur
NoNone
SourceRegulateAmountCur_INCorrected tax amount in currency, used for India.Real
TaxRegulationAmountCur
NoNone
StandardCurrencyStandard currency code, pointing to a currency record.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
STCNumber_INSTC registration number, used for India.String (15)
TaxRegistrationNumber_IN
NoNone
SumMarkupTotal of the charges on the invoice.Real
MarkupSumSales
NoNone
SumMarkup_AETotal charges, used for the United Arab Emirates.Real
MarkupSumSales
NoNone
SumMarkupEuroTotal charges, shown in euros.low confidenceReal
MarkupSumSales
NoNone
SumMarkupMSTTotal charges in the accounting currency.Real
MarkupSumSales
NoNone
SumTaxTotal sales tax on the invoice.Real
TaxAmountCur
NoNone
SumTaxEuroTotal sales tax, shown in euros.low confidenceReal
TaxAmountCur
NoNone
SumTaxMSTTotal sales tax in the accounting currency.Real
TaxAmount
NoNone
SumTaxWithhold_INTotal tax collected at source, used for India.Real
AmountCur
NoNone
SumTaxWithholdEUR_INTotal tax collected at source, in euros, used for India.low confidenceReal
AmountCur
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxableBalanceAmount that is subject to tax.Real
TaxTaxableAmountCur
NoNone
TaxableBalanceEuroTaxable amount, shown in euros.low confidenceReal
TaxTaxableAmountCur
NoNone
TaxAmountSales tax amount.Real
TaxAmountCur
NoNone
TaxAmountLabelText label printed next to the tax amount.String (60)
Str60
NoNone
TaxAmountMSTSales tax amount in the accounting currency.Real
TaxAmount
NoNone
TaxAmountMSTLabelText label printed next to the tax amount in the accounting currency.String (60)
Str60
NoNone
TaxBaseAmountOriginal base amount that tax is worked out from.Real
TaxBaseCur
NoNone
TaxBaseAmountMSTTax base amount in the accounting currency.Real
TaxBase
NoNone
TaxCodeSales tax code on the invoice line, pointing to a sales tax code record.String
TaxCode
NoTaxTable.TaxCodeNone
TaxExemptDescriptionText that explains why a line is tax exempt.String (999)
LanguageTxtString
NoNone
TaxFreeBalanceAmount that is not subject to tax.Real
TaxTaxFreeAmountCur
NoNone
TaxFreeBalanceEuroNon-taxable amount, shown in euros.low confidenceReal
TaxTaxFreeAmountCur
NoNone
TaxPrintTaxFreeBalanceYes/No setting to print the tax exempt balance separately on forms.Enum
TaxPrintTaxFreeBalance
NoYes (enum)
NoNone
TaxWithholdCode_INWithholding tax code, pointing to a withholding tax record, used for India.String
TaxWithholdCode
NoTaxWithholdTable.TaxWithholdCodeNone
TaxWriteCodePrint code for the tax.String
TaxWriteCode
NoNone
TINNumber_INTIN registration number, used for India.String (15)
TaxRegistrationNumber_IN
NoNone
TransDateTransaction date.Date
TransDate
YesNone
TxtShort description text.String (60)
TransTxt
NoNone
VATAmount_AEVAT amount, used for the United Arab Emirates.Real
TaxAmount
NoNone
VATPercent_AEVAT rate in percent, used for the United Arab Emirates.Real
TaxValue
NoNone
WithReducedTax_JPYes/No flag for reduced tax, used for Japan.Enum
NoYes (enum)
NoNone

Indexes (1)

Relations (7)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many FreeTextInvoiceTmp records → exactly one Currency record

  • Currency_EuroCurrencyCode → Currency

    Join on EuroCurrencyCode = Currency.CurrencyCode

    Many FreeTextInvoiceTmp records → zero or one Currency record

  • Currency_StandardCurrency → Currency

    Join on StandardCurrency = Currency.CurrencyCode

    Many FreeTextInvoiceTmp records → zero or one Currency record

  • CustInvoiceJourCurrencyCode → Currency

    Join on CustInvoiceJourCurrencyCode = Currency.CurrencyCode

    Many FreeTextInvoiceTmp records → exactly one Currency record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many FreeTextInvoiceTmp records → zero or one TaxTable record

  • TaxTable_MarkupTaxCode → TaxTable

    Join on MarkupTaxCode = TaxTable.TaxCode

    Many FreeTextInvoiceTmp records → zero or one TaxTable record

  • TaxWithholdTable → TaxWithholdTable

    Join on TaxWithholdCode_IN = TaxWithholdTable.TaxWithholdCode

    Many FreeTextInvoiceTmp records → zero or one TaxWithholdTable record

Get this data out

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

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

Email sales@drdynamics.co.uk