Share via


ReqCalcRecordCache.insertKey Method [AX 2012]

Inserts a key and value pair into the cache.

Syntax

protected boolean insertKey(container _key, Common _common)

Run On

Called

Parameters

  • _key
    Type: container
    A container that represents the key.
  • _common
    Type: Common Table
    A Common record that represents the value.

Return Value

Type: boolean
true if the key and value pair was inserted; otherwise, false.

Exceptions

Exception Condition
Error

The cache is restricted to hold a specific type of record and the operation was called with an invalid record.

See Also

Reference

ReqCalcRecordCache Class