SubledgerJournalTransferRule::findBestMatchRule Method
Finds the SubledgerJournaltransferRule record that is the best match, depending on the specified source document type and ledger.
Syntax
client server public static SubledgerJournalTransferRule findBestMatchRule(SourceDocumentClassId _sourceDocumentType, LedgerRecId _ledgerRecId)
Run On
Called
Parameters
- _sourceDocumentType
Type: SourceDocumentClassId Extended Data Type
The class ID that is associated with the derived SourceDocumentType field.
- _ledgerRecId
Type: LedgerRecId Extended Data Type
The record ID of the ledger.
Return Value
Type: SubledgerJournalTransferRule Table
A SubledgerJournalTransferRule record.