Table

LtInvoiceAutoNumberingTable

Invoice numbering setup

Holds invoice numbering setup records. Each record ties a numbering type and module to a number sequence code and a numbering code. It can be limited to a user group and has a last used date.

Table name
LtInvoiceAutoNumberingTable
Module
Shared payables and receivables
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AutoNumberingTypeKind of numbering: none, invoice or packing slip.Enum
LtInvoiceAutoNumberingType (enum)
YesInvoiceAutoNumberingTableEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ForRetailYes or no flag for retail use.Enum
NoYes (enum)
NoInvoiceAutoNumberingTableEntity
InvoiceAllGroupUserScope of the account code: none, table, group or all.Enum
LtInvoiceAllGroupUser (enum)
YesInvoiceAutoNumberingTableEntity
InvoiceUserGroupIdUser group that the setup applies to.String (20)
LtInvoiceUserGroupId
NoUserGroupInfo.idInvoiceAutoNumberingTableEntity
LastTransDateDate of the last transaction that used this setup.Date
TransDate
NoInvoiceAutoNumberingTableEntity
NumberingCodeCode of the numbering definition.String
LtDocNumberingCode
YesInvoiceAutoNumberingTableEntity
NumberSequenceCodeCode of the number sequence used.String
NumberSequenceCode
YesInvoiceAutoNumberingTableEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
SalesPurchModule the numbering applies to, such as sales, purchase, inventory, project or fixed assets.Enum
DocNumberingModule_W (enum)
YesInvoiceAutoNumberingTableEntity
SearchContinueYes or no flag labelled Continue. Its exact effect is not stated.low confidenceEnum
NoYesId
NoYes (enum)
NoInvoiceAutoNumberingTableEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • UserGroups → UserGroupInfo

    Join on InvoiceAllGroupUser = LtInvoiceAllGroupUser::GroupId, InvoiceUserGroupId = UserGroupInfo.id

    Many LtInvoiceAutoNumberingTable records → zero or one UserGroupInfo record

  • Users → UserInfo

    Join on InvoiceUserGroupId = UserInfo.id, InvoiceAllGroupUser = LtInvoiceAllGroupUser::User

    Many LtInvoiceAutoNumberingTable records → zero or one UserInfo record

Get this data out

Tables are not exposed directly. These public entities read from LtInvoiceAutoNumberingTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk