PdsMRCRestrictedListByItem::checkItemRestrictedForState Method
Indicates whether an item is restricted in a country or region, and state.
Syntax
client server public static boolean checkItemRestrictedForState(
AddressCountryRegionId _countryId,
AddressStateId _stateId,
ItemId _itemId)
Run On
Called
Parameters
- _countryId
Type: AddressCountryRegionId Extended Data Type
The ID of the country or region to check.
- _stateId
Type: AddressStateId Extended Data Type
The ID of the state to check.
- _itemId
Type: ItemId Extended Data Type
The ID of the item to check.
Return Value
Type: boolean
true if the item is restricted in a country or region and state; otherwise, false.