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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SADNumberCodeCode that identifies the document. | String (50)PlSADNumberCode | Yes | PlSADDocumentPurchaseOrderEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyCodeCurrency of the document. Points to a currency record. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | PlSADDocumentPurchaseOrderEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension set. Points to a dimension set record. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | PlSADDocumentPurchaseOrderEntity |
ExchRateExchange rate for the document. | RealExchRate | Yes | PlSADDocumentPurchaseOrderEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostedYes/No flag. Shows whether the document has been posted. | EnumNoYes (enum) | No | PlSADDocumentPurchaseOrderEntity | |
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 | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SADDateDate of the SAD document. | DatePlSADDate | Yes | PlSADDocumentPurchaseOrderEntity | |
SADDutyVendVendor account of the duty government. Points to a vendor record. | String (20)PlSADDutyVend | Yes | VendTable.AccountNum | PlSADDocumentPurchaseOrderEntity |
SADMiscChargMiscellaneous payments amount. Currency not stated in the metadata. | RealPlSADMiscCharg | No | PlSADDocumentPurchaseOrderEntity | |
SADNumberSAD number. | String (15)PlSADNumber | Yes | PlSADDocumentPurchaseOrderEntity | |
SADTransAmountTransport amount. Currency not stated in the metadata. | RealPlSADTransAmount | No | PlSADDocumentPurchaseOrderEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateTransaction date. | DateTransDate | Yes | PlSADDocumentPurchaseOrderEntity | |
VATDueDateDate used for the VAT register. | DateVatDueDate_W | No | PlSADDocumentPurchaseOrderEntity | |
VoucherVoucher number of the document. | String (20)Voucher | No | None |
Indexes (4)
SadCodeIdxPrimary indexReplacement keyUnique, alternate key.
InvoicedIdxNot unique.
SADPostedIdxNot unique.
VoucherDateDutyIdxVoucher,TransDate,SADDutyVendNot unique.
Relations (3)
Each relation joins PlSADTable to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeOne or more PlSADTable records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany PlSADTable records → exactly one DimensionAttributeValueSet record
VendTable→VendTableJoin on
SADDutyVend = VendTable.AccountNumMany 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.
PlSADDocumentPurchaseOrderEntity· 12 fields from this table
Need help with PlSADTable in a report, an integration or a migration? Talk to Dr Dynamics.