Table

LTMWithholdingSetRolesV2

LATAM

Assigns a withholding set by taxpayer type, state and country/region, and records whether the role is customer or vendor. The key is made of taxpayer type, state, country/region and withholding set. It links to LTMTaxPayerType and LTMWithholdingSet.

Table name
LTMWithholdingSetRolesV2
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
LTMWithholdingSetRolesIdx
Key fields
TaxPayerTypeId, AddressStateId, AddressCountryRegionId, WithholdingSetID
Model
GlobalizationLTM

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxPayerTypeIdTaxpayer type the row applies to.String (15)
LTMTaxPayerTypeId
YesLTMTaxPayerType.TaxPayerTypeIdLTMWithholdingSetRolesV2Entity
AddressStateIdState of the location, within the chosen country or region.String
LogisticsAddressStateId
NoLogisticsAddressState.StateIdLTMWithholdingSetRolesV2Entity
AddressCountryRegionIdCountry or region of the location.String
AddressCountryRegionId
YesLogisticsAddressCountryRegion.CountryRegionIdLTMWithholdingSetRolesV2Entity
WithholdingSetIDWithholding tax group assigned by this row.String (30)
LTMWithholdingSetID
NoLTMWithholdingSet.WithholdingSetIDLTMWithholdingSetRolesV2Entity
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
RoleSays whether the row applies to a customer or a vendor.Enum
LTMRole (enum)
NoLTMWithholdingSetRolesV2Entity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

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

  • AddressCountryRegion → LogisticsAddressCountryRegion

    Join on AddressCountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many LTMWithholdingSetRolesV2 records → zero or one LogisticsAddressCountryRegion record

  • AddressState → LogisticsAddressState

    Join on AddressStateId = LogisticsAddressState.StateId, AddressCountryRegionId = LogisticsAddressState.CountryRegionId

    Many LTMWithholdingSetRolesV2 records → exactly one LogisticsAddressState record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Many LTMWithholdingSetRolesV2 records → zero or one LTMTaxPayerType record

  • LTMWithholdingSet → LTMWithholdingSet

    Join on WithholdingSetID = LTMWithholdingSet.WithholdingSetID

    Many LTMWithholdingSetRolesV2 records → zero or one LTMWithholdingSet record

Get this data out

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

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

Email sales@drdynamics.co.uk