TAMDeduction::findByLedgerJournalTransRecId Method

Finds the specified record in the TAMDeduction table.

Syntax

client server public static TAMDeduction findByLedgerJournalTransRecId(LedgerJournalTransRefRecId _ledgerJournalTransRefRecId, [boolean _forUpdate])

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    A Boolean value that indicates whether to read the record for update; optional.

Return Value

Type: TAMDeduction Table
A record in TAMDeduction; otherwise, an empty record.

Remarks

The method is to be used in the scenario where uniqueness of LedgerJournalTransRefRecId is guaranteed. For example, when updating a credit amount on a LedgerJournalTrans line on a payment journal. The associated TAMDeduction entry should also be updated in this scenario.

See Also

Reference

TAMDeduction Table