AccountantLogisticsLocation_BR::findOrCreate Method
Finds an existing AccountantLogisticsLocation_BR record, based on the accountant and location. If a record is not found, it is created.
Syntax
server public static AccountantLogisticsLocation_BR findOrCreate(
RefRecId _accountant,
LogisticsLocationRecId _location,
[boolean _isPostal,
boolean _forupdate,
LogisticsLocationRecId _parentLocation])
Run On
Server
Parameters
- _accountant
Type: RefRecId Extended Data Type
A RefRecId value.
- _location
Type: LogisticsLocationRecId Extended Data Type
A LogisticsLocationRecId value.
- _isPostal
Type: boolean
true if the record is a postal address; otherwise, false.
- _forupdate
Type: boolean
true if the record is for update; otherwise, false.
- _parentLocation
Type: LogisticsLocationRecId Extended Data Type
A LogisticsLocationRecId parent location value.
Return Value
Type: AccountantLogisticsLocation_BR Table
An AccountantLogisticsLocation_BR record.