Share via


PdsCWValidation::reverseFieldMap Method [AX 2012]

Reverses a typical field map.

Syntax

client server public static Map reverseFieldMap(Map _fieldIds)

Run On

Called

Parameters

  • _fieldIds
    Type: Map Class
    A field map ordinarily used by the PdsCWValidation class.

Return Value

Type: Map Class
The reversed field map.

Remarks

As the map ordinarily used by the catch weight validation class is keyed on the field ID of the catch weight field, finding a pair based on the field ID of the regular quantity field would require a scan of the map.This method creates a field map that is keyed on the field ID of the regular quantity field from a map that is keyed on the catch weight quantity field.

See Also

Reference

PdsCWValidation Class