Share via


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

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.

See Also

Reference

PdsMRCRegulatedCountry Table