Share via


BankDocumentPosting::findByCodeAndRelation Method

Finds the specified record in the BankDocumentFacilityGroup table by using the specified account code and account relation.

Syntax

server public static BankDocumentPosting findByCodeAndRelation(
    BankDocumentAccountCode _bankDocumentAccountCode, 
   [BankDocumentAccountRelationRefRecId _bankDocumentAccountRelationRefRecId, 
    boolean _forUpdate])

Run On

Server

Parameters

Return Value

Type: BankDocumentPosting Table
A record in the BankDocumentPosting table; otherwise, an empty record.

Remarks

The _ bankDocumentAccountRelationRefRecId parameter can be a reference record ID to a facility type or a group.

See Also

Reference

BankDocumentPosting Table