Share via


LedgerPostingOneToManyCollection.add Method [AX 2012]

Adds the specified pair of values to the collection.

Syntax

public void add(anytype _oneValue, anytype _manyValue)

Run On

Called

Parameters

  • _oneValue
    Type: anytype
    The one value.
  • _manyValue
    Type: anytype
    The many value.

Exceptions

Exception Condition
Error

The many value has already been inserted for the one value and duplicates are not allowed.

See Also

Reference

LedgerPostingOneToManyCollection Class