DirPartyLocation::create Method
Creates a record in the DirPartyLocation table.
Syntax
client server public static DirPartyLocation create(
DirPartyRecId _party,
LogisticsLocationRecId _location,
[boolean _isPostal,
boolean _isPrimary])
Run On
Called
Parameters
- _party
Type: DirPartyRecId Extended Data Type
The party record ID.
- _location
Type: LogisticsLocationRecId Extended Data Type
The location record ID.
- _isPostal
Type: boolean
A Boolean value that indicates whether the location is a postal address.
- _isPrimary
Type: boolean
A Boolean value that indicates whether the location is primary for the party. This parameter is not applicable if _isPostal is false.
Return Value
Type: DirPartyLocation Table
The DirPartyLocation record that was created.