Table

PSSerialLineTR

Serial number lines

Holds serial number lines for documents such as invoices and packing slips. Each line has a serial number, a prefix and a document type. It refers to a source record by table ID and record ID, and it relates to tables such as customer invoices, journal lines and the E-invoice serial table.

Table name
PSSerialLineTR
Module
Cross-module and platform
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 (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceNumberSerial number given to the document.String (50)
PSInvoiceNumberTR
YesPSSerialLineEntityPSSerialLineEntityV2
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrefixSerial prefix of the number. It refers to the E-invoice serial table together with the document type.String
PSPrefixTR
YesPSSerialTableTR.PrefixPSSerialLineEntityPSSerialLineEntityV2
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
RecordRecIdSystem record ID of the related source record, such as a customer free text invoice.Int64
RefRecId
NoPSSerialLineEntityPSSerialLineEntityV2
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefTableIdID of the table that the related source record is in.Integer
RefTableId
NoPSSerialLineEntityPSSerialLineEntityV2
SerialTypeType of document the serial number is for: invoice or packing slip.Enum
PSSerialTypeTR (enum)
NoPSSerialTableTR.SerialTypePSSerialLineEntityPSSerialLineEntityV2
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (6)

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

  • PSSerialTableTR → PSSerialTableTR

    Join on Prefix = PSSerialTableTR.Prefix, SerialType = PSSerialTableTR.SerialType

    Many PSSerialLineTR records → zero or one PSSerialTableTR record

  • CustInvoiceTable → CustInvoiceTable

    Join on RecordRecId = CustInvoiceTable.RecId, RefTableId = CustInvoiceTable.TableId

    Many PSSerialLineTR records → zero or one CustInvoiceTable record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on RecordRecId = LedgerJournalTrans.RecId, RefTableId = LedgerJournalTrans.TableId

    Many PSSerialLineTR records → zero or one LedgerJournalTrans record

  • PurchPamTable → PurchParmTable

    Join on RecordRecId = PurchParmTable.RecId, RefTableId = PurchParmTable.TableId

    Many PSSerialLineTR records → zero or one PurchParmTable record

  • SalesParmTable → SalesParmTable

    Join on RecordRecId = SalesParmTable.RecId, RefTableId = SalesParmTable.TableId

    Many PSSerialLineTR records → zero or one SalesParmTable record

  • VendInvoiceInfoTable → VendInvoiceInfoTable

    Join on RecordRecId = VendInvoiceInfoTable.RecId, RefTableId = VendInvoiceInfoTable.TableId

    Many PSSerialLineTR records → zero or one VendInvoiceInfoTable record

Get this data out

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

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

Email sales@drdynamics.co.uk