IsValidUnitTypeId

Summary

The IsValidUnitTypeId function checks whether the input parameter corresponds to a valid unit_type_id value inxactly.xc_unit_type table.

Syntax

IsValidUnitTypeId(<numeric>)

Return Type

Boolean

Details

The function returns true or false.

Examples

eval IsValidUnitTypeId(1234);

select amount_unit_type_id,
IsValidUnitTypeId(amount_unit_type_id)
from xactly.xc_payment
limit 10;

Related Functions

LookupUnitTypeIdByName

LookupUnitTypeNameById

IsValidUnitTypeName

LookupOrderStageUnitTypeIdByOrderCodeItemCode