LogisticsPostalAddress::element2fieldId Method
Determines the corresponding field ID by using the element type.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static FieldId element2fieldId(LogisticsAddressElement _element, [LogisticsAddressCountryRegionId _countryRegionId])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static FieldId element2fieldId(LogisticsAddressElement _element, [LogisticsAddressCountryRegionId _countryRegionId])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static FieldId element2fieldId(LogisticsAddressElement _element)
Microsoft Dynamics AX 2012 (FPK)
client server public static FieldId element2fieldId(LogisticsAddressElement _element)
Microsoft Dynamics AX 2012 (SYS)
client server public static FieldId element2fieldId(LogisticsAddressElement _element)
Run On
Called
Parameters
- _element
Type: LogisticsAddressElement Enumeration
An LogisticsAddressElement enumeration type.
- _countryRegionId
Type: LogisticsAddressCountryRegionId Extended Data Type
Return Value
Type: FieldId Extended Data Type
A field ID of the corresponding element.
Remarks
This method is used to manage the visibility of fields in the LogisticsPostalAddress form.