AxdBase.getSurrogateForeignKeyValue Method [AX 2012]

Translates the surrogate foreign key replacement value from the xml document into a surrogate foreign key value.

Syntax

public RecId getSurrogateForeignKeyValue(AxdBaseProperty _axdBaseProperty, Struct _sfkReplacementValue)

Run On

Server

Parameters

  • _axdBaseProperty
    Type: AxdBaseProperty Class
    The property descriptor for the dimension value to translate.
  • _sfkReplacementValue
    Type: Struct Class
    The surrogate foreign key replacement value to translate.

Return Value

Type: RecId Extended Data Type
The dimension ID.

Remarks

This method can be overridden in order to control the process of translation of dimension value from xml document to dimension ID stored in tables.

See Also

Reference

AxdBase Class