DirPartyLocation::findByPartyLocationRoleType Method
Finds an existing DirPartyLocation record, based on the party and location role.
Syntax
client server public static DirPartyLocation findByPartyLocationRoleType(
DirPartyRecId _party,
LogisticsLocationRoleType _role,
[LogisticsLocationIsPostal _isPostal,
boolean _forupdate])
Run On
Called
Parameters
- _party
Type: DirPartyRecId Extended Data Type
The DirPartyRecId value.
- _role
Type: LogisticsLocationRoleType Enumeration
The LogisticsLocationRoleType value.
- _isPostal
Type: LogisticsLocationIsPostal Extended Data Type
A Boolean value that indicates whether the record is a postal address.
- _forupdate
Type: boolean
A Boolean value that indicates whether to select the record for update.
Return Value
Type: DirPartyLocation Table
The DirPartyLocation record.