Table

PlSADFinanceLines

Lines to SAD document

Holds the lines of a ledger SAD document, used for Poland. Each line is keyed by SAD date, SAD number and line number. It stores base amount, duty and excise rates, and sales tax details.

Table name
PlSADFinanceLines
Module
Accounts receivable
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
SADLinesIdx
Replacement key
None
Key fields
SADDate, SADNumber, SADLineNo
Model
Foundation

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SADDateDate of the SAD document.Date
PlSADDate
NoPlSADFinanceTable.SADDatePlSADDocumentLineLedgerJournalEntity
SADNumberNumber of the SAD document.String (15)
PlSADFinanceNumber
YesPlSADFinanceTable.SADNumberPlSADDocumentLineLedgerJournalEntity
SADLineNoPosition number of the line within the SAD document.Integer
PlSADLineNo
YesPlSADDocumentLineLedgerJournalEntity
Calculate1Amount value on the line. The label is generic.low confidenceReal
Amount
NoNone
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
SADBaseAmountBase amount on which the SAD calculation is made.Real
PlSADBaseAmount
NoPlSADDocumentLineLedgerJournalEntity
SADDuty1RateRate of duty for the line.Real
PlSADDuty1Rate
NoPlSADDocumentLineLedgerJournalEntity
SADDuty2RateRate of excise for the line.Real
PlSADDuty2Rate
NoPlSADDocumentLineLedgerJournalEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount on the line.Real
TaxAmount
NoPlSADDocumentLineLedgerJournalEntity
TaxCodeSales tax code applied to the line.String
TaxCode
NoTaxTable.TaxCodePlSADDocumentLineLedgerJournalEntity
TaxGroupSales tax group applied to the line.String
TaxGroup
NoTaxGroupHeading.TaxGroupPlSADDocumentLineLedgerJournalEntity
TaxItemGroupItem sales tax group applied to the line.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupPlSADDocumentLineLedgerJournalEntity

Indexes (1)

Relations (4)

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

  • SADHeader → PlSADFinanceTable

    Join on SADDate = PlSADFinanceTable.SADDate, SADNumber = PlSADFinanceTable.SADNumber

    Many PlSADFinanceLines records → exactly one PlSADFinanceTable record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many PlSADFinanceLines records → exactly one TaxTable record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many PlSADFinanceLines records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many PlSADFinanceLines records → zero or one TaxItemGroupHeading record

Get this data out

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

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

Email sales@drdynamics.co.uk