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
- _bankDocumentAccountCode
Type: BankDocumentAccountCode Extended Data Type
- _bankDocumentAccountRelationRefRecId
Type: BankDocumentAccountRelationRefRecId Extended Data Type
- _forUpdate
Type: boolean
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.