PdsMRCRegulatedCountry::isRegulated Method
Determines whether an item is regulated for a given country or region and state.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static NoYesId isRegulated(
ItemId _itemId,
[AddressCountryRegionId _countryId,
LogisticsAddressStateId _stateId])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static NoYesId isRegulated(
ItemId _itemId,
[AddressCountryRegionId _countryId,
LogisticsAddressStateId _stateId])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static NoYesId isRegulated(
ItemId _itemId,
[AddressCountryRegionId _countryId,
LogisticsAddressStateId _stateId])
Microsoft Dynamics AX 2012 (FPK)
server public static NoYesId isRegulated(
ItemId _itemId,
[AddressCountryRegionId _countryId,
LogisticsAddressStateId _stateId])
Run On
ClientOrServer
Parameters
- _itemId
Type: ItemId Extended Data Type
The ID of the item to check.
- _countryId
Type: AddressCountryRegionId Extended Data Type
The ID of the country or region to check; optional.
- _stateId
Type: LogisticsAddressStateId Extended Data Type
The ID of the state to check; optional.
Return Value
Type: NoYesId Extended Data Type
true if the item is regulated for the given country or region and state, or for any country ro region and state if these parameters are omitted; otherwise, false.