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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InvoiceNumberSerial number given to the document. | String (50)PSInvoiceNumberTR | Yes | PSSerialLineEntityPSSerialLineEntityV2 | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrefixSerial prefix of the number. It refers to the E-invoice serial table together with the document type. | StringPSPrefixTR | Yes | PSSerialTableTR.Prefix | PSSerialLineEntityPSSerialLineEntityV2 |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecordRecIdSystem record ID of the related source record, such as a customer free text invoice. | Int64RefRecId | No | PSSerialLineEntityPSSerialLineEntityV2 | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefTableIdID of the table that the related source record is in. | IntegerRefTableId | No | PSSerialLineEntityPSSerialLineEntityV2 | |
SerialTypeType of document the serial number is for: invoice or packing slip. | EnumPSSerialTypeTR (enum) | No | PSSerialTableTR.SerialType | PSSerialLineEntityPSSerialLineEntityV2 |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
InvoiceNumberIdxPrefix,SerialType,InvoiceNumber,PartitionUnique, alternate key.
Relations (6)
Each relation joins PSSerialLineTR to another table on the fields shown.
PSSerialTableTR→PSSerialTableTRJoin on
Prefix = PSSerialTableTR.Prefix,SerialType = PSSerialTableTR.SerialTypeMany PSSerialLineTR records → zero or one PSSerialTableTR record
CustInvoiceTable→CustInvoiceTableJoin on
RecordRecId = CustInvoiceTable.RecId,RefTableId = CustInvoiceTable.TableIdMany PSSerialLineTR records → zero or one CustInvoiceTable record
LedgerJournalTrans→LedgerJournalTransJoin on
RecordRecId = LedgerJournalTrans.RecId,RefTableId = LedgerJournalTrans.TableIdMany PSSerialLineTR records → zero or one LedgerJournalTrans record
PurchPamTable→PurchParmTableJoin on
RecordRecId = PurchParmTable.RecId,RefTableId = PurchParmTable.TableIdMany PSSerialLineTR records → zero or one PurchParmTable record
SalesParmTable→SalesParmTableJoin on
RecordRecId = SalesParmTable.RecId,RefTableId = SalesParmTable.TableIdMany PSSerialLineTR records → zero or one SalesParmTable record
VendInvoiceInfoTable→VendInvoiceInfoTableJoin on
RecordRecId = VendInvoiceInfoTable.RecId,RefTableId = VendInvoiceInfoTable.TableIdMany 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.
PSSerialLineEntity· 5 fields from this tablePSSerialLineEntityV2· 5 fields from this table
Need help with PSSerialLineTR in a report, an integration or a migration? Talk to Dr Dynamics.