Table

PlSADTable

SAD documents table

Holds SAD document headers. The key is the document code. Each header has a SAD number, dates, currency and exchange rate, a duty vendor, transport and miscellaneous amounts, a voucher and a posted flag.

Table name
PlSADTable
Module
Accounts receivable
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
SadCodeIdx
Replacement key
SadCodeIdx
Key fields
SADNumberCode
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SADNumberCodeCode that identifies the document.String (50)
PlSADNumberCode
YesPlSADDocumentPurchaseOrderEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency of the document. Points to a currency record.String (3)
CurrencyCode
YesCurrency.CurrencyCodePlSADDocumentPurchaseOrderEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension set. Points to a dimension set record.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdPlSADDocumentPurchaseOrderEntity
ExchRateExchange rate for the document.Real
ExchRate
YesPlSADDocumentPurchaseOrderEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostedYes/No flag. Shows whether the document has been posted.Enum
NoYes (enum)
NoPlSADDocumentPurchaseOrderEntity
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
SADDateDate of the SAD document.Date
PlSADDate
YesPlSADDocumentPurchaseOrderEntity
SADDutyVendVendor account of the duty government. Points to a vendor record.String (20)
PlSADDutyVend
YesVendTable.AccountNumPlSADDocumentPurchaseOrderEntity
SADMiscChargMiscellaneous payments amount. Currency not stated in the metadata.Real
PlSADMiscCharg
NoPlSADDocumentPurchaseOrderEntity
SADNumberSAD number.String (15)
PlSADNumber
YesPlSADDocumentPurchaseOrderEntity
SADTransAmountTransport amount. Currency not stated in the metadata.Real
PlSADTransAmount
NoPlSADDocumentPurchaseOrderEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateTransaction date.Date
TransDate
YesPlSADDocumentPurchaseOrderEntity
VATDueDateDate used for the VAT register.Date
VatDueDate_W
NoPlSADDocumentPurchaseOrderEntity
VoucherVoucher number of the document.String (20)
Voucher
NoNone

Indexes (4)

Relations (3)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    One or more PlSADTable records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many PlSADTable records → exactly one DimensionAttributeValueSet record

  • VendTable → VendTable

    Join on SADDutyVend = VendTable.AccountNum

    Many PlSADTable records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk