Table

LTMWithholdingSetRoles

LATAM

LATAM table that ties a withholding tax group to a taxpayer type, a state, a country or region and a role (customer or vendor). Each row is unique by those four values.

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

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxPayerTypeIdTaxpayer type the rule applies to.String (15)
LTMTaxPayerTypeId
YesLTMTaxPayerType.TaxPayerTypeIdNone
AddressStateIdState the rule applies to; used with the country or region.String
LogisticsAddressStateId
YesLogisticsAddressState.StateIdNone
AddressCountryRegionIdCountry or region the rule applies to.String
AddressCountryRegionId
YesLogisticsAddressCountryRegion.CountryRegionIdNone
WithholdingSetIDWithholding tax group assigned to this combination.String (30)
LTMWithholdingSetID
YesLTMWithholdingSet.WithholdingSetIDNone
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
RoleWhether the rule is for a customer or a vendor.Enum
LTMRole (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

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

  • AddressCountryRegion → LogisticsAddressCountryRegion

    Join on AddressCountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many LTMWithholdingSetRoles records → zero or one LogisticsAddressCountryRegion record

  • AddressState → LogisticsAddressState

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

    Many LTMWithholdingSetRoles records → exactly one LogisticsAddressState record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Many LTMWithholdingSetRoles records → zero or one LTMTaxPayerType record

  • LTMWithholdingSet → LTMWithholdingSet

    Join on WithholdingSetID = LTMWithholdingSet.WithholdingSetID

    Many LTMWithholdingSetRoles records → zero or one LTMWithholdingSet record

Get this data out

No public entity reads from LTMWithholdingSetRoles. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk