COSLedgerReference::findMainAccountByCostCategory Method
Gets the main account based on the specified cost category.
Syntax
client server public static MainAccount findMainAccountByCostCategory(COSLedgerAccount _costCategoryNumber)
Run On
Called
Parameters
- _costCategoryNumber
Type: COSLedgerAccount Extended Data Type
The ID of the cost category.
Return Value
Type: MainAccount Table
A main account record.