Share via


LedgerPostingCollection.getCollection Method [AX 2012]

Gets the collection specific to the legal entity, ledger category, and custom qualifier.

Syntax

public Object getCollection(
    CompanyId _legalEntity, 
    OperationsTax _ledgerCategory, 
   [RecId _customQualifier])

Run On

Called

Parameters

Return Value

Type: Object Class
A collection specific to the legal entity and ledger category.

Remarks

The value returned may be null Nothing nullptr unit a null reference (Nothing in Visual Basic) . Use the getCollectionForAdd method if an initialized collection is preferred.

See Also

Reference

LedgerPostingCollection Class