TaxRegistrationTypeApplicabilityRule::createTaxRegistrationTypeRules Method
Creates a record in the TaxRegistrationType table that is based on the specified information.
Syntax
client server public static RefRecId createTaxRegistrationTypeRules(
TaxRegistrationTypeId _taxRegistrationTypeId,
LogisticsAddressCountryRegionId _countryRegionId,
PartyTypeRestriction _partyTypeRestriction,
NoYes _isRegistrationNumberUnique,
NoYes _isRegistrationNumberUpdateable,
[NoYes _isPimaryAddressRestricted])
Run On
Called
Parameters
- _taxRegistrationTypeId
Type: TaxRegistrationTypeId Extended Data Type
The ID of the TaxRegistrationType table.
- _countryRegionId
Type: LogisticsAddressCountryRegionId Extended Data Type
The country ID of the tax rule record.
- _partyTypeRestriction
Type: PartyTypeRestriction Enumeration
The party type restriction of the tax rule record.
- _isRegistrationNumberUnique
Type: NoYes Enumeration
The indicator if the tax number has to be unique.
- _isRegistrationNumberUpdateable
Type: NoYes Enumeration
The indicator if the tax number can be updated.
- _isPimaryAddressRestricted
Type: NoYes Enumeration
Return Value
Type: RefRecId Extended Data Type
The record ID of the created record.