Share via


LedgerTmpAccountCategoryLink.save Method

Saves changes back to the MainAccount table by updating the account category on each ledger account to the one specified if it is checked or by removing the current category if it is unchecked.

Syntax

public boolean save(
    AccountCategoryRef _accountCategoryRefToAssign, 
    AccountCategory _accountCategoryName, 
   [RecId _currentLedgerCOARecId])

Run On

Called

Parameters

  • _currentLedgerCOARecId
    Type: RecId Extended Data Type
    The LedgerChartOfAccounts record id related to the main account.

Return Value

Type: boolean
true if the save process was successful; otherwise, false.

Remarks

The save process can fail (save method returns false) if the account category has been deleted or closed.

See Also

Reference

LedgerTmpAccountCategoryLink Table