PBAEnterprisePortalMain.str2PBAValue Method [AX 2012]

Converts a string assignment value to a specified type.

protected anytype str2PBAValue(str _value, Types _type)

Run On

Server

Parameters

_value
Type: str
A string representation of the value.
_type
Type: Types Enumeration
The type of the associated value.

Return Value

Type: anytype
A specified type with the correct conversion of the value.

ExceptionCondition
Error

The input type is not a type that is supported by the Product Builder.

Community Additions

ADD
Show: