Table

TaxReport347Tenants

Declaration 347 tenants

Tenant lines of a Declaration 347 report. Each line holds a property reference, address details, an amount and a location code. It links to the declaration header and to an address abbreviation. The key is the declaration plus the property reference.

Table name
TaxReport347Tenants
Module
Tax
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
RecId
Replacement key
YrPropRefIdx
Key fields
TaxReport347Table, PropertyReference
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxReport347TablePoints to the Declaration 347 header this line belongs to.Int64
TaxReport347TableRecId
YesTaxReport347Table.RecIdNone
PropertyReferenceReference of the estate or property.String (25)
TaxRep347PropertyRef
YesTaxReport347Entity
AmountAmount reported for the tenant or property (in accounting currency).Real
TaxRep347PositiveAmountMST
YesTaxReport347Entity
CityCity of the property address.String (60)
AddressCity
YesTaxReport347Entity
CountryRegionIdCountry or region of the address.String
AddressCountryRegionId
YesLogisticsAddressCountryRegion.CountryRegionIdTaxReport347Entity
CountyIdCounty of the address.String (30)
AddressCountyId
NoTaxReport347Entity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DoorDoor number in the address.String (3)
TaxRep347Door
NoTaxReport347Entity
EntranceEntrance in the address.String (3)
TaxRep347Entrance
NoTaxReport347Entity
FloorFloor in the address.String (3)
TaxRep347Floor
NoTaxReport347Entity
NameName of the tenant.String (40)
TaxRep34XName
YesTaxReport347Entity
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
SituationCodeLocation code of the building or property. Used for Spain.Enum
TaxReportSituationCode_ES (enum)
NoTaxReport347Entity
StreetNameStreet name in the address.String (60)
StreetName
YesTaxReport347Entity
StreetNumStreet number in the address.Integer
StreetNum
NoTaxReport347Entity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxRep347AddressAbbrevPoints to the address abbreviation used on this line.Int64
RefRecId
NoTaxRep347AddressAbbrev.RecIdTaxReport347Entity
VATNumTax exempt number of the tenant.String (20)
VATNum
YesNone
ZipCodeZIP or postal code of the address.String
LogisticsAddressZipCodeId
NoTaxReport347Entity

Indexes (3)

Relations (6)

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

  • AddressCounty → LogisticsAddressCounty

    Join on CountyId = LogisticsAddressCounty.CountyId, CountryRegionId = LogisticsAddressCounty.CountryRegionId

    Many TaxReport347Tenants records → zero or one LogisticsAddressCounty record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many TaxReport347Tenants records → exactly one LogisticsAddressCountryRegion record

  • LogisticsAddressZipCode → LogisticsAddressZipCode

    Join on ZipCode = LogisticsAddressZipCode.ZipCode

    Many TaxReport347Tenants records → zero or one LogisticsAddressZipCode record

  • TaxRep347AddressAbbrev → TaxRep347AddressAbbrev

    Join on TaxRep347AddressAbbrev = TaxRep347AddressAbbrev.RecId

    Many TaxReport347Tenants records → zero or one TaxRep347AddressAbbrev record

  • TaxReport347Table → TaxReport347Table

    Join on TaxReport347Table = TaxReport347Table.RecId

    Many TaxReport347Tenants records → exactly one TaxReport347Table record

  • TaxReport347Trans → TaxReport347Trans

    Join on TaxReport347Trans.Rent = 1, TaxReport347Trans.OperationKey = TaxRep347OperationKey::Sales, TaxReport347Table = TaxReport347Trans.TaxReport347Table, VATNum = TaxReport347Trans.VATNum

    Zero or one TaxReport347Tenants record → exactly one TaxReport347Trans record

Get this data out

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

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

Email sales@drdynamics.co.uk