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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxPayerTypeIdTaxpayer type the rule applies to. | String (15)LTMTaxPayerTypeId | Yes | LTMTaxPayerType.TaxPayerTypeId | None |
AddressStateIdState the rule applies to; used with the country or region. | StringLogisticsAddressStateId | Yes | LogisticsAddressState.StateId | None |
AddressCountryRegionIdCountry or region the rule applies to. | StringAddressCountryRegionId | Yes | LogisticsAddressCountryRegion.CountryRegionId | None |
WithholdingSetIDWithholding tax group assigned to this combination. | String (30)LTMWithholdingSetID | Yes | LTMWithholdingSet.WithholdingSetID | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RoleWhether the rule is for a customer or a vendor. | EnumLTMRole (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
LTMWithholdingSetRolesIdxPrimary indexReplacement keyTaxPayerTypeId,AddressStateId,AddressCountryRegionId,WithholdingSetIDUnique, alternate key.
Relations (4)
Each relation joins LTMWithholdingSetRoles to another table on the fields shown.
AddressCountryRegion→LogisticsAddressCountryRegionJoin on
AddressCountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany LTMWithholdingSetRoles records → zero or one LogisticsAddressCountryRegion record
AddressState→LogisticsAddressStateJoin on
AddressStateId = LogisticsAddressState.StateId,AddressCountryRegionId = LogisticsAddressState.CountryRegionIdMany LTMWithholdingSetRoles records → exactly one LogisticsAddressState record
LTMTaxPayerType→LTMTaxPayerTypeJoin on
TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeIdMany LTMWithholdingSetRoles records → zero or one LTMTaxPayerType record
LTMWithholdingSet→LTMWithholdingSetJoin on
WithholdingSetID = LTMWithholdingSet.WithholdingSetIDMany 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.