smmContactPersonSynchronizeFieldMapping::checkLocationExists Method
Checks whether the corresponding smmContactPersonSynchronizeFieldMapping record exist based on the userId, contactPersonId, and location.
Syntax
client server public static boolean checkLocationExists(
UserId _userId,
ContactPersonId _contactPersonId,
LogisticsLocationRecId _location,
[RefRecId _recId])
Run On
Called
Parameters
- _userId
Type: UserId Extended Data Type
The UserId value to check.
- _contactPersonId
Type: ContactPersonId Extended Data Type
The ContactPersonId value to check.
- _location
Type: LogisticsLocationRecId Extended Data Type
The LogisticsLocationRecId value to check.
- _recId
Type: RefRecId Extended Data Type
The RefRecId value to check to make sure that it is not its own record
Return Value
Type: boolean
true if the record exists; otherwise, false.