Share via


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

  • _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.

Return Value

Type: AccountantLogisticsLocation_BR Table
An AccountantLogisticsLocation_BR record.

See Also

Reference

AccountantLogisticsLocation_BR Table