Table

LTMSalesParmTableJour

Sales journal

Holds fiscal document details for a sales journal update. It is keyed by line reference and parameter ID, which link to the sales order update table. It also links to the sales order, the customer invoice journal, the sales point, the taxpayer type and the document class. Fields cover document numbers, authorisation codes, dates, free text and reference code lists.

Table name
LTMSalesParmTableJour
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
LTMSalesParmTableJourIdx
Key fields
TableRefId, ParmId
Model
GlobalizationLTM

Fields (53)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TableRefIdLine reference that links to the sales order update table. Part of the key.String (20)
TradeLineRefId
YesSalesParmTable.TableRefIdNone
ParmIdParameter ID of the sales order update record. Part of the key.String (20)
ParmId
YesSalesParmTable.ParmIdNone
CaiCaeAuthorisation number (CAI/CAE) assigned for the invoice or a group of invoices.String (50)
LTMCaiCae
NoNone
CAICAEDueDateDate on which the authorisation number expires.Date
SysDate
NoNone
CompleteDocumentNumFull document number.String (20)
DocumentNum
NoNone
Concept1First free text field for extra information.String (250)
LTMConcept1
NoNone
Concept2Second free text field for extra information.String (250)
LTMConcept2
NoNone
Concept3Third free text field for extra information.String (250)
LTMConcept3
NoNone
ControlCodeControl code of the document.String (50)
LTMControlCode
NoNone
CountryDocNumIdentification number issued by the country.String (40)
LTMCountryDocNum
NoNone
CountryDocTypeIdType of country document, pointing to the fiscal register table.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdNone
CountryRegionIdCountry or region where the record is based.String
AddressCountryRegionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentClassificationIdDocument class the document belongs to.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
DocumentDateDate of the document.Date
DocumentDate
NoNone
DocumentNumDocument number without the prefix and sales point.String (20)
DocumentNum
NoNone
DueDateDue date of the document.Date
DueDate
NoNone
LedgerVoucherVoucher number, related to the customer invoice journal.String (20)
Voucher
NoNone
LineStatusYes/No flag for the status of the line.low confidenceEnum
NoYes (enum)
NoNone
ListField01Description for reference code 1.String (60)
LTMListFieldCodeDescription
NoNone
ListField02Description for reference code 2.String (60)
LTMListFieldCodeDescription
NoNone
ListField03Description for reference code 3.String (60)
LTMListFieldCodeDescription
NoNone
ListField04Description for reference code 4.String (60)
LTMListFieldCodeDescription
NoNone
ListField05Description for reference code 5.String (60)
LTMListFieldCodeDescription
NoNone
ListField06Description for reference code 6.String (60)
LTMListFieldCodeDescription
NoNone
ListField07Description for reference code 7.String (60)
LTMListFieldCodeDescription
NoNone
ListField08Description for reference code 8.String (60)
LTMListFieldCodeDescription
NoNone
ListField09Description for reference code 9.String (60)
LTMListFieldCodeDescription
NoNone
ListField10Description for reference code 10.String (60)
LTMListFieldCodeDescription
NoNone
ListFieldCode01Reference code number 1.String (30)
LTMListFieldCode
NoNone
ListFieldCode02Reference code number 2.String (30)
LTMListFieldCode
NoNone
ListFieldCode03Reference code number 3.String (30)
LTMListFieldCode
NoNone
ListFieldCode04Reference code number 4.String (30)
LTMListFieldCode
NoNone
ListFieldCode05Reference code number 5.String (30)
LTMListFieldCode
NoNone
ListFieldCode06Reference code number 6.String (30)
LTMListFieldCode
NoNone
ListFieldCode07Reference code number 7.String (30)
LTMListFieldCode
NoNone
ListFieldCode08Reference code number 8.String (30)
LTMListFieldCode
NoNone
ListFieldCode09Reference code number 9.String (30)
LTMListFieldCode
NoNone
ListFieldCode10Reference code number 10.String (30)
LTMListFieldCode
NoNone
NameName linked to the document.low confidenceString (60)
Name
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintAfterPostYes/No flag that sets whether the document is printed after posting.Enum
NoYes (enum)
NoNone
PSEnableYes/No flag that controls whether packing slip information is shown.Enum
NoYes (enum)
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
SalesIdSales order the document belongs to.String (20)
SalesId
YesSalesTable.SalesIdNone
SalesPointIdSales point, whose prefix is used in the document numbering.String
LTMSalesPointId
NoLTMSalesPoint.SalesPointIdNone
SalesPointPrefixPrefix of the sales point.String
LTMSalesPointPrefix
NoNone
StateDocNumState identification number, which follows the mask of the chosen document type.String (30)
LTMStateDocNum
NoNone
StateDocTypeIdType of state document.String (15)
LTMDocTypeId
NoNone
StateIdRegistered jurisdiction (state).String
LogisticsAddressStateId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdTaxpayer type, pointing to the taxpayer type table.String (15)
LTMTaxPayerTypeId
NoLTMTaxPayerType.TaxPayerTypeIdNone

Indexes (2)

Relations (7)

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

  • LTMFiscalRegister → LTMFiscalRegisterV2

    Join on LTMFiscalRegisterV2.CountryDocType = null, CountryDocTypeId = LTMFiscalRegisterV2.DocTypeId

    Many LTMSalesParmTableJour records → zero or one LTMFiscalRegisterV2 record

  • LTMSalesPoint → LTMSalesPoint

    Join on SalesPointId = LTMSalesPoint.SalesPointId

    Many LTMSalesParmTableJour records → zero or one LTMSalesPoint record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Many LTMSalesParmTableJour records → zero or one LTMTaxPayerType record

  • LTMDocumentClassification → LTMDocumentClassification

    Join on DocumentClassificationId = LTMDocumentClassification.DocumentClassificationId

    Many LTMSalesParmTableJour records → zero or one LTMDocumentClassification record

  • CustInvoiceJour → CustInvoiceJour

    Join on SalesId = CustInvoiceJour.SalesId, LedgerVoucher = CustInvoiceJour.LedgerVoucher

    Many LTMSalesParmTableJour records → zero or one CustInvoiceJour record

  • SalesParmTable → SalesParmTable

    Join on TableRefId = SalesParmTable.TableRefId, ParmId = SalesParmTable.ParmId

    Zero or one LTMSalesParmTableJour record → exactly one SalesParmTable record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many LTMSalesParmTableJour records → zero or one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk