PdsMRCItemCAS::checkExist Method
Returns true if a record exists that has the same itemId and CASNumber values; otherwise, returns false and displays an error.
Syntax
client server public static boolean checkExist(ItemId _itemId, PdsMRCCASNumber _casNumber)
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
The ItemId value to search for.
- _casNumber
Type: PdsMRCCASNumber Extended Data Type
The CASNumber value to search for.
Return Value
Type: boolean
The result of the search for a record that has corresponding itemId and CASNumber values.
Remarks
public static boolean checkExist(ItemId , PdsMRCCASNumber )
Examples
boolean ret; ret = MRCItemCAS::checkExist(itemId, casNumber);