Table

PlSADTrans

Lines to SAD document

Holds the lines of a SAD document. The key is the document code and the line position. Each line has a base amount, duty and excise amounts, a SAD group and sales tax details.

Table name
PlSADTrans
Module
Accounts receivable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
SADLineNumberIdx
Key fields
SADNumberCode, SADLineNo
Model
Foundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SADNumberCodeCode of the SAD document that the line belongs to. Points to a SAD document record.String (50)
PlSADNumberCode
YesPlSADTable.SADNumberCodePlSADDocumentLinePurchaseOrderEntity
SADLineNoPosition number of the line.Integer
PlSADLineNo
YesPlSADDocumentLinePurchaseOrderEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension set for the line. Points to a dimension set record.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdPlSADDocumentLinePurchaseOrderEntity
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
SADBaseAmountBase amount used for the SAD line.Real
PlSADBaseAmount
NoPlSADDocumentLinePurchaseOrderEntity
SADDutyAmount1Duty amount for the line.Real
PlSADDutyAmount1
NoPlSADDocumentLinePurchaseOrderEntity
SADDutyAmount2Excise amount for the line.Real
PlSADDutyAmount2
NoPlSADDocumentLinePurchaseOrderEntity
SADRateCodeSAD group of the line. Points to a duty rate group record.String
PlSADRateCode
NoPlSADRateGroup.SADRateCodePlSADDocumentLinePurchaseOrderEntity
SADTransAmountTransport amount for the line.Real
PlSADTransAmount
NoPlSADDocumentLinePurchaseOrderEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount for the line.Real
TaxAmount
NoPlSADDocumentLinePurchaseOrderEntity
TaxCodeSales tax code for the line. Points to a sales tax code record.String
TaxCode
NoTaxTable.TaxCodePlSADDocumentLinePurchaseOrderEntity
TaxGroupSales tax group for the line. Points to a sales tax group record.String
TaxGroup
NoTaxGroupHeading.TaxGroupPlSADDocumentLinePurchaseOrderEntity
TaxItemGroupItem sales tax group for the line.String
TaxItemGroup
NoPlSADDocumentLinePurchaseOrderEntity
TransAndMiscChargAmount for transport and miscellaneous charges.Real
Amount
NoNone

Indexes (2)

Relations (5)

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

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many PlSADTrans records → exactly one DimensionAttributeValueSet record

  • PlSADRateGroup → PlSADRateGroup

    Join on SADRateCode = PlSADRateGroup.SADRateCode

    Many PlSADTrans records → exactly one PlSADRateGroup record

  • PlSADTable → PlSADTable

    Join on SADNumberCode = PlSADTable.SADNumberCode

    Many PlSADTrans records → exactly one PlSADTable record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many PlSADTrans records → exactly one TaxTable record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many PlSADTrans records → zero or one TaxGroupHeading record

Get this data out

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

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

Email sales@drdynamics.co.uk