COSWorkTrans::existsLedgerRecIdCostCode Method
Checks whether the COSWorkTrans table contains any records for the particular combination of ledger transaction ID and a cost code.
Syntax
client server public static boolean existsLedgerRecIdCostCode(RecId _ledgerRecId, COSCostDimensionCode _costCode)
Run On
Called
Parameters
- _ledgerRecId
Type: RecId Extended Data Type
A ledger transaction record ID.
- _costCode
Type: COSCostDimensionCode Extended Data Type
A cost code.
Return Value
Type: boolean
true if the corresponding COSWorkTrans record exists; otherwise, false.