Data entity

PSSerialTableEntity

Holds e-invoice serial setup used for Turkey. Each record is keyed by serial prefix and serial type. It also holds the serial format, fiscal year, number of digits, document type and number sequence group. A default prefix flag is included.

Entity name
PSSerialTableEntity
Public entity name
PSSerialTable
OData collection
PSSerialTables
Category
Parameters
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
Prefix, SerialType
Staging table
PSSerialTableStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PSSerialTables
Dataverse virtual table
mserp_psserialtableentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • PSSerialTableTR · root

Fields (8)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
DigitNumber of digits in the serial number.Integer
Integer
NoYesPSSerialTableTR.Digit
FinancialYearFiscal year that the serial setup applies to.String
String10
NoYesPSSerialTableTR.FinancialYear
FormatNamePoints to the serial format (PSFormatTableTR) that the series uses.String (20)
PSFormatNameTR
NoYesPSFormatTableTR.FormatNamePSSerialTableTR.FormatName
InvoiceTypeKind of serial: preprinted invoice, e-invoice, e-archive, preprinted packing slip or e-packing slip.Enum
PSInvoiceTypeTR
  • Invoice 0
  • EInvoice 1
  • EArchive 2
  • PackingSlip 3
  • EPackingSlip 4
NoYesPSSerialTableTR.InvoiceType
PrefixCharacters at the start of the serial number.String
PSPrefixTR
YesYesPSSerialTableTR.Prefix
SerialTypeType of document the series is for: invoice or packing slip.Enum
PSSerialTypeTR
  • Invoice 0
  • PackingSlip 1
NoYesPSSerialTableTR.SerialType
IsDefaultPrefixShows whether this prefix is the default one (yes or no).Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesPSSerialTableTR.IsDefaultPrefix
NumberSequenceGroupIdPoints to the number sequence group linked to this series.String
NumberSequenceGroupId
YesYesNumberSequenceGroup.numberSequenceGroupIdPSSerialTableTR.NumberSequenceGroupId

Foreign keys (2)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • FormatName → PSFormatTableTR.FormatName (key of PSFormatTableTR)

    Many PSSerialTableTR records → zero or one PSFormatTableTR record

    PSFormatTableTR details: see PSFormatTableEntity

  • NumberSequenceGroupId → NumberSequenceGroup.numberSequenceGroupId (key of NumberSequenceGroup)

    One or more PSSerialTableTR records → exactly one NumberSequenceGroup record

    NumberSequenceGroup details: see NumberSequenceGroupEntity

Need help with PSSerialTableEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk