Table

PlSADPurchTable

Purchases for SAD

Links purchase orders to SAD documents. It is used for Poland. Each record is keyed by the purchase order number and points to one record in the SAD documents table.

Table name
PlSADPurchTable
Module
Accounts receivable
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
PurchIdIdx
Replacement key
None
Key fields
PurchId
Model
Foundation

Fields (7)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchIdPurchase order that is linked to the SAD document.String (20)
PurchId
YesPurchTable.PurchIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
SADNumberCodeCode of the SAD document that the purchase order is linked to.String (50)
PlSADNumberCode
NoPlSADTable.SADNumberCodeNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • PurchIdIdxPrimary index

    PurchId

    Unique, alternate key.

Relations (2)

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

  • PlSADTable → PlSADTable

    Join on SADNumberCode = PlSADTable.SADNumberCode

    Many PlSADPurchTable records → exactly one PlSADTable record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Exactly one PlSADPurchTable record → exactly one PurchTable record

Get this data out

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

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

Email sales@drdynamics.co.uk